app/BTCPayApp.Core/Data/Setting.cs
2024-07-29 13:39:12 +02:00

18 lines
349 B
C#

using System.ComponentModel.DataAnnotations;
namespace BTCPayApp.Core.Data;
public class Setting:VersionedData
{
[Key]
public string Key { get; set; }
public byte[] Value { get; set; }
public bool Backup { get; set; } = true;
public override string EntityKey
{
get => $"Setting_{Key}";
init { }
}
}