Class MailTemplateCreationRequestDto
- Namespace
- GastroSky.Models.DTO.MailTemplate
- Assembly
- GastroSky.Models.dll
Request DTO for the creation of a new GastroSky.Models.DTO.MailTemplate.
public sealed class MailTemplateCreationRequestDto
- Inheritance
-
MailTemplateCreationRequestDto
- Inherited Members
Properties
Comment
This should describe what the email template is and where it will be used and under what circumstances.
Not visible anywhere except in the mail templates admin dashboard.
public string? Comment { get; set; }
Property Value
Html
[Required]
public TranslatableFieldDto Html { get; set; }
Property Value
Id
GastroSky.Models.DTO.MailTemplate.MailTemplate.Id
[Required]
public string Id { get; set; }
Property Value
Subject
[Required]
public TranslatableFieldDto Subject { get; set; }
Property Value
UsesMailBaseTemplate
[Required]
public bool UsesMailBaseTemplate { get; set; }