Class EmailTemplateDto
Data transfer object for email template information.
Inherited Members
Namespace: OEMS.Core.Application.DTOs.Templates
Assembly: OEMS.Core.dll
Syntax
public class EmailTemplateDto
Properties
Body
Gets or sets the body content template for emails.
Declaration
public string Body { get; set; }
Property Value
Type | Description |
---|---|
string | The email body template content that may include variables for personalization. |
Id
Gets or sets the unique identifier of the email template.
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid | A GUID that uniquely identifies the email template. |
Name
Gets or sets the display name of the email template.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | A descriptive name for the template. |
Notes
Gets or sets additional notes for the email template.
Declaration
public string Notes { get; set; }
Property Value
Type | Description |
---|---|
string | Optional notes providing context or usage instructions for the template. |
OrganizationId
Gets or sets the organization identifier that owns this template.
Declaration
public Guid OrganizationId { get; set; }
Property Value
Type | Description |
---|---|
Guid | A GUID referencing the organization that created this template. |
OrganizationName
Gets or sets the name of the organization that owns this template.
Declaration
public string OrganizationName { get; set; }
Property Value
Type | Description |
---|---|
string | The display name of the organization for reference purposes. |
Subject
Gets or sets the subject line template for emails.
Declaration
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
string | The email subject template that may include variables. |
Variables
Gets or sets the available variables for the email template.
Declaration
public string Variables { get; set; }
Property Value
Type | Description |
---|---|
string | A JSON string containing variable definitions for template personalization. |