Added setting entity
This commit is contained in:
1 file changed
+19
@@ -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; }
|
||||||
|
}
|
||||||
Reference in new issue
Block a user