27 lines
541 B
C#
27 lines
541 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace YLErp.DBModels
|
|
{
|
|
[Table("email_template")]
|
|
public class EmailTemplate : IDataEntity
|
|
{
|
|
[Key]
|
|
public int id { get; set; }
|
|
|
|
public string EmailType { get; set; }
|
|
|
|
public string TitleTemplate { get; set; }
|
|
|
|
public string BodyTemplate { get; set; }
|
|
|
|
public bool IsBodyHtml { get; set; }
|
|
}
|
|
|
|
[NotMapped]
|
|
public class EmailTemplateDto : EmailTemplate
|
|
{
|
|
|
|
}
|
|
}
|