|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
using Myshipping.Core.Entity;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* @author : whm
|
|
|
|
|
* @date : 2024-1-11
|
|
|
|
|
* @desc : 舱位管理主信息
|
|
|
|
|
*/
|
|
|
|
|
namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 舱位管理主信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("booking_slot_base", TableDescription = "舱位管理主信息")]
|
|
|
|
|
public class BookingSlotBase : DBEntityTenant
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 舱位提单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "SLOT_BOOKING_NO")]
|
|
|
|
|
[Description("舱位提单号")]
|
|
|
|
|
public string SLOT_BOOKING_NO{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 合约号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CONTRACT_NO")]
|
|
|
|
|
[Description("合约号")]
|
|
|
|
|
public string CONTRACT_NO{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱抬头
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "BOOKING_PARTY")]
|
|
|
|
|
[Description("订舱抬头")]
|
|
|
|
|
public string BOOKING_PARTY{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船名
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "VESSEL")]
|
|
|
|
|
[Description("船名")]
|
|
|
|
|
public string VESSEL{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航次号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "VOYNO")]
|
|
|
|
|
[Description("航次号")]
|
|
|
|
|
public string VOYNO{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预计开船日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ETD")]
|
|
|
|
|
[Description("预计开船日期")]
|
|
|
|
|
public DateTime? ETD{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预计到港日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ETA")]
|
|
|
|
|
[Description("预计到港日期")]
|
|
|
|
|
public DateTime? ETA{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货地代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PLACERECEIPTID")]
|
|
|
|
|
[Description("收货地代码")]
|
|
|
|
|
public string PLACERECEIPTID{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PLACERECEIPT")]
|
|
|
|
|
[Description("收货地")]
|
|
|
|
|
public string PLACERECEIPT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 交货地代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PLACEDELIVERYID")]
|
|
|
|
|
[Description("交货地代码")]
|
|
|
|
|
public string PLACEDELIVERYID{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 交货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PLACEDELIVERY")]
|
|
|
|
|
[Description("交货地")]
|
|
|
|
|
public string PLACEDELIVERY{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 装货港代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PORTLOADID")]
|
|
|
|
|
[Description("装货港代码")]
|
|
|
|
|
public string PORTLOADID{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 装货港
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PORTLOAD")]
|
|
|
|
|
[Description("装货港")]
|
|
|
|
|
public string PORTLOAD{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卸货港代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PORTDISCHARGEID")]
|
|
|
|
|
[Description("卸货港代码")]
|
|
|
|
|
public string PORTDISCHARGEID{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卸货港
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PORTDISCHARGE")]
|
|
|
|
|
[Description("卸货港")]
|
|
|
|
|
public string PORTDISCHARGE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 中转港1
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TRANSFER_PORT_1")]
|
|
|
|
|
[Description("中转港1")]
|
|
|
|
|
public string TRANSFER_PORT_1{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 中转港2
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TRANSFER_PORT_2")]
|
|
|
|
|
[Description("中转港2")]
|
|
|
|
|
public string TRANSFER_PORT_2{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司代号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CARRIERID")]
|
|
|
|
|
[Description("船公司代号")]
|
|
|
|
|
public string CARRIERID{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CARRIER")]
|
|
|
|
|
[Description("船公司")]
|
|
|
|
|
public string CARRIER{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航线代码(船公司)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "LANECODE")]
|
|
|
|
|
[Description("航线代码(船公司)")]
|
|
|
|
|
public string LANECODE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航线名称(船公司)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "LANENAME")]
|
|
|
|
|
[Description("航线名称(船公司)")]
|
|
|
|
|
public string LANENAME{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CARRIAGE_TYPE")]
|
|
|
|
|
[Description("承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转")]
|
|
|
|
|
public string CARRIAGE_TYPE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CARRIAGE_TYPE_NAME")]
|
|
|
|
|
[Description("承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱")]
|
|
|
|
|
public string CARRIAGE_TYPE_NAME{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "BOOKING_SLOT_TYPE")]
|
|
|
|
|
[Description("订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱")]
|
|
|
|
|
public string BOOKING_SLOT_TYPE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "BOOKING_SLOT_TYPE_NAME")]
|
|
|
|
|
[Description("订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱")]
|
|
|
|
|
public string BOOKING_SLOT_TYPE_NAME{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单;
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ISSUETYPE")]
|
|
|
|
|
[Description("签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单;")]
|
|
|
|
|
public string ISSUETYPE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型箱量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CTN_STAT")]
|
|
|
|
|
[Description("箱型箱量")]
|
|
|
|
|
public string CTN_STAT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所在周数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "WEEK_AT")]
|
|
|
|
|
[Description("所在周数")]
|
|
|
|
|
public string WEEK_AT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱使天数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "DETENSION_FREE_DAYS")]
|
|
|
|
|
[Description("箱使天数")]
|
|
|
|
|
public int DETENSION_FREE_DAYS{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 样单截止日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "SI_CUT_DATE")]
|
|
|
|
|
[Description("样单截止日期")]
|
|
|
|
|
public DateTime? SI_CUT_DATE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 截港时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CY_CUT_DATE")]
|
|
|
|
|
[Description("截港时间")]
|
|
|
|
|
public DateTime? CY_CUT_DATE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VGM截止日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "VGM_SUBMISSION_CUT_DATE")]
|
|
|
|
|
[Description("VGM截止日期")]
|
|
|
|
|
public DateTime? VGM_SUBMISSION_CUT_DATE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// MDGF提交截止时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MDGF_CUT_DATE")]
|
|
|
|
|
[Description("MDGF提交截止时间")]
|
|
|
|
|
public DateTime? MDGF_CUT_DATE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 舱单截止时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MANIFEST_CUT_DATE")]
|
|
|
|
|
[Description("舱单截止时间")]
|
|
|
|
|
public DateTime? MANIFEST_CUT_DATE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 多状态标记,按预设的状态标记顺序二进制转数值,查询时用与或查询
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MORE_FLAG_STATUS")]
|
|
|
|
|
[Description("多状态标记,按预设的状态标记顺序二进制转数值,查询时用与或查询")]
|
|
|
|
|
public int MORE_FLAG_STATUS{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VGM回执
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "VGM_RLT_STAT")]
|
|
|
|
|
[Description("VGM回执")]
|
|
|
|
|
public string VGM_RLT_STAT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// SI回执
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "SI_RLT_STAT")]
|
|
|
|
|
[Description("SI回执")]
|
|
|
|
|
public string SI_RLT_STAT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提箱回执
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TAKE_CTN_RLT_STAT")]
|
|
|
|
|
[Description("提箱回执")]
|
|
|
|
|
public string TAKE_CTN_RLT_STAT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 还箱回执
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "RETURN_CTN_RLT_STAT")]
|
|
|
|
|
[Description("还箱回执")]
|
|
|
|
|
public string RETURN_CTN_RLT_STAT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预甩回执
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "NOMINATION_RLT_STAT")]
|
|
|
|
|
[Description("预甩回执")]
|
|
|
|
|
public string NOMINATION_RLT_STAT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 舱位变更回执
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "AMENDMENT_RLT_STAT")]
|
|
|
|
|
[Description("舱位变更回执")]
|
|
|
|
|
public string AMENDMENT_RLT_STAT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 舱位取消回执
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CANCELLATION_RLT_STAT")]
|
|
|
|
|
[Description("舱位取消回执")]
|
|
|
|
|
public string CANCELLATION_RLT_STAT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 目的港卸船未提货回执
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "DISCHARGE_FULL_RLT_STAT")]
|
|
|
|
|
[Description("目的港卸船未提货回执")]
|
|
|
|
|
public string DISCHARGE_FULL_RLT_STAT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 目的港提箱未还空箱回执
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "GATE_OUTFULL_RLT_STAT")]
|
|
|
|
|
[Description("目的港提箱未还空箱回执")]
|
|
|
|
|
public string GATE_OUTFULL_RLT_STAT{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TenantName")]
|
|
|
|
|
[Description("租户名称")]
|
|
|
|
|
public string TenantName{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 舱位来源 EMAIL-邮件导入 MANUAL-手工
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "SLOT_SOURCE")]
|
|
|
|
|
[Description("舱位来源 EMAIL-邮件导入 MANUAL-手工")]
|
|
|
|
|
public string SLOT_SOURCE{ get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否Cancellation
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "IS_CANCELLATION")]
|
|
|
|
|
[Description("是否Cancellation")]
|
|
|
|
|
public bool IS_CANCELLATION { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Cancellation时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CANCELLATION_DATE")]
|
|
|
|
|
[Description("Cancellation时间")]
|
|
|
|
|
public DateTime? CANCELLATION_DATE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户样单截止日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CUSTOM_SI_CUT_DATE")]
|
|
|
|
|
[Description("客户样单截止日期")]
|
|
|
|
|
public Nullable<DateTime> CUSTOM_SI_CUT_DATE { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|