Added setting entity
This commit is contained in:
parent
89a4a8eab3
commit
8c82f2608e
19
I18N Commander/DataModel/Database/Setting.cs
Normal file
19
I18N Commander/DataModel/Database/Setting.cs
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
|
namespace DataModel.Database;
|
||||||
|
|
||||||
|
public class Setting
|
||||||
|
{
|
||||||
|
[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; }
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user