using DS.Module.Core.Data;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Entity
{
///
/// 舱位管理主信息
///
[SqlSugar.SugarTable("op_sea_booking_slot_base", "舱位管理主信息")]
public class BookingSlotBase : BaseModel
{
///
/// 舱位提单号
///
[SqlSugar.SugarColumn(ColumnDescription = "舱位提单号", Length = 64, IsNullable = true)]
public string SlotBookingNo { get; set; }
///
/// 订舱编号
///
[SqlSugar.SugarColumn(ColumnDescription = "订舱编号", Length = 64, IsNullable = true)]
public string SlotNo { get; set; }
///
/// 合约号
///
[SqlSugar.SugarColumn(ColumnDescription = "合约号", Length = 64, IsNullable = true)]
public string ContractNo { get; set; }
///
/// 订舱抬头
///
[SqlSugar.SugarColumn(ColumnDescription = "订舱抬头", Length = 120, IsNullable = true)]
public string BookingParty { get; set; }
///
/// 船名
///
[SqlSugar.SugarColumn(ColumnDescription = "船名", Length = 30, IsNullable = true)]
public string Vessel { get; set; }
///
/// 航次号
///
[SqlSugar.SugarColumn(ColumnDescription = "航次号", Length = 20, IsNullable = true)]
public string Voyno { get; set; }
///
/// 船公司ID
///
[SqlSugar.SugarColumn(ColumnDescription = "船公司ID", IsNullable = true)]
public Nullable CarrierId { get; set; }
///
/// 船公司代码
///
[SqlSugar.SugarColumn(ColumnDescription = "船公司代码", Length = 20, IsNullable = true)]
public string CarrierCode { get; set; }
///
/// 船公司
///
[SqlSugar.SugarColumn(ColumnDescription = "船公司", Length = 20, IsNullable = true)]
public string Carrier { 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 = "承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱", Length = 40, IsNullable = true)]
public string CarriageTypeName { 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 = "收货地代码", Length = 10, IsNullable = true)]
public string PlaceReceiptCode { get; set; }
///
/// 收货地主键
///
[SqlSugar.SugarColumn(ColumnDescription = "收货地主键", IsNullable = true)]
public Nullable PlaceReceiptId { get; set; }
///
/// 收货地名称
///
[SqlSugar.SugarColumn(ColumnDescription = "收货地名称", Length = 120, IsNullable = true)]
public string PlaceReceipt { get; set; }
///
/// 交货地代码
///
[SqlSugar.SugarColumn(ColumnDescription = "交货地代码", Length = 10, IsNullable = true)]
public string PlaceDeliveryCode { get; set; }
///
/// 交货地主键
///
[SqlSugar.SugarColumn(ColumnDescription = "交货地主键", IsNullable = true)]
public Nullable PlaceDeliveryId { get; set; }
///
/// 交货地名称
///
[SqlSugar.SugarColumn(ColumnDescription = "交货地名称", Length = 120, IsNullable = true)]
public string PlaceDelivery { get; set; }
///
/// 装货港代码
///
[SqlSugar.SugarColumn(ColumnDescription = "装货港代码", Length = 10, IsNullable = true)]
public string PortLoadCode { get; set; }
///
/// 装货港主键
///
[SqlSugar.SugarColumn(ColumnDescription = "装货港主键", IsNullable = true)]
public Nullable PortLoadId { get; set; }
///
/// 装货港
///
[SqlSugar.SugarColumn(ColumnDescription = "装货港", Length = 120, IsNullable = true)]
public string PortLoad { get; set; }
///
/// 卸货港代码
///
[SqlSugar.SugarColumn(ColumnDescription = "卸货港代码", Length = 10, IsNullable = true)]
public string PortDischargeCode { get; set; }
///
/// 卸货港主键
///
[SqlSugar.SugarColumn(ColumnDescription = "卸货港主键", IsNullable = true)]
public Nullable PortDischargeId { get; set; }
///
/// 卸货港
///
[SqlSugar.SugarColumn(ColumnDescription = "卸货港", Length = 120, IsNullable = true)]
public string PortDischarge { get; set; }
///
/// 卸货港国家代码
///
[SqlSugar.SugarColumn(ColumnDescription = "卸货港国家代码", Length = 10, IsNullable = true)]
public string PortDischargeCountryCode { get; set; }
///
/// 卸货港国家名称
///
[SqlSugar.SugarColumn(ColumnDescription = "卸货港国家名称", Length = 120, IsNullable = true)]
public string PortDischargeCountry { get; set; }
///
/// 卸货港国家主键
///
[SqlSugar.SugarColumn(ColumnDescription = "卸货港国家主键", Length = 120, IsNullable = true)]
public Nullable PortDischargeCountryId { get; set; }
///
/// 中转港1
///
[SqlSugar.SugarColumn(ColumnDescription = "中转港1", Length = 120, IsNullable = true)]
public string TransferPort1 { get; set; }
///
/// 中转港2
///
[SqlSugar.SugarColumn(ColumnDescription = "中转港2", Length = 120, IsNullable = true)]
public string TransferPort2 { 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; }
///
/// 签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单;
///
[SqlSugar.SugarColumn(ColumnDescription = "签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单;", Length = 20, IsNullable = true)]
public string IssueType { get; set; }
///
/// 箱型箱量
///
[SqlSugar.SugarColumn(ColumnDescription = "箱型箱量", Length = 20, IsNullable = true)]
public string CtnStat { get; set; }
///
/// 所在周数
///
[SqlSugar.SugarColumn(ColumnDescription = "所在周数", IsNullable = true)]
public Nullable WeekAt { get; set; }
///
/// 箱使天数
///
[SqlSugar.SugarColumn(ColumnDescription = "箱使天数", IsNullable = true)]
public Nullable DetensionFreeDays { get; set; }
///
/// 样单截止日期
///
[SqlSugar.SugarColumn(ColumnDescription = "样单截止日期", IsNullable = true)]
public Nullable SICutDate { get; set; }
///
/// 截港时间
///
[SqlSugar.SugarColumn(ColumnDescription = "截港时间", IsNullable = true)]
public Nullable CYCutDate { get; set; }
///
/// VGM截止日期
///
[SqlSugar.SugarColumn(ColumnDescription = "VGM截止日期", IsNullable = true)]
public Nullable VGMSubmissionCutDate { get; set; }
///
/// MDGF提交截止时间
///
[SqlSugar.SugarColumn(ColumnDescription = "MDGF提交截止时间", IsNullable = true)]
public Nullable MDGFCutDate { get; set; }
///
/// 舱单截止时间
///
[SqlSugar.SugarColumn(ColumnDescription = "舱单截止时间", IsNullable = true)]
public Nullable ManifestCutDate { get; set; }
///
/// VGM回执
///
[SqlSugar.SugarColumn(ColumnDescription = "VGM回执", Length = 20, IsNullable = true)]
public string VGMRltStat { get; set; }
///
/// SI回执
///
[SqlSugar.SugarColumn(ColumnDescription = "SI回执", Length = 20, IsNullable = true)]
public string SIRltStat { get; set; }
///
/// 提箱回执
///
[SqlSugar.SugarColumn(ColumnDescription = "提箱回执", Length = 20, IsNullable = true)]
public string TakeCtnRltStat { get; set; }
///
/// 还箱回执
///
[SqlSugar.SugarColumn(ColumnDescription = "提箱回执", Length = 20, IsNullable = true)]
public string ReturnCtnRltStat { get; set; }
///
/// 预甩回执
///
[SqlSugar.SugarColumn(ColumnDescription = "预甩回执", Length = 20, IsNullable = true)]
public string NominationRltStat { get; set; }
///
/// BC变更回执
///
[SqlSugar.SugarColumn(ColumnDescription = "BC变更回执", Length = 20, IsNullable = true)]
public string AmendmentRltStat { get; set; }
///
/// BC取消回执
///
[SqlSugar.SugarColumn(ColumnDescription = "BC取消回执", Length = 20, IsNullable = true)]
public string CancellationRltStat { get; set; }
///
/// 目的港卸船未提货回执
///
[SqlSugar.SugarColumn(ColumnDescription = "目的港卸船未提货回执", Length = 20, IsNullable = true)]
public string DischargeFullRltStat { get; set; }
///
/// 目的港提箱未还空箱回执
///
[SqlSugar.SugarColumn(ColumnDescription = "目的港提箱未还空箱回执", Length = 20, IsNullable = true)]
public string GateOutFullRltStat { 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; }
///
/// 舱位来源 EMAIL-邮件导入 MANUAL-手工
///
[SqlSugar.SugarColumn(ColumnDescription = "舱位来源 EMAIL-邮件导入 MANUAL-手工", Length = 20, IsNullable = true)]
public string SlotSource { get; set; }
///
/// 是否Cancellation
///
[SqlSugar.SugarColumn(ColumnDescription = "是否Cancellation", IsNullable = true, DefaultValue = "0")]
public bool IsCancellation { get; set; } = false;
///
/// Cancellation时间
///
[SqlSugar.SugarColumn(ColumnDescription = "Cancellation时间", IsNullable = true)]
public Nullable CancellationDate { get; set; }
///
/// 客户样单截止日期
///
[SqlSugar.SugarColumn(ColumnDescription = "客户样单截止日期", IsNullable = true)]
public Nullable CustomSICutDate { get; set; }
///
/// 备注
///
[SqlSugar.SugarColumn(ColumnDescription = "备注", Length = 500, IsNullable = true)]
public string Remark { get; set; }
///
/// 计费日期
///
[SqlSugar.SugarColumn(ColumnDescription = "计费日期", IsNullable = true)]
public Nullable PriceCalculationDate { get; set; }
///
/// 系统平台代码
///
[SqlSugar.SugarColumn(ColumnDescription = "系统平台代码", Length = 50, IsNullable = true)]
public string SystemCode { get; set; }
///
/// 系统平台名称
///
[SqlSugar.SugarColumn(ColumnDescription = "系统平台名称", Length = 50, IsNullable = true)]
public string SystemName { get; set; }
///
/// 船公司航次
///
[SqlSugar.SugarColumn(ColumnDescription = "船公司航次", Length = 30, IsNullable = true)]
public string CarrierVoyno { get; set; }
///
/// 拆票或合票标记 1-拆票 2-合票
///
[SqlSugar.SugarColumn(ColumnDescription = "船公司航次", IsNullable = true)]
public Nullable SplitOrMergeFlag { get; set; }
///
/// 舱保类型 FULL-全舱保;PART-部分舱保
///
[SqlSugar.SugarColumn(ColumnDescription = "舱保类型 FULL-全舱保;PART-部分舱保", Length = 20, IsNullable = true)]
public string LoadGuaranteeFlag { get; set; }
//
/// 舱保类型名称 FULL-全舱保;PART-部分舱保
///
[SqlSugar.SugarColumn(ColumnDescription = "舱保类型名称 FULL-全舱保;PART-部分舱保", Length = 50, IsNullable = true)]
public string LoadGuaranteeFlagName { get; set; }
///
/// 提箱场站
///
[SugarColumn(ColumnDescription = "提箱场站", IsNullable = true, Length = 50)]
public string TakeCtnYard { get; set; }
///
/// 更新标记 (ORIGINAL-原BC文件 CANCELLATION-取消 REJECTION-拒绝 1ST UPDATE-首次更新 2ND-2次 3RD-3次 4TH..多次)
///
[SugarColumn(ColumnDescription = "更新标记", IsNullable = true, Length = 50)]
public string UpdateFlag { get; set; }
///
/// 船公司参考号
///
[SugarColumn(ColumnDescription = "船公司参考号", IsNullable = true, Length = 50)]
public string CarrierReferNo { get; set; }
///
/// 用户参考号
///
[SugarColumn(ColumnDescription = "用户参考号", IsNullable = true, Length = 50)]
public string UserReferNo { get; set; }
}
}