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.

1979 lines
66 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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