|
|
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
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 舱位管理主信息
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarTable("op_sea_booking_slot_base", "舱位管理主信息")]
|
|
|
public class BookingSlotBase : BaseModel<long>
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 舱位提单号
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "舱位提单号", Length = 64, IsNullable = true)]
|
|
|
public string SlotBookingNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 订舱编号
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "订舱编号", Length = 64, IsNullable = true)]
|
|
|
public string SlotNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 合约号
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "合约号", Length = 64, IsNullable = true)]
|
|
|
public string ContractNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 订舱抬头
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "订舱抬头", Length = 120, IsNullable = true)]
|
|
|
public string BookingParty { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 船名
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "船名", Length = 30, IsNullable = true)]
|
|
|
public string Vessel { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 航次号
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "航次号", Length = 20, IsNullable = true)]
|
|
|
public string Voyno { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 船公司ID
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "船公司ID", IsNullable = true)]
|
|
|
public Nullable<long> CarrierId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 船公司代码
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "船公司代码", Length = 20, IsNullable = true)]
|
|
|
public string CarrierCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 船公司
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "船公司", Length = 20, IsNullable = true)]
|
|
|
public string Carrier { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转", Length = 20, IsNullable = true)]
|
|
|
public string CarriageType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱", Length = 40, IsNullable = true)]
|
|
|
public string CarriageTypeName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 预计开船日期
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "预计开船日期", IsNullable = true)]
|
|
|
public Nullable<DateTime> ETD { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 预计到港日期
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "预计到港日期", IsNullable = true)]
|
|
|
public Nullable<DateTime> ETA { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收货地代码
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "收货地代码", Length = 10, IsNullable = true)]
|
|
|
public string PlaceReceiptCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收货地主键
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "收货地主键", IsNullable = true)]
|
|
|
public Nullable<long> PlaceReceiptId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收货地名称
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "收货地名称", Length = 120, IsNullable = true)]
|
|
|
public string PlaceReceipt { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 交货地代码
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "交货地代码", Length = 10, IsNullable = true)]
|
|
|
public string PlaceDeliveryCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 交货地主键
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "交货地主键", IsNullable = true)]
|
|
|
public Nullable<long> PlaceDeliveryId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 交货地名称
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "交货地名称", Length = 120, IsNullable = true)]
|
|
|
public string PlaceDelivery { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 装货港代码
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "装货港代码", Length = 10, IsNullable = true)]
|
|
|
public string PortLoadCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 装货港主键
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "装货港主键", IsNullable = true)]
|
|
|
public Nullable<long> PortLoadId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 装货港
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "装货港", Length = 120, IsNullable = true)]
|
|
|
public string PortLoad { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 卸货港代码
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "卸货港代码", Length = 10, IsNullable = true)]
|
|
|
public string PortDischargeCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 卸货港主键
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "卸货港主键", IsNullable = true)]
|
|
|
public Nullable<long> PortDischargeId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 卸货港
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "卸货港", Length = 120, IsNullable = true)]
|
|
|
public string PortDischarge { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 卸货港国家代码
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "卸货港国家代码", Length = 10, IsNullable = true)]
|
|
|
public string PortDischargeCountryCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 卸货港国家名称
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "卸货港国家名称", Length = 120, IsNullable = true)]
|
|
|
public string PortDischargeCountry { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 卸货港国家主键
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "卸货港国家主键", Length = 120, IsNullable = true)]
|
|
|
public Nullable<long> PortDischargeCountryId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 中转港1
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "中转港1", Length = 120, IsNullable = true)]
|
|
|
public string TransferPort1 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 中转港2
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "中转港2", Length = 120, IsNullable = true)]
|
|
|
public string TransferPort2 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 航线代码(船公司)
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "航线代码(船公司)", Length = 40, IsNullable = true)]
|
|
|
public string LaneCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 航线名称(船公司)
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "航线名称(船公司)", Length = 100, IsNullable = true)]
|
|
|
public string LaneName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单;
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单;", Length = 20, IsNullable = true)]
|
|
|
public string IssueType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 箱型箱量
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "箱型箱量", Length = 20, IsNullable = true)]
|
|
|
public string CtnStat { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 所在周数
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "所在周数", IsNullable = true)]
|
|
|
public Nullable<int> WeekAt { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 箱使天数
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "箱使天数", IsNullable = true)]
|
|
|
public Nullable<int> DetensionFreeDays { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 样单截止日期
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "样单截止日期", IsNullable = true)]
|
|
|
public Nullable<DateTime> SICutDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 截港时间
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "截港时间", IsNullable = true)]
|
|
|
public Nullable<DateTime> CYCutDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// VGM截止日期
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "VGM截止日期", IsNullable = true)]
|
|
|
public Nullable<DateTime> VGMSubmissionCutDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// MDGF提交截止时间
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "MDGF提交截止时间", IsNullable = true)]
|
|
|
public Nullable<DateTime> MDGFCutDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 舱单截止时间
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "舱单截止时间", IsNullable = true)]
|
|
|
public Nullable<DateTime> ManifestCutDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// VGM回执
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "VGM回执", Length = 20, IsNullable = true)]
|
|
|
public string VGMRltStat { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// SI回执
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "SI回执", Length = 20, IsNullable = true)]
|
|
|
public string SIRltStat { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 提箱回执
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "提箱回执", Length = 20, IsNullable = true)]
|
|
|
public string TakeCtnRltStat { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 还箱回执
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "提箱回执", Length = 20, IsNullable = true)]
|
|
|
public string ReturnCtnRltStat { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 预甩回执
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "预甩回执", Length = 20, IsNullable = true)]
|
|
|
public string NominationRltStat { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// BC变更回执
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "BC变更回执", Length = 20, IsNullable = true)]
|
|
|
public string AmendmentRltStat { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// BC取消回执
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "BC取消回执", Length = 20, IsNullable = true)]
|
|
|
public string CancellationRltStat { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 目的港卸船未提货回执
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "目的港卸船未提货回执", Length = 20, IsNullable = true)]
|
|
|
public string DischargeFullRltStat { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 目的港提箱未还空箱回执
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "目的港提箱未还空箱回执", Length = 20, IsNullable = true)]
|
|
|
public string GateOutFullRltStat { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱", Length = 20, IsNullable = true)]
|
|
|
public string BookingSlotType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱", Length = 40, IsNullable = true)]
|
|
|
public string BookingSlotTypeName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 舱位来源 EMAIL-邮件导入 MANUAL-手工
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "舱位来源 EMAIL-邮件导入 MANUAL-手工", Length = 20, IsNullable = true)]
|
|
|
public string SlotSource { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 是否Cancellation
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "是否Cancellation", IsNullable = true, DefaultValue = "0")]
|
|
|
public bool IsCancellation { get; set; } = false;
|
|
|
|
|
|
/// <summary>
|
|
|
/// Cancellation时间
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "Cancellation时间", IsNullable = true)]
|
|
|
public Nullable<DateTime> CancellationDate { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 客户样单截止日期
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "客户样单截止日期", IsNullable = true)]
|
|
|
public Nullable<DateTime> CustomSICutDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 备注
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "备注", Length = 500, IsNullable = true)]
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 计费日期
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "计费日期", IsNullable = true)]
|
|
|
public Nullable<DateTime> PriceCalculationDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 系统平台代码
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "系统平台代码", Length = 50, IsNullable = true)]
|
|
|
public string SystemCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 系统平台名称
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "系统平台名称", Length = 50, IsNullable = true)]
|
|
|
public string SystemName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 船公司航次
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "船公司航次", Length = 30, IsNullable = true)]
|
|
|
public string CarrierVoyno { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 拆票或合票标记 1-拆票 2-合票
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "船公司航次", IsNullable = true)]
|
|
|
public Nullable<int> SplitOrMergeFlag { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 舱保类型 FULL-全舱保;PART-部分舱保
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "舱保类型 FULL-全舱保;PART-部分舱保", Length = 20, IsNullable = true)]
|
|
|
public string LoadGuaranteeFlag { get; set; }
|
|
|
|
|
|
// <summary>
|
|
|
/// 舱保类型名称 FULL-全舱保;PART-部分舱保
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "舱保类型名称 FULL-全舱保;PART-部分舱保", Length = 50, IsNullable = true)]
|
|
|
public string LoadGuaranteeFlagName { get; set; }
|
|
|
}
|
|
|
}
|