Table of Contents

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

string

Html

[Required]
public TranslatableFieldDto Html { get; set; }

Property Value

TranslatableFieldDto

Id

[Required]
public string Id { get; set; }

Property Value

string

Subject

[Required]
public TranslatableFieldDto Subject { get; set; }

Property Value

TranslatableFieldDto

UsesMailBaseTemplate

[Required]
public bool UsesMailBaseTemplate { get; set; }

Property Value

bool