|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
using Myshipping.Core.Entity;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* @author : whm
|
|
|
|
|
* @date : 2024-1-5
|
|
|
|
|
* @desc : 舱位分配表
|
|
|
|
|
*/
|
|
|
|
|
namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 舱位分配表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("booking_slot_allocation", TableDescription = "舱位分配表")]
|
|
|
|
|
public class BookingSlotAllocation : DBEntityTenant
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 舱位主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "BOOKING_SLOT_ID")]
|
|
|
|
|
public long BOOKING_SLOT_ID{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱主键,关联订舱主表ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "BOOKING_ID")]
|
|
|
|
|
public long BOOKING_ID{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 舱位提单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "SLOT_BOOKING_NO")]
|
|
|
|
|
public string SLOT_BOOKING_NO{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分配提单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ALLO_BILL_NO")]
|
|
|
|
|
public string ALLO_BILL_NO{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最终提单号,分票后船公司重新分配提单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "FINAL_BILL_NO")]
|
|
|
|
|
public string FINAL_BILL_NO{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 合约号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CONTRACT_NO")]
|
|
|
|
|
public string CONTRACT_NO{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱抬头
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "BOOKING_PARTY")]
|
|
|
|
|
public string BOOKING_PARTY{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船名
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "VESSEL")]
|
|
|
|
|
public string VESSEL{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航次号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "VOYNO")]
|
|
|
|
|
public string VOYNO{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预计开船日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ETD")]
|
|
|
|
|
public DateTime ETD{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预计到港日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ETA")]
|
|
|
|
|
public DateTime ETA{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货地代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PLACERECEIPTID")]
|
|
|
|
|
public string PLACERECEIPTID{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PLACERECEIPT")]
|
|
|
|
|
public string PLACERECEIPT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 交货地代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PLACEDELIVERYID")]
|
|
|
|
|
public string PLACEDELIVERYID{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 交货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PLACEDELIVERY")]
|
|
|
|
|
public string PLACEDELIVERY{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 装货港代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PORTLOADID")]
|
|
|
|
|
public string PORTLOADID{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 装货港
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PORTLOAD")]
|
|
|
|
|
public string PORTLOAD{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卸货港代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PORTDISCHARGEID")]
|
|
|
|
|
public string PORTDISCHARGEID{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卸货港
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PORTDISCHARGE")]
|
|
|
|
|
public string PORTDISCHARGE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 中转港1
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TRANSFER_PORT_1")]
|
|
|
|
|
public string TRANSFER_PORT_1{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 中转港2
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TRANSFER_PORT_2")]
|
|
|
|
|
public string TRANSFER_PORT_2{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司代号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CARRIERID")]
|
|
|
|
|
public string CARRIERID{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CARRIER")]
|
|
|
|
|
public string CARRIER{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航线代码(船公司)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "LANECODE")]
|
|
|
|
|
public string LANECODE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航线名称(船公司)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "LANENAME")]
|
|
|
|
|
public string LANENAME{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CARRIAGE_TYPE")]
|
|
|
|
|
public string CARRIAGE_TYPE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CARRIAGE_TYPE_NAME")]
|
|
|
|
|
public string CARRIAGE_TYPE_NAME{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "BOOKING_SLOT_TYPE")]
|
|
|
|
|
public string BOOKING_SLOT_TYPE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "BOOKING_SLOT_TYPE_NAME")]
|
|
|
|
|
public string BOOKING_SLOT_TYPE_NAME{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单;
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ISSUETYPE")]
|
|
|
|
|
public string ISSUETYPE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型箱量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CTN_STAT")]
|
|
|
|
|
public string CTN_STAT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所在周数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "WEEK_AT")]
|
|
|
|
|
public string WEEK_AT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱使天数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "DETENSION_FREE_DAYS")]
|
|
|
|
|
public int DETENSION_FREE_DAYS{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 样单截止日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "SI_CUT_DATE")]
|
|
|
|
|
public DateTime SI_CUT_DATE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 截港时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CY_CUT_DATE")]
|
|
|
|
|
public DateTime CY_CUT_DATE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VGM截止日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "VGM_SUBMISSION_CUT_DATE")]
|
|
|
|
|
public DateTime VGM_SUBMISSION_CUT_DATE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// MDGF提交截止时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MDGF_CUT_DATE")]
|
|
|
|
|
public DateTime MDGF_CUT_DATE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 舱单截止时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MANIFEST_CUT_DATE")]
|
|
|
|
|
public DateTime MANIFEST_CUT_DATE{ get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TenantName")]
|
|
|
|
|
public string TenantName{ get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|