1631786ce2
Add push contracts, provider delivery and channel diagnostics. Link email channels to services and document migration and validation. Ref: IT-1074
17 lines
595 B
C#
17 lines
595 B
C#
using HrynCo.DAL.Abstract.Entities;
|
|
|
|
namespace HrynCo.NotificationService.DAL.Abstract.Providers;
|
|
|
|
public class EmailChannel : Entity
|
|
{
|
|
public required Guid ServiceId { get; set; }
|
|
public string ServiceName { get; set; } = string.Empty;
|
|
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;
|
|
}
|