using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JobSendAgentMail { /// /// 目前仅用来,通过DJYID判断业务是否存在 /// [Table("Mail_Receive_Record")] public class MailReceiveRecordInfo { public MailReceiveRecordInfo() { this.GID = Guid.NewGuid().ToString(); this.IsCheck = false; this.IsProcess = false; this.IsProcess = false; this.MailDate = DateTime.Today; } [Key] public string GID { get; set; } public string MailAccount { get; set; } public long MailId { get; set; } public string Subject { get; set; } public string Sender { get; set; } public DateTime RecTime { get; set; } public bool IsCheck { get; set; } public bool IsParse { get; set; } public bool IsProcess { get; set; } public string Body { get; set; } public string Attachments { get; set; } public DateTime MailDate { get; set; } public string FilePath { get; set; } } }