using EnvelopeGenerator.Domain.Constants; namespace EnvelopeGenerator.Application.Common.Interfaces.Services.Notification; /// /// Payload for template. /// public record DocumentRejectedRecNotification : EnvelopeNotificationBase { /// /// Replaces [DOCUMENT_TITLE] in mail subject/body. /// public required string DocumentTitle { get; init; } /// /// Replaces [NAME_RECEIVER] in mail body. /// public required string NameReceiver { get; init; } /// /// Replaces [NAME_SENDER] in mail body. /// public required string NameSender { get; init; } /// /// Replaces [NAME_PORTAL] in mail body. /// public string NamePortal { get; init; } = "signFLOW Portal"; /// public override EmailTemplateType GetTemplateType() => EmailTemplateType.DocumentRejected_REC; }