Обновление моделей Templates, Works, Hosts, Settings
This commit is contained in:
19
PARR.DAL/Models/Setting.cs
Normal file
19
PARR.DAL/Models/Setting.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace PARR.DAL.Models
|
||||
{
|
||||
[Table("Setting")]
|
||||
public class Setting
|
||||
{
|
||||
[Key]
|
||||
public required string Name { get; set; }
|
||||
|
||||
public required string Description { get; set; }
|
||||
|
||||
//SettingsTypesEnum
|
||||
public required string Type { get; set; }
|
||||
|
||||
public required string Value { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user