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; }
/////
///// 单据费用状态
/////
//[SqlSugar.SugarColumn(ColumnDescription = "单据费用状态", IsNullable = false, DefaultValue = "0")]
//public int BillFeeStatus { get; set; }
/////
///// 单据费用状态名称
/////
//[SqlSugar.SugarColumn(ColumnDescription = "单据费用状态名称", IsNullable = true, Length = 50)]
//public string BillFeeStatusName { get; set; }
/////
///// 单据费用状态时间
/////
//[SqlSugar.SugarColumn(ColumnDescription = "单据费用状态时间", IsNullable = true)]
//public DateTime? BillFeeStatusTime { get; set; }
/////
///// 费用状态
/////
//[SqlSugar.SugarColumn(ColumnDescription = "费用状态", IsNullable = false, DefaultValue = "0")]
//public int FeeStatus { 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 = true)]
public DateTime? BusinessDate { get; set; } = DateTime.Now;
///
/// 财务日期
///
[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 = 8)]
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; }
///
/// 收货人 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; }
///
/// 交货地代码
///
[SugarColumn(ColumnDescription = "交货地代码", IsNullable = true)]
public long DeliveryPlaceId { get; set; }
///
/// 交货地
///
[SugarColumn(ColumnDescription = "交货地", IsNullable = true, Length = 60)]
public string DeliveryPlace { get; set; }
///
/// 目的地代码
///
[SugarColumn(ColumnDescription = "目的地代码", 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; }
///
/// 预付地点
///
[SugarColumn(ColumnDescription = "预付地点", IsNullable = true, Length = 50)]
public string PayableAt { 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:仓库
///
[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 = 10, 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 long 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; }
///
/// 中转港代码
///
[SqlSugar.SugarColumn(ColumnDescription = "中转港代码", IsNullable = true, Length = 60)]
public string TransportCode { 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; }
}