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.

157 lines
3.7 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
/// <summary>
/// 邮件接收记录
/// </summary>
public class EmaiReceiveRecordDto
{
/// <summary>
/// 主键
/// </summary>
public string GID { get; set; }
/// <summary>
/// TO 邮箱
/// </summary>
public string MailAccount { get; set; }
/// <summary>
/// 邮件主题
/// </summary>
public string MailSubject { get; set; }
/// <summary>
/// FROM 邮箱
/// </summary>
public string Sender { get; set; }
/// <summary>
/// 接收时间
/// </summary>
public DateTime RecTime { get; set; }
/// <summary>
/// 是否已检查 1-已检查 0-未检查
/// </summary>
public bool IsCheck { get; set; }
/// <summary>
/// 是否已解析 1-已解析 0-未解析
/// </summary>
public bool IsParse { get; set; }
/// <summary>
/// 是否已进入处理进程
/// </summary>
public bool IsProcess { get; set; }
/// <summary>
/// 邮件正文
/// </summary>
public string MailBody { get; set; }
/// <summary>
/// 邮件附件文本
/// </summary>
public string MailAttachments { get; set; }
/// <summary>
/// 邮件日期
/// </summary>
public DateTime MailDate { get; set; }
/// <summary>
/// 邮件文件存储路径
/// </summary>
public string MailFilepath { get; set; }
/// <summary>
/// 邮件表头消息ID
/// </summary>
public string MessageUid { get; set; }
/// <summary>
/// POP3主键
/// </summary>
public string PopUid { get; set; }
/// <summary>
/// 邮件所属用户Id
/// </summary>
public Nullable<long> BelongUserId { get; set; }
/// <summary>
/// 邮件所属用户名称
/// </summary>
public string BelongUserName { get; set; }
/// <summary>
/// 状态 SUCC-成功 FAILURE-失败 EXCEPT-异常
/// </summary>
public string Status { get; set; }
/// <summary>
/// 解析器代码
/// </summary>
public string ParserCode { get; set; }
/// <summary>
/// 解析器名称
/// </summary>
public string ParserName { get; set; }
/// <summary>
/// 处理机代码
/// </summary>
public string ProcCode { get; set; }
/// <summary>
/// 处理机名称
/// </summary>
public string ProcName { get; set; }
/// <summary>
/// 步骤描述
/// </summary>
public string StepNote { get; set; }
/// <summary>
/// 执行解析明细总数
/// </summary>
public Nullable<int> ExecDetailTotal { get; set; }
/// <summary>
/// 执行解析明细成功数量
/// </summary>
public Nullable<int> ExecDetailSucc { get; set; }
/// <summary>
/// 执行解析明细失败数量
/// </summary>
public Nullable<int> ExecDetailFail { get; set; }
/// <summary>
/// 最后失败原因
/// </summary>
public string LstRespNote { get; set; }
/// <summary>
/// 处理明细
/// </summary>
public List<EmaiReceiveRecordDetailDto> detailList { get; set; }
/// <summary>
/// 附件列表
/// </summary>
public List<string> AttachmentList { get; set; }
}
}