using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FreeSql.DataAnnotations; namespace djy.Paas.Model { /// /// 换船数据实体 /// public class tb_ChangeShip : DataBase { /// /// 任务台Gid /// public Guid? WorkGid { get; set; } /// /// 换船单Code /// [Column(StringLength = 40)] public string ChangeCode { get; set; } /// /// 主题标题 /// [Column(StringLength = 500)] public string Title { get; set; } /// /// Email时间 /// public long EmailTime { get; set; } /// /// 船务公司代码 /// [Column(StringLength = 10)] public string CarrierCode { get; set; } /// /// 换船类型 1 换船 2 取消换船 /// public short ChangeType { get; set; } /// /// 船名 /// public string ShipName { get; set; } /// /// 航次 /// public string VoyNo { get; set; } /// /// 海关航次 /// public string VoyNoCustome { get; set; } /// /// 目的港 /// public string PortDischarge { get; set; } /// /// 订舱代理名称 /// public string AgentName { get; set; } /// /// 订舱代理code /// public string AgentCode { get; set; } /// /// 公司id /// public Guid? CompId { get; set; } /// /// 匹配提取出来的订单内容 /// [Column(StringLength = -1)] public string OrderBody { get; set; } /// /// 来源Email地址 /// [Column(StringLength = 100)] public string EmailAddr { get; set; } /// /// 发送者Email地址 /// [Column(StringLength =100)] public string FromAddr { get; set; } /// /// EmailId /// public long MailId { get; set; } /// ///Email MessageId Email中唯一 /// [Column(StringLength =300)] public string MessageId { get; set; } /// /// Email 内容 /// [Column(StringLength = -1)] public string MailBody { get; set; } /// /// 操作者UserId /// public Guid? OperatorUserId { get; set; } /// ///操作员名称 /// [Column(StringLength =50)] public string OperatorName { get; set; } /// /// 操作者时间 /// public long AdminTime{get;set;} /// /// 状态 1 任务创建 2 已人工提交暂存 100已提交到换船处理 /// public new short Status { get; set; } /// /// 状态名称 /// public string StatusName { get { return Status == 1?"未处理":Status==2?"暂存":Status==100?"已处理":"处理中"; } } } }