Обновление моделей Templates, Works, Hosts, Settings

This commit is contained in:
Mikhail Trubnikov
2023-09-19 12:17:05 +10:00
parent 4cde851a33
commit 943c18e707
14 changed files with 1971 additions and 347 deletions

View 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; }
}
}