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.
BookingHeChuan/Myshipping.Application/Entity/EmailParserSystem/EmaiReceiveRecordInfo.cs

160 lines
3.9 KiB
C#

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
{
/// <summary>
/// 邮件接收记录表
/// </summary>
[Tenant("emailparsesystem")]
[SugarTable("email_receive_record")]
[Description("邮件接收记录表")]
public class EmaiReceiveRecordInfo
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true)]
public string GID { get; set; }
/// <summary>
/// 邮件接收账户全称
/// </summary>
public string MAIL_ACCOUNT { get; set; }
/// <summary>
/// 邮件主键
/// </summary>
public long MAIL_ID { get; set; }
/// <summary>
/// 邮件标题
/// </summary>
public string MAIL_SUBJECT { get; set; }
/// <summary>
/// 邮件发送人
/// </summary>
public string SENDER { get; set; }
/// <summary>
/// 接收时间
/// </summary>
public DateTime REC_TIME { get; set; }
/// <summary>
/// 是否已检查 1-已检查 0-未检查
/// </summary>
public bool IS_CHECK { get; set; } = false;
/// <summary>
/// 是否已解析 1-已解析 0-未解析
/// </summary>
public bool IS_PARSE { get; set; } = false;
/// <summary>
/// 是否已进入处理进程
/// </summary>
public bool IS_PROCESS { get; set; } = false;
/// <summary>
/// 解析器代码
/// </summary>
public string PARSER_CODE { get; set; }
/// <summary>
/// 解析器名称
/// </summary>
public string PARSER_NAME { get; set; }
/// <summary>
/// 邮件正文
/// </summary>
public string MAIL_BODY { get; set; }
/// <summary>
/// 邮件附件文本
/// </summary>
public string MAIL_ATTACHMENTS { get; set; }
/// <summary>
/// 邮件日期
/// </summary>
public DateTime MAIL_DATE { get; set; }
/// <summary>
/// 邮件文件存储路径
/// </summary>
public string MAIL_FILEPATH { get; set; }
/// <summary>
/// 邮件表头消息ID
/// </summary>
public string MESSAGE_UID { get; set; }
/// <summary>
/// POP3主键
/// </summary>
public string POP_UID { get; set; }
/// <summary>
/// 邮件所属用户Id
/// </summary>
public Nullable<long> BELONG_USER_ID { get; set; }
/// <summary>
/// 邮件所属用户名称
/// </summary>
public string BELONG_USER_NAME { get; set; }
/// <summary>
/// 状态 SUCC-成功 FAILURE-失败 EXCEPT-异常
/// </summary>
public string STATUS { get; set; }
/// <summary>
/// 处理机代码
/// </summary>
public string PROC_CODE { get; set; }
/// <summary>
/// 处理机名称
/// </summary>
public string PROC_NAME { get; set; }
/// <summary>
/// 步骤描述
/// </summary>
public string STEP_NOTE { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public Nullable<DateTime> UpdatedTime { get; set; }
/// <summary>
/// 软删除
/// </summary>
public bool IsDeleted { get; set; } = false;
/// <summary>
/// 租户ID
/// </summary>
public Nullable<long> TenantId { get; set; }
/// <summary>
/// 租户名称
/// </summary>
public string TenantName { get; set; }
}
}