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.
BookingHeChuan/Myshipping.Application/Entity/BookingOrder.cs

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