8e81572386
Add revision-safe service and template APIs, channel mapping, and validated admin controls. Ref: IT-1601
16 lines
462 B
C#
16 lines
462 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using HrynCo.NotificationService.DAL.Abstract.Providers;
|
|
|
|
namespace HrynCo.NotificationService.Web.Controllers.Api.EmailChannels;
|
|
|
|
public sealed record CreateEmailChannelRequest(
|
|
[Required, StringLength(100)] string ServiceName,
|
|
int Priority,
|
|
EmailChannelType ChannelType,
|
|
SmtpChannelSettingsDto Settings,
|
|
int? DailyLimit,
|
|
int? MonthlyLimit,
|
|
int WarnThresholdPercent,
|
|
bool IsActive
|
|
);
|