Files
hrynco-notification-service/HrynCo.NotificationService.DAL.Abstract/Providers/EmailChannel.cs
T
Anatolii Grynchuk 50828d23ec refactor: replace internal UnitOfWork with NotificationUnitOfWork and NotificationBaseRepository
- Consolidate unit of work implementation with NotificationUnitOfWork.
- Refactor repositories to use NotificationBaseRepository for consistency.
- Simplify request handlers by removing IUnitOfWork dependency.
- Update related tests and service registration.
2026-05-13 02:08:43 +03:00

16 lines
539 B
C#

using HrynCo.DAL.Abstract.Entities;
namespace HrynCo.NotificationService.DAL.Abstract.Providers;
public class EmailChannel : Entity
{
public required string ServiceName { get; set; }
public int Priority { get; set; }
public EmailChannelType EmailChannelType { get; set; }
public required EmailChannelSettings Settings { get; set; }
public int? DailyLimit { get; set; }
public int? MonthlyLimit { get; set; }
public int WarnThresholdPercent { get; set; } = 90;
public bool IsActive { get; set; } = true;
}