using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace djy.Paas.Model { /// /// Email发送队列Dto /// public class MailSendDto { /// ///发送业务来源data数据唯一key键值 比如 Gid OrderNo Key /// public string DataKey { get; set; } /// /// Email地址列表 多个,间隔 /// public string Email { get; set; } /// /// 发送者Email /// public string SendEmail { get; set; } /// /// 附件文件列表 /// public List FileList=new List(); /// /// 判断FileList当中是否包括报关单和放行条 /// /// public bool 文件包含报关单和放行条() { if(FileList==null|| FileList.Count<2) return false; if (FileList.Exists(x => x.Name.Contains("报关单")) && FileList.Exists(x => x.Name.Contains("放行条"))) { return true; } return false; } /// /// 发送邮件内容正文 /// public string MailBody { get; set; } /// /// 标题 主题 /// public string Title { get; set; } /// /// 状态标识 /// public int Status { get; set; } = 1; /// /// 公司Gid /// public string CompGid { get; set; } /// /// Type /// public string Type { get; set; } /// /// 发件人配置信息Email /// public Ys.Core.Common.Email.SendServerConfigurationEntity SendMailConfig { get; set; } /// /// 此时间之后发出 /// public DateTime SendTime { get; set; } public tb_BaoGuanOrderList border { get; set; } } }