You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/JobSendAgentMail/MailReceiveRecordInfo.cs

45 lines
1.3 KiB
C#

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
{
/// <summary>
/// 目前仅用来,通过DJYID判断业务是否存在
/// </summary>
[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; }
}
}