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.

132 lines
3.6 KiB
C#

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