using HrynCo.NotificationService.DAL.Abstract.Providers; namespace HrynCo.NotificationService.DAL.EF.Entities; internal class ProviderEntity { public Guid Id { get; set; } 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; } public DateTimeOffset Created { get; set; } public DateTimeOffset? Updated { get; set; } }