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