using DS.Module.Core.Data; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Op.Entity { /// /// 预订舱记录表 /// [SqlSugar.SugarTable("op_sea_space_booking_order", "预订舱记录表")] public class SpaceBookingOrder : BaseModel { /// /// 订舱id /// [SqlSugar.SugarColumn(ColumnDescription = "订舱id", IsNullable = true)] public Nullable BookingId { get; set; } /// /// 船公司代号 /// [SqlSugar.SugarColumn(ColumnDescription = "船公司代号", Length = 20, IsNullable = true)] public string CarrierCode { get; set; } /// /// 船公司名称 /// [SqlSugar.SugarColumn(ColumnDescription = "船公司名称", Length = 20, IsNullable = true)] public string CarrierName { get; set; } /// /// 合约号主键 /// [SqlSugar.SugarColumn(ColumnDescription = "合约号主键", IsNullable = true)] public Nullable PriceReferenceId { get; set; } /// /// 合约号 /// [SqlSugar.SugarColumn(ColumnDescription = "合约号", Length = 64, IsNullable = true)] public string PriceReference { get; set; } /// /// 合约号名称 /// [SqlSugar.SugarColumn(ColumnDescription = "合约号名称", Length = 100, IsNullable = true)] public string PriceReferenceName { get; set; } /// /// 产品类型 /// [SqlSugar.SugarColumn(ColumnDescription = "产品类型", Length = 64, IsNullable = true)] public string ProductCode { get; set; } /// /// 请求类别 /// [SqlSugar.SugarColumn(ColumnDescription = "请求类别", Length = 64, IsNullable = true)] public string Sender { get; set; } /// /// 订舱公司名称(英文全称) /// [SqlSugar.SugarColumn(ColumnDescription = "订舱公司名称(英文全称)", Length = 200, IsNullable = true)] public string BookedByCompanyName { get; set; } /// /// 订舱公司代码 /// [SqlSugar.SugarColumn(ColumnDescription = "订舱公司名称(英文全称)", Length = 200, IsNullable = true)] public string BookedByCompanyPartyCode { get; set; } /// /// 订舱公司联系人名称 /// [SqlSugar.SugarColumn(ColumnDescription = "订舱公司联系人名称", Length = 200, IsNullable = true)] public string BookedByCompanyContact { get; set; } /// /// 订舱公司联系人邮箱 /// [SqlSugar.SugarColumn(ColumnDescription = "订舱公司联系人邮箱", Length = 100, IsNullable = true)] public string BookedByCompanyContactEmail{ get; set; } /// /// 当前订舱公司是否也是合约方 1-标识合约信息跟订舱公司一致,0-标识有单独的合约方 /// [SqlSugar.SugarColumn(ColumnDescription = "当前订舱公司是否也是合约方 1-标识合约信息跟订舱公司一致,0-标识有单独的合约方", Length = 100, IsNullable = true, DefaultValue = "0")] public bool IsBookingPartOwnPrice { get; set; } = false; /// /// 价格所有者公司名称 /// [SqlSugar.SugarColumn(ColumnDescription = "价格所有者公司名称", Length = 200, IsNullable = true)] public string PriceOwnerCompanyName { get; set; } /// /// 价格所有者代码 /// [SqlSugar.SugarColumn(ColumnDescription = "价格所有者代码", Length = 64, IsNullable = true)] public string PriceOwnerCompanyPartyCode { get; set; } /// /// 价格所有者公司联系人名称 /// [SqlSugar.SugarColumn(ColumnDescription = "价格所有者公司联系人名称", Length = 200, IsNullable = true)] public string PriceOwnerCompanyContact { get; set; } /// /// 价格所有者公司联系人邮箱 /// [SqlSugar.SugarColumn(ColumnDescription = "价格所有者公司联系人邮箱", Length = 100, IsNullable = true)] public string PriceOwnerCompanyContactEmail { get; set; } /// /// 价格所有者合约号主键 /// [SqlSugar.SugarColumn(ColumnDescription = "价格所有者合约号主键", IsNullable = true)] public Nullable PriceOwnerReferenceId { get; set; } /// /// 价格所有者合约号 /// [SqlSugar.SugarColumn(ColumnDescription = "价格所有者合约号", Length = 64, IsNullable = true)] public string PriceOwnerReference { get; set; } /// /// 价格所有者合约号名称 /// [SqlSugar.SugarColumn(ColumnDescription = "价格所有者合约号名称", Length = 100, IsNullable = true)] public string PriceOwnerReferenceName { get; set; } /// /// 承运人代码 /// [SqlSugar.SugarColumn(ColumnDescription = "承运人代码", Length = 64, IsNullable = true)] public string APICarrierCode { get; set; } /// /// 最早起运日期 /// [SqlSugar.SugarColumn(ColumnDescription = "最早起运日期", IsNullable = true)] public Nullable EarliestDepartureDate{ get; set; } /// /// 出口服务类型 /// [SqlSugar.SugarColumn(ColumnDescription = "出口服务类型", Length = 10, IsNullable = true)] public string ExportServiceMode { get; set; } /// /// 进口服务类型 /// [SqlSugar.SugarColumn(ColumnDescription = "进口服务类型", Length = 10, IsNullable = true)] public string ImportServiceMode { get; set; } /// /// 收货地城市英文名称 /// [SqlSugar.SugarColumn(ColumnDescription = "收货地城市英文名称", Length = 120, IsNullable = true)] public string PlaceReceiptCity { get; set; } /// /// 收货地UN地点代码 /// [SqlSugar.SugarColumn(ColumnDescription = "收货地UN地点代码", Length = 10, IsNullable = true)] public string PlaceReceiptUnlocCode { get; set; } /// /// 收货地国家代码 /// [SqlSugar.SugarColumn(ColumnDescription = "收货地国家代码", Length = 3, IsNullable = true)] public string PlaceReceiptCountryCode { get; set; } /// /// 收货地代码 /// [SqlSugar.SugarColumn(ColumnDescription = "收货地代码", Length = 5, IsNullable = true)] public string PlaceReceiptId { get; set; } /// /// 收货地 /// [SqlSugar.SugarColumn(ColumnDescription = "收货地", Length = 120, IsNullable = true)] public string PlaceReceipt { get; set; } /// /// 交货地城市英文名称 /// [SqlSugar.SugarColumn(ColumnDescription = "交货地城市英文名称", Length = 120, IsNullable = true)] public string PlaceDeliveryCity { get; set; } /// /// 交货地UN地点代码 /// [SqlSugar.SugarColumn(ColumnDescription = "交货地UN地点代码", Length = 10, IsNullable = true)] public string PlaceDeliveryUnlocCode { get; set; } /// /// 交货地国家代码 /// [SqlSugar.SugarColumn(ColumnDescription = "交货地国家代码", Length = 3, IsNullable = true)] public string PlaceDeliveryCountryCode { get; set; } /// /// 预计开船日期 /// [SqlSugar.SugarColumn(ColumnDescription = "预计开船日期", IsNullable = true)] public Nullable ETD { get; set; } /// /// 预计到港日期 /// [SqlSugar.SugarColumn(ColumnDescription = "预计到港日期", IsNullable = true)] public Nullable ETA { get; set; } /// /// 预计航行天数 /// [SqlSugar.SugarColumn(ColumnDescription = "预计航行天数", IsNullable = true)] public Nullable EstSailingDays { get; set; } /// /// 船名 /// [SqlSugar.SugarColumn(ColumnDescription = "船名", Length = 30, IsNullable = true)] public string Vessel { get; set; } /// /// 船名代码 /// [SqlSugar.SugarColumn(ColumnDescription = "船名代码", Length = 30, IsNullable = true)] public string VesselCode { get; set; } /// /// 航次号 /// [SqlSugar.SugarColumn(ColumnDescription = "航次号", Length = 20, IsNullable = true)] public string Voyno { get; set; } /// /// 运输方式 /// [SqlSugar.SugarColumn(ColumnDescription = "运输方式", Length = 20, IsNullable = true)] public string TransportMode { get; set; } /// /// 重量 /// [SqlSugar.SugarColumn(ColumnDescription = "重量", IsNullable = true)] public Nullable TotalCargoWeight { get; set; } /// /// 是否冷冻处理 1-是,0-否 /// [SqlSugar.SugarColumn(ColumnDescription = "是否冷冻处理 1-是,0-否", IsNullable = true, DefaultValue = "0")] public bool IsReefer { get; set; } /// /// 温度探头的数量 /// [SqlSugar.SugarColumn(ColumnDescription = "温度探头的数量", IsNullable = true)] public Nullable NoOfProbes { get; set; } /// /// 设置温度 /// [SqlSugar.SugarColumn(ColumnDescription = "设置温度", Length = 5, IsNullable = true)] public string TempSet { get; set; } /// /// 温度单位 /// [SqlSugar.SugarColumn(ColumnDescription = "温度单位", Length = 1, IsNullable = true)] public string TempId { get; set; } /// /// 通风度 /// [SqlSugar.SugarColumn(ColumnDescription = "通风度", IsNullable = true)] public Nullable Vent { get; set; } /// /// 湿度 /// [SqlSugar.SugarColumn(ColumnDescription = "湿度", IsNullable = true)] public Nullable Humidity { get; set; } /// /// 货物标识 /// [SqlSugar.SugarColumn(ColumnDescription = "货物标识", Length = 1, IsNullable = true)] public string CargoId { get; set; } /// /// 货物代码类型 /// [SqlSugar.SugarColumn(ColumnDescription = "货物代码类型", Length = 30, IsNullable = true)] public string CommodityCodeType { get; set; } /// /// 品名代码 /// [SqlSugar.SugarColumn(ColumnDescription = "品名代码", Length = 30, IsNullable = true)] public string GoodsCode { get; set; } /// /// 品名 /// [SqlSugar.SugarColumn(ColumnDescription = "品名", Length = 120, IsNullable = true)] public string GoodsName { get; set; } /// /// 货物类型 /// [SqlSugar.SugarColumn(ColumnDescription = "货物类型", Length = 30, IsNullable = true)] public string CargoType { get; set; } /// /// 托运人自己的集装箱 /// [SqlSugar.SugarColumn(ColumnDescription = "托运人自己的集装箱", IsNullable = true, DefaultValue = "0")] public bool IsShipperOwner { get; set; } = false; /// /// 进口退货集装箱或者其他三角集运 /// [SqlSugar.SugarColumn(ColumnDescription = "进口退货集装箱或者其他三角集运", IsNullable = true, DefaultValue = "0")] public bool IsImportReturned { get; set; } = false; /// /// 交货地代码 /// [SqlSugar.SugarColumn(ColumnDescription = "交货地代码", Length = 5, IsNullable = true)] public string PlaceDeliveryId { get; set; } /// /// 交货地 /// [SqlSugar.SugarColumn(ColumnDescription = "交货地", Length = 120, IsNullable = true)] public string PlaceDelivery { get; set; } /// /// 装货港代码 /// [SqlSugar.SugarColumn(ColumnDescription = "装货港代码", Length = 5, IsNullable = true)] public string PortloadId { get; set; } /// /// 装货港 /// [SqlSugar.SugarColumn(ColumnDescription = "装货港", Length = 120, IsNullable = true)] public string Portload { get; set; } /// /// 卸货港代码 /// [SqlSugar.SugarColumn(ColumnDescription = "卸货港代码", Length = 5, IsNullable = true)] public string PortDischargeId { get; set; } /// /// 卸货港 /// [SqlSugar.SugarColumn(ColumnDescription = "卸货港", Length = 120, IsNullable = true)] public string PortDischarge { get; set; } /// /// 航线代码(船公司) /// [SqlSugar.SugarColumn(ColumnDescription = "航线代码(船公司)", Length = 40, IsNullable = true)] public string LaneCode { get; set; } /// /// 航线名称(船公司) /// [SqlSugar.SugarColumn(ColumnDescription = "航线名称(船公司)", Length = 100, IsNullable = true)] public string LaneName { get; set; } /// /// 承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转 /// [SqlSugar.SugarColumn(ColumnDescription = "承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转", Length = 20, IsNullable = true)] public string CarriageType { get; set; } /// /// 承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱 /// [SqlSugar.SugarColumn(ColumnDescription = "承运方式名称 DIRECT_SHIP-直达;TRANSFER_SHIP-中转", Length = 40, IsNullable = true)] public string CarriageTypeName { get; set; } /// /// 订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱 /// [SqlSugar.SugarColumn(ColumnDescription = "订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱", Length = 20, IsNullable = true)] public string BookingSlotType { get; set; } /// /// 订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱 /// [SqlSugar.SugarColumn(ColumnDescription = "订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱", Length = 40, IsNullable = true)] public string BookingSlotTypeName { get; set; } /// /// 签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单; /// [SqlSugar.SugarColumn(ColumnDescription = "签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单;", Length = 20, IsNullable = true)] public string IssueType { get; set; } /// /// 箱型箱量 /// [SqlSugar.SugarColumn(ColumnDescription = "箱型箱量", Length = 200, IsNullable = true)] public string CtnStat { get; set; } /// /// 所在周数 /// [SqlSugar.SugarColumn(ColumnDescription = "所在周数", Length = 10, IsNullable = true)] public string WeekAt { get; set; } /// /// 发送时间 /// [SqlSugar.SugarColumn(ColumnDescription = "发送时间", IsNullable = true)] public Nullable SendTime { get; set; } /// /// 是否定时任务 1-是 0-否 /// [SqlSugar.SugarColumn(ColumnDescription = "是否定时任务 1-是 0-否", IsNullable = true, DefaultValue = "0")] public bool IsJob { get; set; } = false; /// /// 定时任务启动时间 /// [SqlSugar.SugarColumn(ColumnDescription = "发送时间", IsNullable = true)] public Nullable JobTime { get; set; } /// /// 危险品类别 /// [SqlSugar.SugarColumn(ColumnDescription = "危险品类别", Length = 5, IsNullable = true)] public string DClass { get; set; } /// /// 危险品编号 /// [SqlSugar.SugarColumn(ColumnDescription = "危险品编号", Length = 16, IsNullable = true)] public string DUnno { get; set; } /// /// 危险品页号 /// [SqlSugar.SugarColumn(ColumnDescription = "危险品页号", Length = 7, IsNullable = true)] public string DPage { get; set; } /// /// 危险品标签 /// [SqlSugar.SugarColumn(ColumnDescription = "危险品标签", Length = 32, IsNullable = true)] public string DLabel { get; set; } /// /// 危险品联系人 /// [SqlSugar.SugarColumn(ColumnDescription = "危险品联系人", Length = 35, IsNullable = true)] public string LinkMan { get; set; } /// /// 预计运输天数 /// [SqlSugar.SugarColumn(ColumnDescription = "预计运输天数", IsNullable = true)] public Nullable TransportEstDay { get; set; } /// /// 订舱回执ID /// [SqlSugar.SugarColumn(ColumnDescription = "订舱回执ID", Length = 64, IsNullable = true)] public string RequestAcknowledgementId { get; set; } /// /// 订舱回执预定号 /// [SqlSugar.SugarColumn(ColumnDescription = "订舱回执预定号", Length = 64, IsNullable = true)] public string BookingReference { get; set; } /// /// 状态 SUCC-成功,FAILURE-失败 /// [SqlSugar.SugarColumn(ColumnDescription = "状态 SUCC-成功,FAILURE-失败", Length = 20, IsNullable = true)] public string Status { get; set; } /// /// 状态名称 SUCC-成功,FAILURE-失败 /// [SqlSugar.SugarColumn(ColumnDescription = "状态名称 SUCC-成功,FAILURE-失败", Length = 64, IsNullable = true)] public string StatusName { get; set; } /// /// 发送备注 /// [SqlSugar.SugarColumn(ColumnDescription = "状态名称 SUCC-成功,FAILURE-失败", Length = 500, IsNullable = true)] public string Notes { get; set; } /// /// 是否已有BC /// [SqlSugar.SugarColumn(ColumnDescription = "是否已有BC", IsNullable = true, DefaultValue = "0")] public bool IsRecvBC { get; set; } = false; /// /// 最后BC接收时间 /// [SqlSugar.SugarColumn(ColumnDescription = "最后BC接收时间", IsNullable = true)] public Nullable LstRecvBCDate { get; set; } /// /// 是否已有BookingCancellation /// [SqlSugar.SugarColumn(ColumnDescription = "是否已有BookingCancellation", IsNullable = true, DefaultValue = "0")] public bool IsRecvBKCancel { get; set; } /// /// 最后BookingCancellation接收时间 /// [SqlSugar.SugarColumn(ColumnDescription = "最后BookingCancellation接收时间", IsNullable = true)] public Nullable LstRecvBKCancelDate { get; set; } /// /// 船期ID /// [SqlSugar.SugarColumn(ColumnDescription = "船期ID", Length = 15, IsNullable = true)] public string CarrierProductId { get; set; } /// /// 是否不使用船期表订舱 /// [SqlSugar.SugarColumn(ColumnDescription = "是否不使用船期表订舱", IsNullable = true, DefaultValue = "0")] public bool IsSendNoSchedule { get; set; } = false; /// /// 收货地国家名称 /// [SqlSugar.SugarColumn(ColumnDescription = "收货地国家名称", Length = 64, IsNullable = true)] public string PlaceReceiptCountryName { get; set; } /// /// 收货地行政名称 /// [SqlSugar.SugarColumn(ColumnDescription = "收货地行政名称", Length = 64, IsNullable = true)] public string PlaceReceiptRegionName { get; set; } /// /// 交货地国家名称 /// [SqlSugar.SugarColumn(ColumnDescription = "交货地国家名称", Length = 64, IsNullable = true)] public string PlaceDeliveryCountryName { get; set; } /// /// 交货地行政名称 /// [SqlSugar.SugarColumn(ColumnDescription = "交货地行政名称", Length = 64, IsNullable = true)] public string PlaceDeliveryRegionName { get; set; } /// /// 订舱通道类型 /// [SqlSugar.SugarColumn(ColumnDescription = "订舱通道类型", Length = 20, IsNullable = true)] public string BookingChannelType { get; set; } /// /// 订舱通道类型名称 /// [SqlSugar.SugarColumn(ColumnDescription = "订舱通道类型名称", Length = 50, IsNullable = true)] public string BookingChannelTypeName { get; set; } /// /// 价格ID(SPOT专用)对应单个船期 /// [SqlSugar.SugarColumn(ColumnDescription = "价格ID(SPOT专用)对应单个船期", Length = 50, IsNullable = true)] public string PriceId { get; set; } /// /// 船期金额 /// [SqlSugar.SugarColumn(ColumnDescription = "船期金额", Length = 19, DecimalDigits = 2, IsNullable = true)] public Nullable ShipRateTotalAmount { get; set; } /// /// 船期币别 /// [SqlSugar.SugarColumn(ColumnDescription = "船期币别", Length = 10, IsNullable = true)] public string ShipRateTotalCurrency { get; set; } /// /// 船期PID /// [SqlSugar.SugarColumn(ColumnDescription = "船期PID", IsNullable = true)] public Nullable ShipRatePId { get; set; } /// /// 船期MD5 /// [SqlSugar.SugarColumn(ColumnDescription = "船期MD5", Length = 64, IsNullable = true)] public string ShipRateMD5 { get; set; } /// /// 收货地定位ID /// [SqlSugar.SugarColumn(ColumnDescription = "收货地定位ID", Length = 50, IsNullable = true)] public string PlaceReceiptGeoId { get; set; } /// /// 交货地定位ID /// [SqlSugar.SugarColumn(ColumnDescription = "交货地定位ID", Length = 50, IsNullable = true)] public string PlaceDeliveryGeoId { get; set; } /// /// 船公司主键 /// [SqlSugar.SugarColumn(ColumnDescription = "船公司主键", IsNullable = true)] public Nullable CarrierId { get; set; } /// /// 承运人代码 /// [SqlSugar.SugarColumn(ColumnDescription = "承运人代码", Length = 20, IsNullable = true)] public string vesselCarrierCode { get; set; } /// /// 定时方案ID /// [SqlSugar.SugarColumn(ColumnDescription = "定时方案ID", Length = 20, IsNullable = true)] public string TimerPlanId { get; set; } /// /// 定时方案名称 /// [SqlSugar.SugarColumn(ColumnDescription = "定时方案名称", Length = 100, IsNullable = true)] public string TimerPlanName { get; set; } } }