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.

1623 lines
54 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
using System.ComponentModel;
namespace DS.WMS.Core.Op.Entity;
/// <summary>
/// 海运出口表
/// </summary>
[SqlSugar.SugarTable("op_sea_export", "海运出口表")]
public class SeaExport : BaseOrgModel<long>
{
/// <summary>
/// 主单Id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "主单Id", IsNullable = false,DefaultValue = "0")]
public long ParentId { get; set; }
/// <summary>
/// 业务状态
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "业务状态", IsNullable = false, DefaultValue = "0")]
public int BusinessStatus { get; set; }
/// <summary>
/// 业务状态名称
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "业务状态名称", IsNullable = true, Length = 50)]
public string BusinessStatusName { get; set; }
/// <summary>
/// Desc:是否业务锁定
/// </summary>
[SugarColumn(ColumnDescription = "是否业务锁定", DefaultValue = "0")]
public bool? IsBusinessLocking { get; set; } = false;
/// <summary>
/// Desc:是否费用锁定
/// </summary>
[SugarColumn(ColumnDescription = "是否费用锁定", DefaultValue = "0")]
public bool? IsFeeLocking { get; set; } = false;
/// <summary>
/// 财务日期
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "财务日期", IsNullable = false,Length = 7)]
public string AccountDate { get; set; }
/// <summary>
/// 主提单号
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "主提单号", IsNullable = true, Length = 30)]
public string MBLNO { get; set; }
/// <summary>
/// 分提单号
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "分提单号", IsNullable = true, Length = 30)]
public string HBLNO { get; set; }
/// <summary>
/// 委托编号 可以根据规则生成
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "委托编号", IsNullable = true, Length = 30)]
public string CustomerNo { get; set; }
/// <summary>
/// 运单号 可以根据规则生成
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "运单号", IsNullable = true, Length = 30)]
public string TransNo { get; set; }
/// <summary>
/// 委托单位Id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "委托单位Id", IsNullable = false, DefaultValue = "0")]
public long CustomerId { get; set; }
/// <summary>
/// 委托单位 t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "委托单位", IsNullable = true, Length = 50)]
public string CustomerName { get; set; }
/// <summary>
/// 装运方式 整箱、拼箱单票、拼箱主票、拼箱分票
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "装运方式", IsNullable = false, Length = 30)]
public string BLType { get; set; }
/// <summary>
/// 发货人 t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "发货人", IsNullable = true)]
public long? ShipperId { get; set; }
/// <summary>
/// 发货人 t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "发货人", IsNullable = true, Length = 100)]
public string Shipper { get; set; }
/// <summary>
/// 客户编号
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "客户编号", IsNullable = true, Length = 50)]
public string CustomerNum { get; set; }
/// <summary>
/// 国内发货人 t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "发货人Id", IsNullable = true)]
public long? ShipperCnId { get; set; }
/// <summary>
/// 国内发货人 t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "国内发货人", IsNullable = true, Length = 100)]
public string ShipperCn { get; set; }
/// <summary>
/// 收货人 t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "收货人", IsNullable = true)]
public long? ConsigneeId { get; set; }
/// <summary>
/// 收货人 t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "收货人", IsNullable = true, Length = 100)]
public string Consignee { get; set; }
/// <summary>
/// 通知人 t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "通知人", IsNullable = true)]
public long? NotifyPartyId { get; set; }
/// <summary>
/// 通知人 t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "通知人", IsNullable = true, Length = 100)]
public string NotifyParty { get; set; }
/// <summary>
/// 国外代理人Id t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "国外代理人Id", IsNullable = true)]
public long AgentId { get; set; }
/// <summary>
/// 国外代理人 t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "国外代理人", IsNullable = true, Length = 100)]
public string Agent { get; set; }
/// <summary>
/// 发货人内容
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "发货人内容", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string ShipperContent { get; set; }
/// <summary>
/// 收货人内容
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "收货人内容", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string ConsigneeContent { get; set; }
/// <summary>
/// 通知人内容
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "通知人内容", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string NotifyPartyContent { get; set; }
/// <summary>
/// 国外代理内容
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "国外代理内容", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string AgentContent { get; set; }
/// <summary>
/// 场站Id t_crm_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "场站Id", IsNullable = true, DefaultValue ="0")]
public long YardId { get; set; }
/// <summary>
/// 场站 t_crm_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "场站", IsNullable = true, Length = 100)]
public string Yard { get; set; }
/// <summary>
/// 场站备注
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "场站备注", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string YardRemark { get; set; }
/// <summary>
/// 船名 t_code_vessel
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "船名", IsNullable = true, Length = 60)]
public string Vessel { get; set; }
/// <summary>
/// 船名Id t_code_vessel
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "船名Id", IsNullable = true, DefaultValue = "0")]
public long VesselId { get; set; }
/// <summary>
/// 海关航次
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "海关航次", IsNullable = true, Length = 20)]
public string Voyno { get; set; }
/// <summary>
/// 内部航次
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "内部航次", IsNullable = true, Length = 20)]
public string InnerVoyno { get; set; }
/// <summary>
/// 第二通知人Id t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "第二通知人Id", IsNullable = true)]
public long? SecondNotifyPartyId { get; set; }
/// <summary>
/// 第二通知人 t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "第二通知人", IsNullable = true,Length = 100)]
public string SecondNotifyParty { get; set; }
/// <summary>
/// 第二通知人内容
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "第二通知人内容", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string SecondNotifyPartyContent { get; set; }
/// <summary>
/// 开船日期
/// </summary>
[SugarColumn(ColumnDescription = "开船日期", IsNullable = true)]
public DateTime? ETD { get; set; }
/// <summary>
/// 预抵日期
/// </summary>
[SugarColumn(ColumnDescription = "预抵日期", IsNullable = true)]
public DateTime? ETA { get; set; }
/// <summary>
/// ATD 实际开船时间
/// </summary>
[SugarColumn(ColumnDescription = "ATD", IsNullable = true)]
public DateTime? ATD { get; set; }
/// <summary>
/// ATA 实际到港(目的港)时间
/// </summary>
[SugarColumn(ColumnDescription = "ATA", IsNullable = true)]
public DateTime? ATA { get; set; }
/// <summary>
/// 截港日期
/// </summary>
[SugarColumn(ColumnDescription = "截港日期", IsNullable = true)]
public DateTime? ClosingDate { get; set; }
/// <summary>
/// 收货地
/// </summary>
[SugarColumn(ColumnDescription = "收货地", IsNullable = true, Length = 60)]
public string ReceiptPlace { get; set; }
/// <summary>
/// 收货地点Id
/// </summary>
[SugarColumn(ColumnDescription = "收货地点Id", IsNullable = true, DefaultValue = "0")]
public long ReceiptPlaceId { get; set; }
/// <summary>
/// 装货港Id
/// </summary>
[SugarColumn(ColumnDescription = "装货港Id", IsNullable = true)]
public long LoadPortId { get; set; }
/// <summary>
/// 装货港
/// </summary>
[SugarColumn(ColumnDescription = "装货港", IsNullable = true, Length = 60)]
public string LoadPort { get; set; }
/// <summary>
/// 卸货港Id
/// </summary>
[SugarColumn(ColumnDescription = "卸货港Id", IsNullable = true)]
public long DischargePortId { get; set; }
/// <summary>
/// 卸货港
/// </summary>
[SugarColumn(ColumnDescription = "卸货港", IsNullable = true, Length = 60)]
public string DischargePort { get; set; }
/// <summary>
/// 交货地id
/// </summary>
[SugarColumn(ColumnDescription = "交货地id", IsNullable = true)]
public long DeliveryPlaceId { get; set; }
/// <summary>
/// 交货地
/// </summary>
[SugarColumn(ColumnDescription = "交货地", IsNullable = true, Length = 60)]
public string DeliveryPlace { get; set; }
/// <summary>
/// 目的地id
/// </summary>
[SugarColumn(ColumnDescription = "目的地id", IsNullable = true)]
public long DestinationId { get; set; }
/// <summary>
/// 目的地
/// </summary>
[SugarColumn(ColumnDescription = "目的地", IsNullable = true, Length = 60)]
public string Destination { get; set; }
/// <summary>
/// 提单份数
/// </summary>
[SugarColumn(ColumnDescription = "提单份数", IsNullable = true, Length = 5)]
public string NoBill { get; set; }
/// <summary>
/// 副本份数
/// </summary>
[SugarColumn(ColumnDescription = "副本份数", IsNullable = true, Length = 5)]
public string CopyNoBill { get; set; }
/// <summary>
/// 签单方式 t_code_issutype
/// </summary>
[SugarColumn(ColumnDescription = "签单方式", IsNullable = true, Length = 12)]
public string IssueType { get; set; }
/// <summary>
/// 签单日期
/// </summary>
[SugarColumn(ColumnDescription = "签单日期", IsNullable = true)]
public DateTime? IssueDate { get; set; }
/// <summary>
/// 签单地点Id
/// </summary>
[SugarColumn(ColumnDescription = "签单地点Id", IsNullable = true, DefaultValue = "0")]
public long IssuePlaceId { get; set; }
/// <summary>
/// 签单地点
/// </summary>
[SugarColumn(ColumnDescription = "签单地点", IsNullable = true, Length = 60)]
public string IssuePlace { get; set; }
/// <summary>
/// 签单状态
/// </summary>
[SugarColumn(ColumnDescription = "签单状态", IsNullable = true)]
public DateTime? BLIssueSatus { get; set; }
/// <summary>
/// 付款地点Id
/// </summary>
[SugarColumn(ColumnDescription = "付款地点Id", IsNullable = true, DefaultValue = "0")]
public long PrepareAtId { get; set; }
/// <summary>
/// 预付地点
/// </summary>
[SugarColumn(ColumnDescription = "预付地点", IsNullable = true, Length = 50)]
public string PrepareAt { get; set; }
/// <summary>
/// 预付地点Id
/// </summary>
[SugarColumn(ColumnDescription = "预付地点Id", IsNullable = true, DefaultValue = "0")]
public long PayableAtId { get; set; }
/// <summary>
/// 预付地点
/// </summary>
[SugarColumn(ColumnDescription = "预付地点", IsNullable = true, Length = 50)]
public string PayableAt { get; set; }
/// <summary>
/// 第三付款地Id
/// </summary>
[SugarColumn(ColumnDescription = "第三付款地Id", IsNullable = true, DefaultValue = "0")]
public long ThirdPayAtId { get; set; }
/// <summary>
/// 第三付款地
/// </summary>
[SugarColumn(ColumnDescription = "第三付款地", IsNullable = true, Length = 50)]
public string ThirdPayAt { get; set; }
/// <summary>
/// 运输条款 CY-CY t_code_service
/// </summary>
[SugarColumn(ColumnDescription = "运输条款", IsNullable = true, Length = 50)]
public string Service { get; set; }
/// <summary>
/// 唛头 N/M
/// </summary>
[SugarColumn(ColumnDescription = "唛头", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string Marks { get; set; }
/// <summary>
/// 箱号封号
/// </summary>
[SugarColumn(ColumnDescription = "箱号封号", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string CntrSealNo { get; set; }
/// <summary>
/// 件数包装
/// </summary>
[SugarColumn(ColumnDescription = "件数包装", IsNullable = true, Length = 120)]
public string NoPkgs { get; set; }
/// <summary>
/// 货物描述
/// </summary>
[SugarColumn(ColumnDescription = "货物描述", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string Description { get; set; }
/// <summary>
/// 品名Id
/// </summary>
[SugarColumn(ColumnDescription = "品名", IsNullable = true, DefaultValue ="0")]
public long? GoodsId { get; set; }
/// <summary>
/// 品名 t_code_goods
/// </summary>
[SugarColumn(ColumnDescription = "品名", IsNullable = true, Length = 30)]
public string GoodsName { get; set; }
/// <summary>
/// 货物毛重
/// </summary>
[SugarColumn(ColumnDescription = "货物毛重", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string GrossWeight { get; set; }
/// <summary>
/// 货物尺码
/// </summary>
[SugarColumn(ColumnDescription = "货物尺码", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string Measurement { get; set; }
/// <summary>
/// 件数
/// </summary>
[SugarColumn(ColumnDescription = "件数", IsNullable = true)]
public int? PKGS { get; set; }
/// <summary>
/// 包装 t_code_package
/// </summary>
[SugarColumn(ColumnDescription = "包装", IsNullable = true, Length = 20)]
public string KindPkgs { get; set; }
/// <summary>
/// 毛重
/// </summary>
[SugarColumn(ColumnDescription = "毛重", IsNullable = true, Length = 18, DecimalDigits = 4, DefaultValue = "0")]
public decimal? KGS { get; set; }
/// <summary>
/// 尺码
/// </summary>
[SugarColumn(ColumnDescription = "尺码", IsNullable = true, Length = 18, DecimalDigits = 4, DefaultValue = "0")]
public decimal? CBM { get; set; }
/// <summary>
/// 件数大写
/// </summary>
[SugarColumn(ColumnDescription = "件数大写", IsNullable = true, Length = 100)]
public string TotalNo { get; set; }
/// <summary>
/// 集装箱大写
/// </summary>
[SugarColumn(ColumnDescription = "集装箱大写", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string CntrNo { get; set; }
/// <summary>
/// 箱型1
/// </summary>
[SugarColumn(ColumnDescription = "箱型1", IsNullable = true, DefaultValue = "0")]
public int Cntr1 { get; set; }
/// <summary>
/// 箱型2
/// </summary>
[SugarColumn(ColumnDescription = "箱型2", IsNullable = true, DefaultValue = "0")]
public int Cntr2 { get; set; }
/// <summary>
/// 箱型3
/// </summary>
[SugarColumn(ColumnDescription = "箱型3", IsNullable = true, DefaultValue = "0")]
public int Cntr3 { get; set; }
/// <summary>
/// 箱型4
/// </summary>
[SugarColumn(ColumnDescription = "箱型4", IsNullable = true, DefaultValue = "0")]
public int Cntr4 { get; set; }
/// <summary>
/// 箱型5
/// </summary>
[SugarColumn(ColumnDescription = "箱型5", IsNullable = true, DefaultValue = "0")]
public int Cntr5 { get; set; }
/// <summary>
/// 箱型6
/// </summary>
[SugarColumn(ColumnDescription = "箱型6", IsNullable = true, DefaultValue = "0")]
public int Cntr6 { get; set; }
/// <summary>
/// 箱型7
/// </summary>
[SugarColumn(ColumnDescription = "箱型7", IsNullable = true, DefaultValue = "0")]
public int Cntr7 { get; set; }
/// <summary>
/// 箱型8
/// </summary>
[SugarColumn(ColumnDescription = "箱型8", IsNullable = true, DefaultValue = "0")]
public int Cntr8 { get; set; }
/// <summary>
/// 箱型9
/// </summary>
[SugarColumn(ColumnDescription = "箱型9", IsNullable = true, DefaultValue = "0")]
public int Cntr9 { get; set; }
/// <summary>
/// 箱型10
/// </summary>
[SugarColumn(ColumnDescription = "箱型10", IsNullable = true, DefaultValue = "0")]
public int Cntr10 { get; set; }
/// <summary>
/// 其他箱型
/// </summary>
[SugarColumn(ColumnDescription = "其他箱型", IsNullable = true, DefaultValue = "0")]
public int OtherCntr { get; set; }
/// <summary>
/// 箱TEU
/// </summary>
[SugarColumn(ColumnDescription = "箱TEU", IsNullable = true, DefaultValue = "0")]
public int TEU { get; set; }
/// <summary>
/// 集装箱
/// </summary>
[SugarColumn(ColumnDescription = "集装箱", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string CntrTotal { get; set; }
/// <summary>
/// 操作员
/// </summary>
[SugarColumn(ColumnDescription = "操作员", IsNullable = true, DefaultValue = "0")]
public long OperatorId { get; set; }
/// <summary>
/// 客服
/// </summary>
[SugarColumn(ColumnDescription = "客服", IsNullable = true, DefaultValue = "0")]
public long CustomerService { get; set; }
/// <summary>
/// 外国客服
/// </summary>
[SugarColumn(ColumnDescription = "外国客服", IsNullable = true, DefaultValue = "0")]
public long ForeignCustomerService { get; set; }
/// <summary>
/// 航线Id
/// </summary>
[SugarColumn(ColumnDescription = "航线Id", IsNullable = true, DefaultValue = "0")]
public long LaneId { get; set; }
/// <summary>
/// 航线代码
/// </summary>
[SugarColumn(ColumnDescription = "航线代码", IsNullable = true, Length = 100)]
public string LaneCode { get; set; }
/// <summary>
/// 航线
/// </summary>
[SugarColumn(ColumnDescription = "航线", IsNullable = true, Length = 100 )]
public string Lane { get; set; }
/// <summary>
/// 揽货人Id
/// </summary>
[SugarColumn(ColumnDescription = "揽货人Id", IsNullable = true, DefaultValue = "0")]
public long SaleId { get; set; }
/// <summary>
/// 揽货人
/// </summary>
[SugarColumn(ColumnDescription = "揽货人", IsNullable = true, Length = 100)]
public string Sale { get; set; }
/// <summary>
/// 船公司Id
/// </summary>
[SugarColumn(ColumnDescription = "船公司Id", IsNullable = true, DefaultValue = "0")]
public long CarrierId { get; set; }
/// <summary>
/// 船公司
/// </summary>
[SugarColumn(ColumnDescription = "船公司", IsNullable = true, Length = 100)]
public string Carrier { get; set; }
/// <summary>
/// 货代公司Id
/// </summary>
[SugarColumn(ColumnDescription = "货代公司Id", IsNullable = true, DefaultValue = "0")]
public long ForwarderId { get; set; }
/// <summary>
/// 货代公司
/// </summary>
[SugarColumn(ColumnDescription = "货代公司", IsNullable = true, Length = 100)]
public string Forwarder { get; set; }
/// <summary>
/// 报关行Id
/// </summary>
[SugarColumn(ColumnDescription = "报关行Id", IsNullable = true, DefaultValue = "0")]
public long CustomserId { get; set; }
/// <summary>
/// 报关行
/// </summary>
[SugarColumn(ColumnDescription = "报关行", IsNullable = true, Length = 100)]
public string Customser { get; set; }
/// <summary>
/// 承运车队Id
/// </summary>
[SugarColumn(ColumnDescription = "承运车队Id", IsNullable = true, DefaultValue = "0")]
public long TruckerId { get; set; }
/// <summary>
/// 承运车队
/// </summary>
[SugarColumn(ColumnDescription = "承运车队", IsNullable = true, Length = 100)]
public string Trucker { get; set; }
/// <summary>
/// 发票号
/// </summary>
[SugarColumn(ColumnDescription = "发票号", IsNullable = true, Length = 20)]
public string InvoiceNo { get; set; }
/// <summary>
/// 货物标识 S/R/D/O
/// </summary>
[SugarColumn(ColumnDescription = "货物标识 S/R/D/O", IsNullable = true, Length = 1)]
public string CargoId { get; set; }
/// <summary>
/// 危险品分类
/// </summary>
[SugarColumn(ColumnDescription = "危险品分类", IsNullable = true, Length = 5)]
public string DangerClass { get; set; }
/// <summary>
/// 危险品编号
/// </summary>
[SugarColumn(ColumnDescription = "危险品编号", IsNullable = true, Length = 16)]
public string DangerNo { get; set; }
/// <summary>
/// 危险品页号
/// </summary>
[SugarColumn(ColumnDescription = "危险品页号", IsNullable = true, Length = 7)]
public string DangerPage { get; set; }
/// <summary>
/// 危险品标签
/// </summary>
[SugarColumn(ColumnDescription = "危险品标签", IsNullable = true, Length = 32)]
public string DangerLabel { get; set; }
/// <summary>
/// 冷藏通风量
/// </summary>
[SugarColumn(ColumnDescription = "冷藏通风量", IsNullable = true, Length = 10)]
public string ReeferQuantity { get; set; }
/// <summary>
/// 温度单位
/// </summary>
[SugarColumn(ColumnDescription = "温度单位", IsNullable = true, Length = 1)]
public string TemperatureUnit { get; set; }
/// <summary>
/// 设置温度
/// </summary>
[SugarColumn(ColumnDescription = "设置温度", IsNullable = true, Length = 5)]
public string TemperatureSet { get; set; }
/// <summary>
/// 最低温度
/// </summary>
[SugarColumn(ColumnDescription = "最低温度", IsNullable = true, Length = 5)]
public string TemperatureMin { get; set; }
/// <summary>
/// 最高温度
/// </summary>
[SugarColumn(ColumnDescription = "最高温度", IsNullable = true, Length = 5)]
public string TemperatureMax { get; set; }
/// <summary>
/// Desc:业务来源Id
/// </summary>
[SugarColumn(ColumnDescription = "业务来源Id", IsNullable = true, DefaultValue = "0")]
public long SourceId { get; set; }
/// <summary>
/// Desc:业务来源明细Id
/// </summary>
[SugarColumn(ColumnDescription = "业务来源明细Id", IsNullable = true, DefaultValue = "0")]
public long SourceDetailId { get; set; }
/// <summary>
/// Desc:报关票数
/// </summary>
[SugarColumn(ColumnDescription = "报关票数", IsNullable = true, DefaultValue = "0")]
public int CustomsNum { get; set; }
/// <summary>
/// 运费协议号(约号)
/// </summary>
[SugarColumn(ColumnDescription = "运费协议号(约号)", IsNullable = true, Length = 100)]
public string ContractNo { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
[SugarColumn(ColumnDescription = "订舱编号", IsNullable = true, Length = 20)]
public string BookingNo { get; set; }
/// <summary>
/// Desc:保险人
/// </summary>
[SugarColumn(ColumnDescription = "保险人", IsNullable = true, Length = 30)]
public string Insuranceer { get; set; }
/// <summary>
/// Desc:保险单号
/// </summary>
[SugarColumn(ColumnDescription = "保险单号", IsNullable = true, Length = 20)]
public string InsuranceNo { get; set; }
/// <summary>
/// Desc:保险金额
/// </summary>
[SugarColumn(ColumnDescription = "保险金额", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")]
public decimal? InsuranceAmount { get; set; }
/// <summary>
/// Desc:是否生成凭证
/// </summary>
[SugarColumn(ColumnDescription = "是否生成凭证", DefaultValue = "0")]
public bool? IsVoucher { get; set; } = false;
/// <summary>
/// Desc:凭证号
/// </summary>
[SugarColumn(ColumnDescription = "凭证号", IsNullable = true, Length = 20)]
public string VoucherNo { get; set; }
/// <summary>
/// Desc:备注
/// </summary>
[SugarColumn(ColumnDescription = "备注", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string Remark { get; set; }
/// <summary>
/// Desc:熏蒸
/// </summary>
[SugarColumn(ColumnDescription = "熏蒸", DefaultValue = "0")]
public bool? IsFumigation { get; set; } = false;
/// <summary>
/// Desc:仓储
/// </summary>
[SugarColumn(ColumnDescription = "仓储", DefaultValue = "0")]
public bool? IsStorage { get; set; } = false;
/// <summary>
/// Desc:陆运
/// </summary>
[SugarColumn(ColumnDescription = "陆运", DefaultValue = "0")]
public bool? IsLand { get; set; } = false;
/// <summary>
/// Desc:报关
/// </summary>
[SugarColumn(ColumnDescription = "报关", DefaultValue = "0")]
public bool? IsCustoms { get; set; } = false;
/// <summary>
/// Desc:报检
/// </summary>
[SugarColumn(ColumnDescription = "报检", DefaultValue = "0")]
public bool? IsInspection { get; set; } = false;
/// <summary>
/// Desc:订舱
/// </summary>
[SugarColumn(ColumnDescription = "订舱", DefaultValue = "0")]
public bool? IsBooking { get; set; } = false;
/// <summary>
/// Desc:使用代理
/// </summary>
[SugarColumn(ColumnDescription = "使用代理", DefaultValue = "0")]
public bool? IsAgent { get; set; } = false;
/// <summary>
/// Desc:分单签单
/// </summary>
[SugarColumn(ColumnDescription = "分单签单", DefaultValue = "0")]
public bool? IsHBLNO { get; set; } = false;
/// <summary>
/// Desc:服务项目9
/// </summary>
[SugarColumn(ColumnDescription = "服务项目9", DefaultValue = "0")]
public bool? Service9 { get; set; } = false;
/// <summary>
/// Desc:服务项目10
/// </summary>
[SugarColumn(ColumnDescription = "服务项目10", DefaultValue = "0")]
public bool? Service10 { get; set; } = false;
/// <summary>
/// Desc:单证
/// </summary>
[SugarColumn(ColumnDescription = "单证", IsNullable = true, DefaultValue = "0")]
public long Doc { get; set; }
/// <summary>
/// Desc:装箱类型
/// </summary>
[SugarColumn(ColumnDescription = "装箱类型", IsNullable = true, Length = 10)]
public string PackingType { get; set; }
/// <summary>
/// Desc:仓库Id
/// </summary>
[SugarColumn(ColumnDescription = "仓库Id", IsNullable = true,DefaultValue ="0")]
public long WareHouseId { get; set; }
/// <summary>
/// Desc:仓库
/// </summary>
[SugarColumn(ColumnDescription = "仓库", IsNullable = true, Length = 20)]
public string WareHouse { get; set; }
/// <summary>
/// VGM截止日期
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "截单日期", IsNullable = true)]
public DateTime? CloseVgmDate { get; set; }
/// <summary>
/// 截单日期
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "截单日期", IsNullable = true)]
public DateTime? CloseDocDate { get; set; }
/// <summary>
/// 截单备注(SI)
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "截单备注(SI)", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string CloseDocRemark { get; set; }
/// <summary>
/// 订舱备注
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "订舱备注", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string BookingRemark { get; set; }
/// <summary>
/// 集港日期
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "集港日期", IsNullable = true)]
public DateTime? IntoPortDocDate { get; set; }
/// <summary>
/// Desc:所属业务部门
/// </summary>
[SugarColumn(ColumnDescription = "所属业务部门", IsNullable = true, DefaultValue = "0")]
public long SaleDeptId { get; set; }
/// <summary>
/// Desc:MBL付费方式 t_code_frt
/// </summary>
[SugarColumn(ColumnDescription = "MBL付费方式", IsNullable = true, Length = 20)]
public string MBLFrt { get; set; }
/// <summary>
/// Desc:结算方式
/// </summary>
[SugarColumn(ColumnDescription = "结算方式", IsNullable = true, Length = 30)]
public string StlName { get; set; }
/// <summary>
/// Desc:月结算时间
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "月结算时间", IsNullable = true)]
public DateTime? StlDate { get; set; }
/// <summary>
/// Desc:委托方式
/// </summary>
[SugarColumn(ColumnDescription = "委托方式", IsNullable = true, Length = 10)]
public string OrderType { get; set; }
/// <summary>
/// Desc:订舱编号
/// </summary>
[SugarColumn(ColumnDescription = "订舱编号", IsNullable = true, Length = 100)]
public string OrderNo { get; set; }
/// <summary>
/// Desc:操作员代码
/// </summary>
[SugarColumn(ColumnDescription = "操作员代码", IsNullable = true, Length = 6)]
public string OperatorCode { get; set; }
/// <summary>
/// Desc:是否为操作
/// </summary>
[SugarColumn(ColumnDescription = "是否为操作", IsNullable = true, DefaultValue = "0")]
public bool IsOperator { get; set; }
/// <summary>
/// Desc:操作员邮箱
/// </summary>
[SugarColumn(ColumnDescription = "操作员邮箱", IsNullable = true, Length = 6)]
public string OperatorEmail { get; set; }
/// <summary>
/// Desc:操作员电话
/// </summary>
[SugarColumn(ColumnDescription = "操作员电话", IsNullable = true, Length = 6)]
public string OperatorTel { get; set; }
/// <summary>
/// Desc:操作员传真
/// </summary>
[SugarColumn(ColumnDescription = "操作员传真", IsNullable = true, Length = 6)]
public string OperatorFax { get; set; }
/// <summary>
/// Desc:场站自结
/// </summary>
[SugarColumn(ColumnDescription = "场站自结", IsNullable = true, Length = 6)]
public string FinancialStaffCode { get; set; }
/// <summary>
/// Desc:是否为财务
/// </summary>
[SugarColumn(ColumnDescription = "是否为财务", IsNullable = true, DefaultValue = "0")]
public bool? IsFinancialStaff { get; set; } = false;
/// <summary>
/// Desc:财务邮箱
/// </summary>
[SugarColumn(ColumnDescription = "财务邮箱", IsNullable = true, Length = 6)]
public string FinancialStaffEmail { get; set; }
/// <summary>
/// Desc:财务电话
/// </summary>
[SugarColumn(ColumnDescription = "财务电话", IsNullable = true, Length = 6)]
public string FinancialStaffTel { get; set; }
/// <summary>
/// Desc:财务传真
/// </summary>
[SugarColumn(ColumnDescription = "财务传真", IsNullable = true, Length = 6)]
public string FinancialStaffFax { get; set; }
/// <summary>
/// Desc:业务来源代码
/// </summary>
[SugarColumn(ColumnDescription = "业务来源代码", IsNullable = true, Length = 10)]
public string SourceCode { get; set; }
/// <summary>
/// Desc:联系人
/// </summary>
[SugarColumn(ColumnDescription = "联系人", IsNullable = true, Length = 35)]
public string LinkMan { get; set; }
/// <summary>
/// Desc:海关代码
/// </summary>
[SugarColumn(ColumnDescription = "海关代码", IsNullable = true, Length = 20)]
public string HSCode { get; set; }
/// <summary>
/// Desc:EDI备注
/// </summary>
[SugarColumn(ColumnDescription = "EDI备注", IsNullable = true, Length = 300)]
public string EdiRemark { get; set; }
/// <summary>
/// Desc:邮件方案
/// </summary>
[SugarColumn(ColumnDescription = "邮件方案", IsNullable = true, DefaultValue = "0")]
public long MailProjectId { get; set; }
/// <summary>
/// Desc:CSR/IR号
/// </summary>
[SugarColumn(ColumnDescription = "CSR/IR号", IsNullable = true, Length = 20)]
public string IRCode { get; set; }
/// <summary>
/// Desc:服务合同号
/// </summary>
[SugarColumn(ColumnDescription = "服务合同号", IsNullable = true, Length = 30)]
public string ServiceContractNo { get; set; }
/// <summary>
/// Desc:申请放箱号
/// </summary>
[SugarColumn(ColumnDescription = "申请放箱号", IsNullable = true, Length = 30)]
public string ApplyNo { get; set; }
/// <summary>
/// Desc:报关单号
/// </summary>
[SugarColumn(ColumnDescription = "报关单号", IsNullable = true, Length = 20)]
public string CustomNo { get; set; }
/// <summary>
/// Desc: 报关日期
/// </summary>
[SugarColumn(ColumnDescription = "报关日期", IsNullable = true)]
public DateTime? CustomDate { get; set; }
/// <summary>
/// 经营单位编码
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "经营单位编码", IsNullable = true)]
public long? EnterpriseId { get; set; }
/// <summary>
/// 经营单位
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "经营单位", IsNullable = true, Length = 60)]
public string Enterprise { get; set; }
/// <summary>
/// Desc:商检单号
/// </summary>
[SugarColumn(ColumnDescription = "商检单号", Length = 50, IsNullable = true)]
public string InspectionNo { get; set; }
/// <summary>
/// Desc:商检日期
/// </summary>
[SugarColumn(ColumnDescription = "商检日期", IsNullable = true)]
public DateTime? InspectionDate { get; set; }
/// <summary>
/// Desc:贸易条款
/// </summary>
[SugarColumn(ColumnDescription = "贸易条款", Length = 20, IsNullable = true)]
public string TradeTerm { get; set; }
/// <summary>
/// Desc:贸易方式
/// </summary>
[SugarColumn(ColumnDescription = "贸易方式", Length = 30, IsNullable = true)]
public string TermDelivery { get; set; }
/// <summary>
/// Desc:清关日期
/// </summary>
[SugarColumn(ColumnDescription = "清关日期", IsNullable = true)]
public DateTime? ClearCustomDate { get; set; }
/// <summary>
/// Desc:报检项目
/// </summary>
[SugarColumn(ColumnDescription = "报检项目", Length = 20, IsNullable = true)]
public string InsperctService { get; set; }
/// <summary>
/// 船代
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "船代", IsNullable = true,Length = 100)]
public string ShipAgency { get; set; }
/// <summary>
/// 船代Id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "船代Id", IsNullable = true)]
public long ShipAgencyId { get; set; }
/// <summary>
/// Desc:湿度
/// </summary>
[SugarColumn(ColumnDescription = "湿度", Length = 20, IsNullable = true)]
public string Humidity { get; set; }
/// <summary>
/// Master发货人
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "Master发货人", IsNullable = true)]
public long? MasterShipperId { get; set; }
/// <summary>
/// Master收货人 t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "Master收货人", IsNullable = true)]
public long? MasterConsigneeId { get; set; }
/// <summary>
/// Master通知人 t_info_client CUSTNAME
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "Master通知人", IsNullable = true)]
public long? MasterNotifyPartyId { get; set; }
/// <summary>
/// Master收货人内容
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "Master收货人内容", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string MasterConsigneeContent { get; set; }
/// <summary>
/// Master通知人内容
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "Master通知人内容", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string MasterNotifyPartyContent { get; set; }
/// <summary>
/// Master发货人内容
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "Master发货人内容", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string MasterShipperContent { get; set; }
/// <summary>
/// Master单描述
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "Master单描述", IsNullable = true, Length = 200)]
public string MasterDescription { get; set; }
/// <summary>
/// Desc:是否SOC
/// </summary>
[SugarColumn(ColumnDescription = "是否SOC", DefaultValue = "0")]
public bool? IsContainerSoc { get; set; } = false;
/// <summary>
/// Desc:运输状态
/// </summary>
[SugarColumn(ColumnDescription = "运输状态", IsNullable = true, Length = 1)]
public string TranStatus { get; set; }
/// <summary>
/// Desc:
/// </summary>
[SugarColumn(ColumnDescription = "", IsNullable = true, Length = 10)]
public string ManifestStatus { get; set; }
/// <summary>
/// 是否多品名
/// </summary>
[SugarColumn(ColumnDescription = "是否多品名", DefaultValue = "0")]
public bool IsMoreGood { get; set; }
/// <summary>
/// 是否打印小票
/// </summary>
[SugarColumn(ColumnDescription = "是否打印小票", DefaultValue = "0")]
public bool IsPrintReceipt { get; set; }
/// <summary>
/// 船名 t_code_vessel
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "船名", IsNullable = true, Length = 60)]
public string Vessel2N { get; set; }
/// <summary>
/// 船名Id t_code_vessel
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "船名Id", IsNullable = true, DefaultValue = "0")]
public long VesselId2N { get; set; }
/// <summary>
/// 二程航次
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "二程航次", IsNullable = true, Length = 12)]
public string Voyno2N { get; set; }
/// <summary>
/// 交货日期
/// </summary>
[SugarColumn(ColumnDescription = "交货日期", IsNullable = true)]
public DateTime? DeliveryDate { get; set; }
/// <summary>
/// 场站联系人
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "场站联系人", IsNullable = true, Length = 20)]
public string YardATTN { get; set; }
/// <summary>
/// 场站联系方式
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "场站联系方式", IsNullable = true, Length = 60)]
public string YardTel { get; set; }
/// <summary>
/// 销售公司Id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "销售公司Id", IsNullable = true, DefaultValue = "0")]
public long SaleOrgId { get; set; }
/// <summary>
/// 中转港Id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "中转港Id", IsNullable = true, DefaultValue = "0")]
public long TransPortId { get; set; }
/// <summary>
/// 中转港
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "中转港", IsNullable = true, Length = 60)]
public string TransPort { get; set; }
/// <summary>
/// 转运备注
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "转运备注", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string TransRemark { get; set; }
/// <summary>
/// 预录
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "预录", IsNullable = true, DefaultValue = "0")]
public int PreRecord { get; set; }
/// <summary>
///
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "", IsNullable = true, Length = 20)]
public string TruckStatus { get; set; }
/// <summary>
/// Desc:
/// </summary>
[SugarColumn(ColumnDescription = "", DefaultValue = "0")]
public bool? IsBookingYDW { get; set; } = false;
/// <summary>
///
/// </summary>
[SugarColumn(ColumnDescription = "", IsNullable = true)]
public DateTime? YDWUpdate { get; set; }
/// <summary>
/// Desc:是否改签
/// </summary>
[SugarColumn(ColumnDescription = "是否改签", DefaultValue = "0")]
public bool? IsChange { get; set; } = false;
/// <summary>
/// Desc:
/// </summary>
[SugarColumn(ColumnDescription = "", IsNullable = true, DefaultValue = "0")]
public int WarnCount { get; set; } = 0;
/// <summary>
/// Desc:提单签发状态
/// </summary>
[SugarColumn(ColumnDescription = "提单签发状态", IsNullable = true, DefaultValue = "0")]
public int BLIssueStatus { get; set; }
/// <summary>
/// Desc:整票提交状态
/// </summary>
[SugarColumn(ColumnDescription = "整票提交状态", IsNullable = true, DefaultValue = "-1")]
public AuditStatusEnum BillSubmitStatus { get; set; }
/// <summary>
/// 是否订阅运踪 0 没有订阅 1 订阅起运港 2 订阅目的港 3 订阅起运港目的港
/// </summary>
[SugarColumn(ColumnDescription = "是否订阅运踪", IsNullable = true, DefaultValue = "0",Length =10)]
public string IsBookingYZ { get; set; }
/// <summary>
/// 委托单位联系人Id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "委托单位联系人Id", IsNullable = false, DefaultValue = "0")]
public long CustomerContactId { get; set; }
/// <summary>
/// 场站联系人Id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "场站联系人Id", IsNullable = false, DefaultValue = "0")]
public long YardContactId { get; set; }
/// <summary>
/// 车队联系人Id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "车队联系人Id", IsNullable = false, DefaultValue = "0")]
public long CarrierContactId { get; set; }
/// <summary>
/// 云港通ETD
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "云港通ETD", IsNullable = true)]
public DateTime? YgtETD { get; set; }
/// <summary>
/// StartATA
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "StartATA", IsNullable = true)]
public DateTime? StartATA { get; set; }
/// <summary>
/// StartETA
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "StartETA", IsNullable = true)]
public DateTime? StartETA { get; set; }
/// <summary>
/// 拆票或合票标志 1-拆票 2-合票
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "拆票或合票标志 1-拆票 2-合票", IsNullable = true,DefaultValue = "0")]
public int SplitOrMergeFlag { get; set; }
/// <summary>
/// Desc:单证人员
/// </summary>
[SugarColumn(ColumnDescription = "单证人员", IsNullable = true, Length = 30)]
public string DocName { get; set; }
/// <summary>
/// 操作员名称
/// </summary>
[SugarColumn(ColumnDescription = "操作员", IsNullable = true, Length = 30)]
public string OperatorName { get; set; }
/// <summary>
/// 客服名称
/// </summary>
[SugarColumn(ColumnDescription = "客服名称", IsNullable = true,Length = 30)]
public string CustomerServiceName { get; set; }
/// <summary>
/// 外国客服名称
/// </summary>
[SugarColumn(ColumnDescription = "外国客服名称", IsNullable = true, Length = 30)]
public string ForeignCustomerServiceName { get; set; }
/// <summary>
/// 截VGM时间
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "截VGM时间", IsNullable = true)]
public DateTime? VGMCloseDate { get; set; }
/// <summary>
/// 单证备注
/// </summary>
[SugarColumn(ColumnDescription = "单证备注", IsNullable = true, Length = 100)]
public string DocRemark { get; set; }
/// <summary>
/// 操作备注
/// </summary>
[SugarColumn(ColumnDescription = "操作备注", IsNullable = true, Length = 100)]
public string OperatorRemark { get; set; }
/// <summary>
/// 申请箱使
/// </summary>
[SugarColumn(ColumnDescription = "申请箱使", IsNullable = true, Length = 100)]
public string ApplyCtnRemark { get; set; }
/// <summary>
/// 装运方式代码 整箱、拼箱单票、拼箱主票、拼箱分票代码
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "装运方式代码", IsNullable = false, Length = 30)]
public string BLTypeCode { get; set; }
/// <summary>
/// Desc:结算方式代码
/// </summary>
[SugarColumn(ColumnDescription = "结算方式代码", IsNullable = true, Length = 30)]
public string StlCode { get; set; }
/// <summary>
/// Desc:贸易方式代码
/// </summary>
[SugarColumn(ColumnDescription = "贸易方式代码", Length = 30, IsNullable = true)]
public string TermDeliveryCode { get; set; }
/// <summary>
/// Desc:贸易条款代码
/// </summary>
[SugarColumn(ColumnDescription = "贸易条款代码", Length = 30, IsNullable = true)]
public string TradeTermCode { get; set; }
/// <summary>
/// 签单方式代码 t_code_issutype
/// </summary>
[SugarColumn(ColumnDescription = "签单方式代码", IsNullable = true, Length = 30)]
public string IssueTypeCode { get; set; }
/// <summary>
/// Desc:MBL付费方式代码 t_code_frt
/// </summary>
[SugarColumn(ColumnDescription = "MBL付费方式代码", IsNullable = true, Length = 30)]
public string MBLFrtCode { get; set; }
/// <summary>
/// 运输条款代码 CY-CY t_code_service
/// </summary>
[SugarColumn(ColumnDescription = "运输条款代码", IsNullable = true, Length = 30)]
public string ServiceCode { get; set; }
/// <summary>
/// 最后下货纸比对状态 NO_DIFF-无异常;DIFF-有差异;NO_YARD-无场站数据;EXPT-异常
/// </summary>
[SugarColumn(ColumnDescription = "最后下货纸比对状态", IsNullable = true, Length = 20)]
public string LstShipOrderCompareRlt { get; set; }
/// <summary>
/// 最后下货纸比对时间
/// </summary>
[SugarColumn(ColumnDescription = "最后下货纸比对时间", IsNullable = true)]
public Nullable<DateTime> LstShipOrderCompareDate { get; set; }
/// <summary>
/// 最后下货纸比对批次号
/// </summary>
[SugarColumn(ColumnDescription = "最后下货纸比对批次号", IsNullable = true, Length = 64)]
public string LstShipOrderCompareId { get; set; }
/// <summary>
/// 最后下货纸比对状态 NO_DIFF-无异常;DIFF-有差异;NO_YARD-无场站数据;EXPT-异常
/// </summary>
[SugarColumn(ColumnDescription = "最后下货纸比对状态", IsNullable = true, Length = 30)]
public string LstShipOrderCompareRltName { get; set; }
/// <summary>
/// 最后下货纸比对方式 MANUAL-手动 AUTO-自动
/// </summary>
[SugarColumn(ColumnDescription = "最后下货纸比对方式 MANUAL-手动 AUTO-自动", IsNullable = true, Length = 20)]
public string LstShipOrderCompareMode { get; set; }
/// <summary>
/// 最后格式单比对状态 NO_DIFF-无异常;DIFF-有差异;
/// </summary>
[SugarColumn(ColumnDescription = "最后格式单比对状态 NO_DIFF-无异常;DIFF-有差异", IsNullable = true, Length = 20)]
public string LstDraftCompareRlt { get; set; }
/// <summary>
/// 最后格式单比对时间
/// </summary>
[SugarColumn(ColumnDescription = "最后格式单比对时间", IsNullable = true)]
public Nullable<DateTime> LstDraftCompareDate { get; set; }
/// <summary>
/// 中转港代码
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "中转港代码", IsNullable = true, Length = 60)]
public string TransPortCode { get; set; }
/// <summary>
/// 收货地代码
/// </summary>
[SugarColumn(ColumnDescription = "收货地代码", IsNullable = true, Length = 100)]
public string ReceiptPlaceCode { get; set; }
/// <summary>
/// 装货港代码
/// </summary>
[SugarColumn(ColumnDescription = "装货港代码", IsNullable = true, Length = 100)]
public string LoadPortCode { get; set; }
/// <summary>
/// 卸货港代码
/// </summary>
[SugarColumn(ColumnDescription = "卸货港代码", IsNullable = true, Length = 100)]
public string DischargePortCode { get; set; }
/// <summary>
/// 交货地代码
/// </summary>
[SugarColumn(ColumnDescription = "交货地代码", IsNullable = true, Length = 100)]
public string DeliveryPlaceCode { get; set; }
/// <summary>
/// 目的地代码
/// </summary>
[SugarColumn(ColumnDescription = "目的地代码", IsNullable = true, Length = 100)]
public string DestinationCode { get; set; }
/// <summary>
/// 预付地点
/// </summary>
[SugarColumn(ColumnDescription = "预付地点", IsNullable = true, Length = 50)]
public string PayableAtCode { get; set; }
/// <summary>
/// 第三付款地代码
/// </summary>
[SugarColumn(ColumnDescription = "第三付款地代码", IsNullable = true, Length = 50)]
public string ThirdPayAtCode { get; set; }
/// <summary>
/// 签单地点代码
/// </summary>
[SugarColumn(ColumnDescription = "签单地点代码", IsNullable = true, Length = 100)]
public string IssuePlaceCode { get; set; }
/// <summary>
/// 所属分部名称
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "所属分部名称", IsNullable = true, Length = 100)]
public string SaleOrgName { get; set; }
/// <summary>
/// 订舱类型
/// </summary>
[SugarColumn(ColumnDescription = "订舱类型", IsNullable = true, Length = 50)]
public string BookingType { get; set; }
/// <summary>
/// 舱位类型
/// </summary>
[SugarColumn(ColumnDescription = "舱位类型", IsNullable = true, Length = 50)]
public string ShippingSpaceType { get; set; }
/// <summary>
/// 出单方式
/// </summary>
[SugarColumn(ColumnDescription = "出单方式", IsNullable = true, Length = 50)]
public string IssuingWay { get; set; }
/// <summary>
/// 约主Id
/// </summary>
[SugarColumn(ColumnDescription = "约主Id", IsNullable = true, DefaultValue ="0")]
public long ContractClientId { get; set; }
/// <summary>
/// 约主名称
/// </summary>
[SugarColumn(ColumnDescription = "约主名称", IsNullable = true, Length = 100)]
public string ContractClientName { get; set; }
/// <summary>
/// 包装名称 t_code_package
/// </summary>
[SugarColumn(ColumnDescription = "包装名称", IsNullable = true, Length = 50)]
public string KindPkgsName { get; set; }
/// <summary>
/// 船司航线
/// </summary>
[SugarColumn(ColumnDescription = "船司航线", IsNullable = true, Length = 100)]
public string CarrierLane { get; set; }
/// <summary>
/// SO备注
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "SO备注", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string SORemark { get; set; }
/// <summary>
/// 签单要求
/// </summary>
[SugarColumn(ColumnDescription = "签单要求", IsNullable = true, Length = 200)]
public string IssueRemark { get; set; }
/// <summary>
/// 开港时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "开港时间")]
public DateTime? OpenPortDate { get; set; }
/// <summary>
/// Desc:业务来源名称
/// </summary>
[SugarColumn(ColumnDescription = "业务来源名称", Length = 100, IsNullable = true)]
public string SourceName { get; set; }
/// <summary>
/// Desc:业务来源明细名称
/// </summary>
[SugarColumn(ColumnDescription = "业务来源明细名称", Length = 100, IsNullable = true)]
public string SourceDetailName { get; set; }
/// <summary>
/// 航线人员Id
/// </summary>
[SugarColumn(ColumnDescription = "航线人员Id", IsNullable = true)]
public long? LanerId { get; set; }
/// <summary>
/// 航线人员名称
/// </summary>
[SugarColumn(ColumnDescription = "航线人员名称", IsNullable = true, Length = 100)]
public string Laner { get; set; }
/// <summary>
/// 所属业务部门名称
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "所属业务部门名称", IsNullable = true, Length = 100)]
public string SaleDeptName { get; set; }
}