using System;
using SqlSugar;
using System.ComponentModel;
using Myshipping.Core.Entity;
namespace Myshipping.Application.Entity
{
///
/// 订舱主表
///
[SugarTable("booking_order")]
[Description("订舱主表")]
public class BookingOrder : DBEntityTenant
{
///
/// 第三方系统编号
///
//[Description("第三方系统编号")]
public string BSNO { get; set; }
///
/// 业务状态
///
//[Description("业务状态")]
public string BSSTATUS { get; set; }
///
/// 业务状态名称
///
//[Description("业务状态")]
public string BSSTATUSNAME { get; set; }
///
/// 业务日期
///
//[Description("业务日期")]
public DateTime? BSDATE { get; set; }
///
/// 主提单号
///
[Description("主提单号")]
public string MBLNO { get; set; }
///
/// 分提单号
///
[Description("分提单号")]
public string HBLNO { get; set; }
///
/// 业务编号
///
[Description("业务编号")]
public string BOOKINGNO { get; set; }
///
/// 合约号
///
[Description("合约号")]
public string CONTRACTNO { get; set; }
///
/// 客户合同号
///
[Description("客户合同号")]
public string SERVICECONTRACTNO { get; set; }
///
/// 发货人代码
///
//[Description("发货人代码")]
public string SHIPPERID { get; set; }
///
/// 收货人代码
///
//[Description("收货人代码")]
public string CONSIGNEEID { get; set; }
///
/// 通知人代码
///
//[Description("通知人代码")]
public string NOTIFYPARTYID { get; set; }
///
/// 发货人
///
[Description("发货人")]
public string SHIPPER { get; set; }
///
/// 收货人
///
[Description("收货人")]
public string CONSIGNEE { get; set; }
///
/// 通知人
///
[Description("通知人")]
public string NOTIFYPARTY { get; set; }
///
/// 第二通知人
///
[Description("第二通知人")]
public string NOTIFYPARTY2 { get; set; }
///
/// 场站代码
///
//[Description("场站代码")]
public string YARDID { get; set; }
///
/// 场站
///
[Description("场站")]
public string YARD { get; set; }
///
/// 船舶呼号
///
[Description("船舶呼号")]
public string VESSELID { get; set; }
///
/// 船名
///
[Description("船名")]
public string VESSEL { get; set; }
///
/// 海关航次
///
[Description("海关航次")]
public string VOYNO { get; set; }
///
/// 内部航次
///
[Description("内部航次")]
public string VOYNOINNER { get; set; }
///
/// 截港日期
///
[Description("截港日期")]
public DateTime? CLOSINGDATE { get; set; }
///
/// 截单日期
///
[Description("截单日期")]
public DateTime? CLOSEDOCDATE { get; set; }
///
/// 截VGM时间
///
[Description("截VGM时间")]
public DateTime? CLOSEVGMDATE { get; set; }
///
/// 收货地代码
///
//[Description("收货地代码")]
public string PLACERECEIPTID { get; set; }
///
/// 收货地
///
[Description("收货地")]
public string PLACERECEIPT { get; set; }
///
/// 起运港代码
///
[Description("起运港代码")]
public string PORTLOADID { get; set; }
///
/// 起运港
///
[Description("装货港")]
public string PORTLOAD { get; set; }
///
/// 卸货港代码
///
[Description("卸货港代码")]
public string PORTDISCHARGEID { get; set; }
///
/// 卸货港
///
[Description("卸货港")]
public string PORTDISCHARGE { get; set; }
///
/// 交货地代码
///
[Description("交货地代码")]
public string PLACEDELIVERYID { get; set; }
///
/// 交货地
///
[Description("交货地")]
public string PLACEDELIVERY { get; set; }
///
/// 目的地代码
///
[Description("目的地代码")]
public string DESTINATIONID { get; set; }
///
///
///
/// 目的地
///
[Description("目的地")]
public string DESTINATION { get; set; }
///
/// 提单份数
///
[Description("提单份数")]
public string NOBILL { get; set; }
///
/// 副本提单份数
///
[Description("副本提单份数")]
public string COPYNOBILL { get; set; }
///
/// 签单方式
///
[Description("签单方式")]
public string ISSUETYPE { get; set; }
///
/// 签单日期
///
[Description("签单日期")]
public DateTime? ISSUEDATE { get; set; }
///
/// 签单地点代码
///
[Description("签单地点代码")]
public string ISSUEPLACEID { get; set; }
///
/// 签单地点
///
[Description("签单地点")]
public string ISSUEPLACE { get; set; }
///
/// 付费方式
///
[Description("付费方式")]
public string BLFRT { get; set; }
///
/// 预付地点
///
[Description("预付地点")]
public string PREPARDAT { get; set; }
///
/// 到付地点
///
[Description("到付地点")]
public string PAYABLEAT { get; set; }
///
/// 运输条款
///
[Description("运输条款")]
public string SERVICE { get; set; }
///
/// 唛头
///
[Description("唛头")]
public string MARKS { get; set; }
///
/// HS代码
///
[Description("HS代码")]
public string HSCODE { get; set; }
///
/// 货描
///
[Description("货描")]
public string DESCRIPTION { get; set; }
///
/// 件数
///
[Description("件数")]
public int? PKGS { get; set; }
///
/// 包装
///
[Description("包装")]
public string KINDPKGS { get; set; }
///
/// 毛重
///
[Description("重量")]
public decimal? KGS { get; set; }
///
/// 尺码
///
[Description("尺码")]
public decimal? CBM { get; set; }
///
/// 件数大写
///
[Description("件数大写")]
public string TOTALNO { get; set; }
///
/// 箱型箱量
///
[Description("箱型箱量")]
public string CNTRTOTAL { get; set; }
///
/// 船公司代号
///
[Description("船公司代号")]
public string CARRIERID { get; set; }
///
/// 船公司
///
[Description("船公司")]
public string CARRIER { get; set; }
///
/// 货物标识
///
[Description("货物标识")]
public string CARGOID { get; set; }
///
/// 危险品类别
///
[Description("危险品类别")]
public string DCLASS { get; set; }
///
/// 危险品编号
///
[Description("危险品编号")]
public string DUNNO { get; set; }
///
/// 危险品页号
///
[Description("危险品页号")]
public string DPAGE { get; set; }
///
/// 危险品标签
///
[Description("危险品标签")]
public string DLABEL { get; set; }
///
/// 危险品联系人
///
[Description("危险品联系人")]
public string LINKMAN { get; set; }
///
/// 危险品联系电话
///
[Description("危险品联系电话")]
public string DTEL { get; set; }
///
/// 温度单位
///
[Description("温度单位")]
public string TEMPID { get; set; }
///
/// 设置温度
///
[Description("设置温度")]
public string TEMPSET { get; set; }
///
/// 通风度
///
[Description("通风度")]
public string REEFERF { get; set; }
///
/// 湿度
///
[Description("湿度")]
public string HUMIDITY { get; set; }
///
/// 最低温度
///
[Description("最低温度")]
public string TEMPMIN { get; set; }
///
/// 最高温度
///
[Description("最高温度")]
public string TEMPMAX { get; set; }
///
/// 是否SOC箱
///
[Description("是否SOC箱")]
public bool? ISCONTAINERSOC { get; set; }
///
/// SO备注
///
[Description("SO备注")]
public string SOREMARK { get; set; }
///
/// SI备注
///
[Description("SI备注")]
public string SIREMARK { get; set; }
///
/// 场站备注
///
[Description("场站备注")]
public string YARDREMARK { get; set; }
///
/// 公司ID
///
//[Description("公司ID")]
public string COMPID { get; set; }
///
/// 公司名称
///
[Description("公司名称")]
public string COMPNAME { get; set; }
///
/// 发货人名称
///
[Description("发货人名称")]
public string SHIPPERNAME { get; set; }
///
/// 发货人地址1
///
[Description("发货人地址1")]
public string SHIPPERADDR1 { get; set; }
///
/// 发货人地址2
///
[Description("发货人地址2")]
public string SHIPPERADDR2 { get; set; }
///
/// 发货人地址3
///
[Description("发货人地址3")]
public string SHIPPERADDR3 { get; set; }
///
/// 发货人城市
///
[Description("发货人城市")]
public string SHIPPERCITY { get; set; }
///
/// 发货人省份代码
///
[Description("发货人省份代码")]
public string SHIPPERPROVINCE { get; set; }
///
/// 发货人邮编
///
[Description("发货人邮编")]
public string SHIPPERPOSTCODE { get; set; }
///
/// 发货人国家代码
///
[Description("发货人国家代码")]
public string SHIPPERCOUNTRY { get; set; }
///
/// 发货人联系人
///
[Description("发货人联系人")]
public string SHIPPERATTN { get; set; }
///
/// 发货人电话
///
[Description("发货人电话")]
public string SHIPPERTEL { get; set; }
///
/// 收货人名称
///
[Description("收货人名称")]
public string CONSIGNEENAME { get; set; }
///
/// 收货人地址1
///
[Description("收货人地址1")]
public string CONSIGNEEADDR1 { get; set; }
///
/// 收货人地址2
///
[Description("收货人地址2")]
public string CONSIGNEEADDR2 { get; set; }
///
/// 收货人地址3
///
[Description("收货人地址3")]
public string CONSIGNEEADDR3 { get; set; }
///
/// 收货人城市
///
[Description("收货人城市")]
public string CONSIGNEECITY { get; set; }
///
/// 收货人省份代码
///
[Description("收货人省份代码")]
public string CONSIGNEEPROVINCE { get; set; }
///
/// 收货人邮编
///
[Description("收货人邮编")]
public string CONSIGNEEPOSTCODE { get; set; }
///
/// 收货人国家代码
///
[Description("收货人国家代码")]
public string CONSIGNEERCOUNTRY { get; set; }
///
/// 收货人联系人
///
[Description("收货人联系人")]
public string CONSIGNEEATTN { get; set; }
///
/// 收货人电话
///
[Description("收货人电话")]
public string CONSIGNEETEL { get; set; }
///
/// 通知人名称
///
[Description("通知人名称")]
public string NOTIFYPARTYNAME { get; set; }
///
/// 通知人地址1
///
[Description("通知人地址1")]
public string NOTIFYPARTYADDR1 { get; set; }
///
/// 通知人地址2
///
[Description("通知人地址2")]
public string NOTIFYPARTYADDR2 { get; set; }
///
/// 通知人地址3
///
[Description("通知人地址3")]
public string NOTIFYPARTYADDR3 { get; set; }
///
/// 通知人城市
///
[Description("通知人城市")]
public string NOTIFYPARTYCITY { get; set; }
///
/// 通知人省份代码
///
[Description("通知人省份代码")]
public string NOTIFYPARTYPROVINCE { get; set; }
///
/// 通知人邮编
///
[Description("通知人邮编")]
public string NOTIFYPARTYPOSTCODE { get; set; }
///
/// 通知人国家代码
///
[Description("通知人国家代码")]
public string NOTIFYPARTYCOUNTRY { get; set; }
///
/// 通知人联系人
///
[Description("通知人联系人")]
public string NOTIFYPARTYATTN { get; set; }
///
/// 通知人电话
///
[Description("通知人电话")]
public string NOTIFYPARTYTEL { get; set; }
///
/// PO号
///
[Description("PO号")]
public string PONO { get; set; }
///
/// 操作id
///
public string OPID { get; set; }
///
/// 单证id
///
public string DOCID { get; set; }
///
/// 操作
///
[Description("操作")]
public string OP { get; set; }
///
/// 单证
///
//[Description("单证")]
public string DOC { get; set; }
///
/// 销售ID
///
public string SALEID { get; set; }
///
/// 销售
///
[Description("销售")]
public string SALE { get; set; }
///
/// 客服ID
///
public string CUSTSERVICEID { get; set; }
///
/// 客服
///
[Description("客服")]
public string CUSTSERVICE { get; set; }
///
/// 委托单位
///
[Description("委托单位")]
public string CUSTOMERNAME { get; set; }
///
/// 订舱代理
///
[Description("订舱代理")]
public string FORWARDER { get; set; }
///
/// 船代
///
[Description("船代")]
public string SHIPAGENCY { get; set; }
///
/// 报关行
///
[Description("报关行")]
public string CUSTOMSER { get; set; }
///
/// 车队
///
[Description("车队")]
public string TRUCKER { get; set; }
///
/// 国外代理
///
[Description("国外代理")]
public string AGENTID { get; set; }
///
/// 客户ID
///
public long? CUSTOMERID { get; set; }
///
/// 订舱代理ID
///
public string FORWARDERID { get; set; }
///
/// 船代ID
///
public string SHIPAGENCYID { get; set; }
///
/// 报关行ID
///
public string CUSTOMSERID { get; set; }
///
/// 车队ID
///
public string TRUCKERID { get; set; }
///
/// 国外代理名称
///
[Description("国外代理名称")]
public string AGENTNAME { get; set; }
///
/// 委托方
///
[Description("委托方")]
public string WEITUO { get; set; }
///
/// 收货人DOOR地址
///
[Description("收货人DOOR地址")]
public string CONSIGNEEDOORADDR { get; set; }
///
/// 发货人DOOR地址
///
[Description("发货人DOOR地址")]
public string SHIPPERDOORADDR { get; set; }
///
/// SCAC代码
///
[Description("SCAC代码")]
public string SCACCODE { get; set; }
///
/// ITN编号
///
[Description("ITN编号")]
public string ITNCODE { get; set; }
///
/// 预付地点ID
///
public string PREPARDATID { get; set; }
///
/// 到付地点ID
///
public string PAYABLEATID { get; set; }
///
/// 订舱编号
///
[Description("订舱编号")]
public string CUSTNO { get; set; }
///
/// 中转港代码
///
[Description("中转港代码")]
public string TRANSPORTID { get; set; }
///
/// 中转港
///
[Description("中转港")]
public string TRANSPORT { get; set; }
///
/// 第三付款地
///
[Description("第三付款地")]
public string THIRDPAYADDR { get; set; }
///
/// 场站联系人
///
[Description("场站联系人")]
public string YARDCONTRACT { get; set; }
///
/// 场站联系人电话
///
[Description("场站联系人电话")]
public string YARDCONTRACTTEL { get; set; }
///
/// 场站联系人邮箱
///
[Description("场站联系人邮箱")]
public string YARDCONTRACTEMAIL { get; set; }
///
/// 费用自结
///
[Description("费用自结")]
public bool? FEESELF { get; set; }
///
/// 航线代码(船公司)
///
[Description("航线代码")]
public string LANECODE { get; set; }
///
/// 航线名称(船公司)
///
[Description("船司航线")]
public string LANENAME { get; set; }
///
/// 付款方
///
[Description("付款方")]
public string FREIGHTPAYER { get; set; }
///
/// 品名代码
///
[Description("品名代码")]
public string GOODSCODE { get; set; }
///
/// 品名
///
[Description("品名")]
public string GOODSNAME { get; set; }
///
/// 租户名称
///
//[Description("租户名称")]
public string TenantName { get; set; }
///
/// 主单ID
///
//[Description("主单ID")]
public long? ParentId { get; set; }
///
/// 件数合计
///
[Description("件数合计")]
public string PKGSTOTAL { get; set; }
///
/// 毛重合计
///
[Description("毛重合计")]
public string KGSTOTAL { get; set; }
///
/// 尺寸合计
///
[Description("尺寸合计")]
public string CBMTOTAL { get; set; }
///
/// 航线操作ID
///
public string ROUTEID { get; set; }
///
/// 航线操作
///
[Description("航线操作")]
public string ROUTE { get; set; }
///
/// 仓库
///
[Description("仓库")]
public string Warehouse { get; set; }
///
/// 仓库ID
///
public string WarehouseID { get; set; }
///
/// ep号(作废,使用真提单号字段)
///
[Description("ep号")]
public string EPCode { get; set; }
///
/// 航线
///
[Description("航线")]
public string LineName { get; set; }
///
/// 单证备注
///
[Description("单证备注")]
public string DZRemark { get; set; }
///
/// 操作备注
///
[Description("操作备注")]
public string CZRemark { get; set; }
///
/// 真提单号
///
[Description("真提单号")]
public string TMBLNO { get; set; }
///
/// 装运方式
///
[Description("装运方式")]
public string ShippingMethod { get; set; }
///
/// 航线管理
///
[Description("航线管理")]
public string LineManage { get; set; }
///
/// 航线管理ID
///
public string LineManageID { get; set; }
///
/// 最后下货纸比对状态 NO_DIFF-无异常;DIFF-有差异;NO_YARD-无场站数据;EXPT-异常
///
[Description("下货纸比对")]
public string LstShipOrderCompareRlt { get; set; }
///
/// 最后下货纸比对时间
///
public Nullable LstShipOrderCompareDate { get; set; }
///
/// 最后下货纸比对批次号
///
public string LstShipOrderCompareId { get; set; }
///
/// 最后下货纸比对状态 NO_DIFF-无异常;DIFF-有差异;NO_YARD-无场站数据;EXPT-异常
///
public string LstShipOrderCompareRltName { get; set; }
///
/// 最后下货纸比对方式 MANUAL-手动 AUTO-自动
///
public string LstShipOrderCompareMode { get; set; }
///
/// 是否占舱
///
[Description("是否占舱")]
public string ZhanCangFlag { get; set; }
///
/// 业务来源代码
///
public string SourceCode { get; set; }
///
/// 业务来源名称
///
public string SourceName { get; set; }
#region 船舶日期相关
///
/// 开船日期(船司提供的开船日期,操作填写)
///
[Description("开船日期")]
public DateTime? ETD { get; set; }
///
/// 运港通ETD(爬取的ETD)
///
[Description("ETD")]
public DateTime? YgtETD { get; set; }
///
/// 实际开船日期
///
[Description("实际开船日期")]
public DateTime? ATD { get; set; }
///
/// 预计到港日期(目的港)
///
[Description("目的港ETA")]
public DateTime? ETA { get; set; }
///
/// 起始港预抵日期
///
[Description("预抵日期")]
public DateTime? StartETA { get; set; }
///
/// 起始港实际抵港
///
[Description("实际抵港")]
public DateTime? StartATA { get; set; }
///
/// 中转预抵
///
[Description("预抵日期")]
public DateTime? MiddleETA { get; set; }
///
/// 中转预计离港
///
[Description("中转预计离港")]
public DateTime? MiddleETD { get; set; }
///
/// 中转实际到港
///
[Description("中转实际到港")]
public DateTime? MiddleATA { get; set; }
///
/// 中转实际离港
///
[Description("中转实际离港")]
public DateTime? MiddleATD { get; set; }
///
/// 实际到港(目的港)
///
[Description("实际到港")]
public DateTime? ATA { get; set; }
#endregion
///
/// 申请箱使
///
[Description("申请箱使")]
public string ShenQingXiangShi { get; set; }
///
/// 三方付费
///
public string ThirdPay { get; set; }
///
/// 三方付费Code
///
public string ThirdPayCode { get; set; }
///
/// 境外代理
///
public string ForeignAgent { get; set; }
///
/// 版本号
///
public string VERSION { get; set; }
}
}