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_stock", "舱位库存表")] public class BookingSlotStock : BaseModel { /// /// 船名 /// [SqlSugar.SugarColumn(ColumnDescription = "舱位主键", Length = 10, IsNullable = true)] public string Vessel { get; set; } /// /// 航次号 /// [SqlSugar.SugarColumn(ColumnDescription = "航次号", Length = 20, IsNullable = true)] public string Voyno { get; set; } /// /// 合约号 /// [SqlSugar.SugarColumn(ColumnDescription = "合约号", Length = 64, IsNullable = true)] public string ContractNo { 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; } /// /// 订舱抬头 /// [SqlSugar.SugarColumn(ColumnDescription = "订舱抬头", Length = 120, IsNullable = true)] public string BookingParty { get; set; } /// /// 船公司主键 /// [SqlSugar.SugarColumn(ColumnDescription = "船公司主键", IsNullable = true)] public long CarrierId { get; set; } /// /// 船公司代号 /// [SqlSugar.SugarColumn(ColumnDescription = "船公司代号", Length = 20, IsNullable = true)] public string CarrierCode { get; set; } /// /// 船公司 /// [SqlSugar.SugarColumn(ColumnDescription = "船公司代号", Length = 50, IsNullable = true)] public string Carrier { 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 = 120, IsNullable = true)] public string PlaceReceipt { get; set; } /// /// 交货地 /// [SqlSugar.SugarColumn(ColumnDescription = "交货地", Length = 120, IsNullable = true)] public string PlaceDelivery { get; set; } /// /// 装货港代码 /// [SqlSugar.SugarColumn(ColumnDescription = "装货港代码", Length = 10, IsNullable = true)] public string PortLoadId { get; set; } /// /// 装货港 /// [SqlSugar.SugarColumn(ColumnDescription = "装货港", Length = 120, IsNullable = true)] public string PortLoad { get; set; } /// /// 卸货港代码 /// [SqlSugar.SugarColumn(ColumnDescription = "卸货港代码", Length = 10, IsNullable = true)] public string 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 = 20, IsNullable = true)] public string LaneCode { get; set; } /// /// 航线名称(船公司) /// [SqlSugar.SugarColumn(ColumnDescription = "航线名称(船公司)", Length = 50, IsNullable = true)] public string LaneName { get; set; } /// /// 所在周数 /// [SqlSugar.SugarColumn(ColumnDescription = "航线名称(船公司)", IsNullable = true)] public Nullable WeekAt { get; set; } /// /// 箱型箱量 /// [SqlSugar.SugarColumn(ColumnDescription = "箱型箱量", Length = 200, IsNullable = true)] public string CtnStat { get; set; } /// /// 使用箱型箱量 /// [SqlSugar.SugarColumn(ColumnDescription = "使用箱型箱量", Length = 200, IsNullable = true)] public string UseCtnStat { get; set; } /// /// 剩余箱型箱量 /// [SqlSugar.SugarColumn(ColumnDescription = "剩余箱型箱量", Length = 200, IsNullable = true)] public string RemainCtnStat { get; set; } /// /// 总舱位数 /// [SqlSugar.SugarColumn(ColumnDescription = "总舱位数", IsNullable = true,DefaultValue = "0")] public int TotalOrders { get; set; } /// /// 使用舱位数 /// [SqlSugar.SugarColumn(ColumnDescription = "使用舱位数", IsNullable = true, DefaultValue = "0")] public int UseNum { get; set; } /// /// 取消舱位数 /// [SqlSugar.SugarColumn(ColumnDescription = "取消舱位数", IsNullable = true, DefaultValue = "0")] public int CancelNum { get; set; } /// /// 总箱数 /// [SqlSugar.SugarColumn(ColumnDescription = "总箱数", IsNullable = true, DefaultValue = "0")] public int TotalCtns { get; set; } /// /// 使用箱数 /// [SqlSugar.SugarColumn(ColumnDescription = "使用箱数", IsNullable = true, DefaultValue = "0")] public int UseCtnsNum { get; set; } /// /// 剩余箱数 /// [SqlSugar.SugarColumn(ColumnDescription = "剩余箱数", IsNullable = true, DefaultValue = "0")] public int RemainCtnsNum { get; set; } } }