namespace CMSMicroservice.Domain.Entities.Configuration; /// /// تنظیمات پویای سیستم - قابل تغییر بدون Deployment /// public class SystemConfiguration : BaseAuditableEntity { /// /// محدوده تنظیمات (System, Network, Club, Commission) /// public ConfigurationScope Scope { get; set; } /// /// کلید تنظیم (مثلاً "MaxWeeklyBalancesPerUser") /// public string Key { get; set; } /// /// مقدار به‌صورت رشته (تفسیر در Application Layer) /// public string Value { get; set; } /// /// نوع داده برای Validation و UI (Int/Decimal/Bool/String/Json) /// public string? DataType { get; set; } /// /// توضیحات برای ادمین /// public string? Description { get; set; } /// /// فعال یا غیرفعال /// public bool IsActive { get; set; } /// /// SystemConfigurationHistory Collection Navigation Reference /// public virtual ICollection? SystemConfigurationHistories { get; set; } }