using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GB5Shared.DTO.Framework.Enum; using GB5Shared.DTO.Framework.Login; namespace FrameworkDAL.DTO.Mail { public class SendMailDTO { private string mailto = ""; private string mailcc = ""; private string mailbcc = ""; private string subject = ""; private string message = ""; private string attachmentpath = ""; private string attachmentfilename = ""; private FrameworkEnumDTO.Formattype mailformattype; private int templateid; private string replyto; #region Mail Saving in Database private bool ismailtosupplied = false; private int eventtypeid = -1; private string cmsids = ""; private int rootmailid = -1; private int parentmailid = -1; private int mailtosendtype; // 0 ---Normal,1-User--2--Role--3--UserGroup private int mailccsendtype; // 0 ---Normal,1--User-2--Role -3--UserGroup private int mailbccsendtype; // 0 ---Normal,1--User-2--Role--3--UserGroup private LoginDTO maillogindto; // 0 ---Normal,1--User-2--Role--3--UserGroup private int actionid;//This is for tracing purpose #endregion public string MailTo { get { return mailto; } set { mailto = value; } } public string MailCc { get { return mailcc; } set { mailcc = value; } } public string MailBcc { get { return mailbcc; } set { mailbcc = value; } } public string Subject { get { return subject; } set { subject = value; } } public string Message { get { return message; } set { message = value; } } public string AttachmentPath { get { return attachmentpath; } set { attachmentpath = value; } } public string AttachmentFileName { get { return attachmentfilename; } set { attachmentfilename = value; } } public FrameworkEnumDTO.Formattype MailFormatType { get { return mailformattype; } set { mailformattype = value; } } public int TemplateId { get { return templateid; } set { templateid = value; } } public string ReplyTo { get { return replyto; } set { replyto = value; } } public bool ISMailToSupplied { get { return ismailtosupplied; } set { ismailtosupplied = value; } } public int EventTypeId { get { return eventtypeid; } set { eventtypeid = value; } } public string CMSIds { get { return cmsids; } set { cmsids = value; } } public int RootMailId { get { return rootmailid; } set { rootmailid = value; } } public int ParentMailId { get { return parentmailid; } set { parentmailid = value; } } public int MailToSendType { get { return mailtosendtype; } set { mailtosendtype = value; } } public int MailCCSendType { get { return mailccsendtype; } set { mailccsendtype = value; } } public int MailBCCSendType { get { return mailbccsendtype; } set { mailbccsendtype = value; } } public LoginDTO MailLoginDTO { get { return maillogindto; } set { maillogindto = value; } } public int ActionId { get { return actionid; } set { actionid = value; } } } }