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.

360 lines
13 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 DS.Module.Core.Data;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Entity
{
/// <summary>
/// 舱位分配表
/// </summary>
[SqlSugar.SugarTable("op_sea_booking_slot_allocation", "舱位分配表")]
public class BookingSlotAllocation : BaseModel<long>
{
/// <summary>
/// 舱位主键
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "舱位主键", IsNullable = false)]
public long BookingSlotId { get; set; }
/// <summary>
/// 订舱主键,关联订舱主表ID
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "订舱主键", IsNullable = false)]
public long BookingId { get; set; }
/// <summary>
/// 舱位提单号
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "舱位提单号", Length = 64, IsNullable = false)]
public string SlotBookingNo { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "订舱编号", Length = 64, IsNullable = false)]
public string SlotNo { get; set; }
/// <summary>
/// 分配提单号
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "分配提单号", Length = 64, IsNullable = false)]
public string AlloBillNo { get; set; }
/// <summary>
/// 最终提单号,分票后船公司重新分配提单号
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "最终提单号", Length = 64, IsNullable = false)]
public string FinalBillNo { get; set; }
/// <summary>
/// 合约号
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "合约号", Length = 64, IsNullable = false)]
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>
/// 预计开船日期
/// </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 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 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 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 PortDischargeId { get; set; }
/// <summary>
/// 卸货港
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "卸货港", Length = 120, IsNullable = true)]
public string PortDischarge { 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>
/// 船公司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>
/// 航线代码(船公司)
/// </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>
/// 承运方式 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>
/// 订舱方式 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>
/// 签单方式 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>
/// 客户ID
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "客户ID", IsNullable = true)]
public Nullable<long> CustomerId { get; set; }
/// <summary>
/// 客户名称
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "客户名称", Length = 20, IsNullable = true)]
public string CustomerName { get; set; }
/// <summary>
/// 客服ID
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "客服ID", Length = 40, IsNullable = true)]
public string CustServiceId { get; set; }
/// <summary>
/// 客服名称
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "客服名称", Length = 40, IsNullable = true)]
public string CustService { get; set; }
/// <summary>
/// 销售ID
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "销售ID", Length = 40, IsNullable = true)]
public string SaleId { get; set; }
/// <summary>
/// 销售名称
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "销售名称", Length = 40, IsNullable = true)]
public string Sale { get; set; }
/// <summary>
/// 操作id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "操作ID", Length = 40, IsNullable = true)]
public string OpId { get; set; }
/// <summary>
/// 操作
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "操作", Length = 40, IsNullable = true)]
public string Op { get; set; }
/// <summary>
/// 单证id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "单证ID", Length = 40, IsNullable = true)]
public string DocId { get; set; }
/// <summary>
/// 单证
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "单证", Length = 40, IsNullable = true)]
public string Doc { get; set; }
/// <summary>
/// 商务ID
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "商务ID", Length = 40, IsNullable = true)]
public string BusinessId { get; set; }
/// <summary>
/// 商务
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "商务", Length = 40, IsNullable = true)]
public string Business { get; set; }
/// <summary>
/// 销售日期
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "销售日期", IsNullable = true)]
public Nullable<DateTime> SaleTime { get; set; }
/// <summary>
/// 发货人
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "发货人", Length = 100, IsNullable = true)]
public string Shipper { get; set; }
/// <summary>
/// 品名
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "品名", Length = 60, IsNullable = true)]
public string GoodsName { get; set; }
/// <summary>
/// 卖价
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "品名", Length = 19, DecimalDigits = 2, IsNullable = true)]
public Nullable<decimal> SellingPrice { get; set; }
/// <summary>
/// 拆票或合票标记 1-拆票 2-合票
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "拆票或合票标记 1-拆票 2-合票", IsNullable = true,DefaultValue = "0")]
public Nullable<int> SplitOrMergeFlag { get; set; }
}
}