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