50828d23ec
- 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.
16 lines
539 B
C#
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;
|
|
}
|