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.

335 lines
8.2 KiB
C#

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