2022-06-12 15:15:09 +00:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace DataModel.Database;
|
|
|
|
|
|
2022-06-12 19:42:47 +00:00
|
|
|
|
public sealed class Setting
|
2022-06-12 15:15:09 +00:00
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
public string TextValue { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
public bool BoolValue { get; set; }
|
|
|
|
|
|
|
|
|
|
public int IntegerValue { get; set; }
|
|
|
|
|
|
|
|
|
|
public Guid GuidValue { get; set; }
|
|
|
|
|
}
|