using Furion.DatabaseAccessor;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using System.ComponentModel;
namespace Myshipping.Application.Entity
{
///
/// 邮件接收记录表
///
[Tenant("emailparsesystem")]
[SugarTable("email_receive_record")]
[Description("邮件接收记录表")]
public class EmaiReceiveRecordInfo
{
///
/// 主键
///
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true)]
public string GID { get; set; }
///
/// 邮件接收账户全称
///
public string MAIL_ACCOUNT { get; set; }
///
/// 邮件主键
///
public long MAIL_ID { get; set; }
///
/// 邮件标题
///
public string MAIL_SUBJECT { get; set; }
///
/// 邮件发送人
///
public string SENDER { get; set; }
///
/// 接收时间
///
public DateTime REC_TIME { get; set; }
///
/// 是否已检查 1-已检查 0-未检查
///
public bool IS_CHECK { get; set; } = false;
///
/// 是否已解析 1-已解析 0-未解析
///
public bool IS_PARSE { get; set; } = false;
///
/// 是否已进入处理进程
///
public bool IS_PROCESS { get; set; } = false;
///
/// 解析器代码
///
public string PARSER_CODE { get; set; }
///
/// 解析器名称
///
public string PARSER_NAME { get; set; }
///
/// 邮件正文
///
public string MAIL_BODY { get; set; }
///
/// 邮件附件文本
///
public string MAIL_ATTACHMENTS { get; set; }
///
/// 邮件日期
///
public DateTime MAIL_DATE { get; set; }
///
/// 邮件文件存储路径
///
public string MAIL_FILEPATH { get; set; }
///
/// 邮件表头消息ID
///
public string MESSAGE_UID { get; set; }
///
/// POP3主键
///
public string POP_UID { get; set; }
///
/// 邮件所属用户Id
///
public Nullable BELONG_USER_ID { get; set; }
///
/// 邮件所属用户名称
///
public string BELONG_USER_NAME { get; set; }
///
/// 状态 SUCC-成功 FAILURE-失败 EXCEPT-异常
///
public string STATUS { get; set; }
///
/// 处理机代码
///
public string PROC_CODE { get; set; }
///
/// 处理机名称
///
public string PROC_NAME { get; set; }
///
/// 步骤描述
///
public string STEP_NOTE { get; set; }
///
/// 执行解析明细总数
///
public Nullable EXEC_DETAIL_TOTAL { get; set; }
///
/// 执行解析明细成功数量
///
public Nullable EXEC_DETAIL_SUCC { get; set; }
///
/// 执行解析明细失败数量
///
public Nullable EXEC_DETAIL_FAIL { get; set; }
///
/// 最后失败原因
///
public string LST_RESP_NOTE { get; set; }
///
/// 更新时间
///
public Nullable UpdatedTime { get; set; }
///
/// 软删除
///
public bool IsDeleted { get; set; } = false;
///
/// 租户ID
///
public Nullable TenantId { get; set; }
///
/// 租户名称
///
public string TenantName { get; set; }
}
}