Class CreateEmailTemplateDto
Data transfer object for creating a new email template.
Inherited Members
Namespace: OEMS.Core.Application.DTOs.Templates
Assembly: OEMS.Core.dll
Syntax
public class CreateEmailTemplateDto
Properties
Body
Gets or sets the email body content template.
Declaration
[Required]
public string Body { get; set; }
Property Value
Type | Description |
---|---|
string | The main content of the email, which may include variable placeholders. |
Name
Gets or sets the name of the email template.
Declaration
[Required]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | A descriptive name for identifying the template. |
Notes
Gets or sets optional notes or documentation for the template.
Declaration
[Required]
public string Notes { get; set; }
Property Value
Type | Description |
---|---|
string | Additional information about the template's purpose or usage. |
OrganizationId
Gets or sets the identifier of the organization that will own this template.
Declaration
[Required]
public Guid OrganizationId { get; set; }
Property Value
Type | Description |
---|---|
Guid | The GUID of the organization creating this email template. |
Subject
Gets or sets the email subject line template.
Declaration
[Required]
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
string | The subject line that will be used for emails created from this template. |
Variables
Gets or sets the available variables for the email template.
Declaration
public string Variables { get; set; }
Property Value
Type | Description |
---|---|
string | A description or list of variables that can be used in the template. |