using HrynCo.NotificationService.DAL.Abstract.Entities; using HrynCo.NotificationService.DAL.Abstract.Providers; namespace HrynCo.NotificationService.DAL.EF.Entities; internal class ProviderEntity : Entity { public required string ServiceName { get; set; } public int Priority { get; set; } public ProviderType ProviderType { get; set; } /// /// Provider-specific credentials and settings stored as JSONB. /// Deserialized based on in the repository. /// public required string SettingsJson { get; set; } public int? DailyLimit { get; set; } public int? MonthlyLimit { get; set; } public int WarnThresholdPercent { get; set; } public bool IsActive { get; set; } }