using Myshipping.Core;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application.Service.BookingSlot.Dto
{
///
/// 查询条件
///
public class BookingSlotBasePageInput : PageInputBase
{
///
/// 舱位提单号
///
public string SLOT_BOOKING_NO { get; set; }
///
/// 船名
///
public string VESSEL { get; set; }
///
/// 航次号
///
public string VOYNO { get; set; }
///
/// 预计开船日期起始
///
public DateTime? ETD_START { get; set; }
///
/// 预计开船日期截至
///
public DateTime? ETD_END { get; set; }
///
/// 预计到港日期起始
///
public DateTime? ETA_START { get; set; }
///
/// 预计到港日期截至
///
public DateTime? ETA_END { get; set; }
///
/// 装货港
///
public string PORTLOAD { get; set; }
///
/// 卸货港
///
public string PORTDISCHARGE { get; set; }
///
/// 船公司
///
public string CARRIER { get; set; }
///
/// 航线名称(船公司)
///
public string LANENAME { get; set; }
///
/// 承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转
///
public string CARRIAGE_TYPE { get; set; }
///
/// 订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
///
public string BOOKING_SLOT_TYPE { get; set; }
///
/// 签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单;
///
public string ISSUETYPE { get; set; }
///
/// 箱型箱量
///
public string CTN_STAT { get; set; }
///
/// VGM回执
///
public string VGM_RLT_STAT { get; set; }
///
/// SI回执
///
public string SI_RLT_STAT { get; set; }
}
///
/// dto基类
///
public class BookingSlotBaseDto
{
///
/// 舱位提单号
///
[Description("舱位提单号")]
public string SLOT_BOOKING_NO { get; set; }
///
/// 合约号
///
[Description("合约号")]
public string CONTRACT_NO { get; set; }
///
/// 订舱抬头
///
[Description("订舱抬头")]
public string BOOKING_PARTY { get; set; }
///
/// 船名
///
[Description("船名")]
public string VESSEL { get; set; }
///
/// 航次号
///
[Description("航次号")]
public string VOYNO { get; set; }
///
/// 预计开船日期
///
[Description("预计开船日期")]
public DateTime? ETD { get; set; }
///
/// 预计到港日期
///
[Description("预计到港日期")]
public DateTime? ETA { get; set; }
///
/// 收货地代码
///
[Description("收货地代码")]
public string PLACERECEIPTID { get; set; }
///
/// 收货地
///
[Description("收货地")]
public string PLACERECEIPT { get; set; }
///
/// 交货地代码
///
[Description("交货地代码")]
public string PLACEDELIVERYID { get; set; }
///
/// 交货地
///
[Description("交货地")]
public string PLACEDELIVERY { get; set; }
///
/// 装货港代码
///
[Description("装货港代码")]
public string PORTLOADID { get; set; }
///
/// 装货港
///
[Description("装货港")]
public string PORTLOAD { get; set; }
///
/// 卸货港代码
///
[Description("卸货港代码")]
public string PORTDISCHARGEID { get; set; }
///
/// 卸货港
///
[Description("卸货港")]
public string PORTDISCHARGE { get; set; }
///
/// 中转港1
///
[Description("中转港1")]
public string TRANSFER_PORT_1 { get; set; }
///
/// 中转港2
///
[Description("中转港2")]
public string TRANSFER_PORT_2 { get; set; }
///
/// 船公司代号
///
[Description("船公司代号")]
public string CARRIERID { get; set; }
///
/// 船公司
///
[Description("船公司")]
public string CARRIER { get; set; }
///
/// 航线代码(船公司)
///
[Description("航线代码(船公司)")]
public string LANECODE { get; set; }
///
/// 航线名称(船公司)
///
[Description("航线名称(船公司)")]
public string LANENAME { get; set; }
///
/// 承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转
///
[Description("承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转")]
public string CARRIAGE_TYPE { get; set; }
///
/// 承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
///
[Description("承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱")]
public string CARRIAGE_TYPE_NAME { get; set; }
///
/// 订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
///
[Description("订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱")]
public string BOOKING_SLOT_TYPE { get; set; }
///
/// 订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
///
[Description("订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱")]
public string BOOKING_SLOT_TYPE_NAME { get; set; }
///
/// 签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单;
///
[Description("签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单;")]
public string ISSUETYPE { get; set; }
///
/// 箱型箱量
///
[Description("箱型箱量")]
public string CTN_STAT { get; set; }
///
/// 所在周数
///
[Description("所在周数")]
public string WEEK_AT { get; set; }
///
/// 箱使天数
///
[Description("箱使天数")]
public int DETENSION_FREE_DAYS { get; set; }
///
/// 样单截止日期
///
[Description("样单截止日期")]
public DateTime? SI_CUT_DATE { get; set; }
///
/// 截港时间
///
[Description("截港时间")]
public DateTime? CY_CUT_DATE { get; set; }
///
/// VGM截止日期
///
[Description("VGM截止日期")]
public DateTime? VGM_SUBMISSION_CUT_DATE { get; set; }
///
/// MDGF提交截止时间
///
[Description("MDGF提交截止时间")]
public DateTime? MDGF_CUT_DATE { get; set; }
///
/// 舱单截止时间
///
[Description("舱单截止时间")]
public DateTime? MANIFEST_CUT_DATE { get; set; }
}
///
/// 保存舱位dto
///
public class BookingSlotBaseSaveDto : BookingSlotBaseDto
{
///
/// Id
///
public long Id { get; set; }
///
/// 舱位箱信息
///
public List CtnList { get; set; }
}
public class BookingSlotBaseListOutput : BookingSlotBaseDto
{
///
/// Id
///
public long Id { get; set; }
///
/// VGM回执
///
[Description("VGM回执")]
public string VGM_RLT_STAT { get; set; }
///
/// SI回执
///
[Description("SI回执")]
public string SI_RLT_STAT { get; set; }
///
/// 提箱回执
///
[Description("提箱回执")]
public string TAKE_CTN_RLT_STAT { get; set; }
///
/// 还箱回执
///
[Description("还箱回执")]
public string RETURN_CTN_RLT_STAT { get; set; }
///
/// 预甩回执
///
[Description("预甩回执")]
public string NOMINATION_RLT_STAT { get; set; }
///
/// 舱位变更回执
///
[Description("舱位变更回执")]
public string AMENDMENT_RLT_STAT { get; set; }
///
/// 舱位取消回执
///
[Description("舱位取消回执")]
public string CANCELLATION_RLT_STAT { get; set; }
///
/// 目的港卸船未提货回执
///
[Description("目的港卸船未提货回执")]
public string DISCHARGE_FULL_RLT_STAT { get; set; }
///
/// 目的港提箱未还空箱回执
///
[Description("目的港提箱未还空箱回执")]
public string GATE_OUTFULL_RLT_STAT { get; set; }
///
/// 创建时间
///
public DateTime? CreatedTime { get; set; }
///
/// 更新时间
///
public DateTime? UpdatedTime { get; set; }
///
/// 创建者名称
///
[MaxLength(20)]
public string CreatedUserName { get; set; }
///
/// 修改者名称
///
public string UpdatedUserName { get; set; }
}
///
/// API接收保存舱位dto
///
public class BookingSlotBaseApiSaveDto : BookingSlotBaseDto
{
///
/// 舱位箱信息
///
public List CtnList { get; set; }
}
///
/// API接收对象
///
public class BookingSlotBaseApiDto
{
///
/// 操作类型,add 新增、update 更新、del 删除取消
///
public string OpType { get; set; }
///
/// 数据对象
///
public BookingSlotBaseApiSaveDto DataObj { get; set; }
}
///
/// 查询可用舱位信息Dto
///
public class BookingSlotAvailableDto: BookingSlotBaseDto
{
///
/// Id
///
public long Id { get; set; }
///
/// 舱位箱信息
///
public List CtnList { get; set; }
}
}