|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
using Myshipping.Core.Entity;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* @author : whm
|
|
|
|
|
* @date : 2024-1-9
|
|
|
|
|
* @desc : 舱位库存表,用来增减
|
|
|
|
|
*/
|
|
|
|
|
namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 舱位库存表,用来增减
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("booking_slot_stock", TableDescription = "舱位库存表,用来增减")]
|
|
|
|
|
public class BookingSlotStock : DBEntityTenant
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船名
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "VESSEL")]
|
|
|
|
|
public string VESSEL { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航次号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "VOYNO")]
|
|
|
|
|
public string VOYNO { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 合约号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CONTRACT_NO")]
|
|
|
|
|
public string CONTRACT_NO { 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>
|
|
|
|
|
/// 订舱抬头
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "BOOKING_PARTY")]
|
|
|
|
|
public string BOOKING_PARTY { 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 = "ETD")]
|
|
|
|
|
public DateTime? ETD { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预计到港日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ETA")]
|
|
|
|
|
public DateTime? ETA { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PLACERECEIPT")]
|
|
|
|
|
public string PLACERECEIPT { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 交货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PLACEDELIVERY")]
|
|
|
|
|
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>
|
|
|
|
|
/// 卸货港国家代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PORTDISCHARGE_COUNTRY_CODE")]
|
|
|
|
|
[Description("卸货港国家代码")]
|
|
|
|
|
public string PORTDISCHARGE_COUNTRY_CODE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卸货港国家名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PORTDISCHARGE_COUNTRY")]
|
|
|
|
|
[Description("卸货港国家名称")]
|
|
|
|
|
public string PORTDISCHARGE_COUNTRY { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航线代码(船公司)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "LANECODE")]
|
|
|
|
|
public string LANECODE { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航线名称(船公司)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "LANENAME")]
|
|
|
|
|
public string LANENAME { get; set; }
|
|
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 所在周数
|
|
|
|
|
///// </summary>
|
|
|
|
|
//[SugarColumn(ColumnName = "WEEK_AT")]
|
|
|
|
|
//public string WEEK_AT { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型箱量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CTN_STAT")]
|
|
|
|
|
public string CTN_STAT { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 使用箱型箱量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "USE_CTN_STAT")]
|
|
|
|
|
public string USE_CTN_STAT { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 剩余箱型箱量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "REMAIN_CTN_STAT")]
|
|
|
|
|
public string REMAIN_CTN_STAT { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总舱位数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TOTAL_ORDERS")]
|
|
|
|
|
public int TOTAL_ORDERS { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 使用舱位数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "USE_NUM")]
|
|
|
|
|
public int USE_NUM { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 取消舱位数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CANCEL_NUM")]
|
|
|
|
|
public int CANCEL_NUM { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总箱数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TOTAL_CTNS")]
|
|
|
|
|
public int TOTAL_CTNS { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 使用箱数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "USE_CTNS_NUM")]
|
|
|
|
|
public int USE_CTNS_NUM { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 剩余箱数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "REMAIN_CTNS_NUM")]
|
|
|
|
|
public int REMAIN_CTNS_NUM { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TenantName")]
|
|
|
|
|
public string TenantName { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|