Added setting entity

This commit is contained in:
Thorsten Sommer 2022-06-12 17:15:09 +02:00
parent 89a4a8eab3
commit 8c82f2608e
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

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