using Khaemhat.Core.Entities; namespace Khaemhat.Core.Instance; /// An instance setting (sys_settings). Secret values are stored encrypted (). public sealed class SystemSetting : Entity { /// The setting key, for example smtp.host. public string Key { get; set; } = string.Empty; /// The value; encrypted when is set. public string? Value { get; set; } /// Whether is a secret encrypted with the instance key. public bool IsSecret { get; set; } }