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.
BookingHeChuan/Myshipping.Application/Service/BookingSlot/Dto/BookingSlotDemandBaseDto.cs

145 lines
3.5 KiB
C#

using Myshipping.Core;
using System;
using System.Collections.Generic;
namespace Myshipping.Application.Service.BookingSlot.Dto
{
/// <summary>
/// 基础Dto
/// </summary>
public class BookingSlotDemandBaseDto
{
public long Id { get; set; }
/// <summary>
/// 客户ID
/// </summary>
public long? CUSTOMERID { get; set; }
/// <summary>
/// 客户名称
/// </summary>
public string CUSTOMERNAME { 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>
/// 船公司代号
/// </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 REMARK { get; set; }
}
public class BookingSlotDemandCtnBaseDto
{
public long DemandId { get; set; }
/// <summary>
/// 箱型代码
/// </summary>
public string CTNCODE { get; set; }
/// <summary>
/// 箱型名称
/// </summary>
public string CTNALL { get; set; }
/// <summary>
/// 箱量
/// </summary>
public int CTNNUM { get; set; }
}
/// <summary>
/// 新增修改 Dto
/// </summary>
public class BookingSlotDemandInput : BookingSlotDemandBaseDto
{
public List<BookingSlotDemandCtnBaseDto> CtnList { get; set; }
}
/// <summary>
/// 分页查询及详情查询 Dto
/// </summary>
public class BookingSlotDemandOutput : BookingSlotDemandBaseDto
{
public List<BookingSlotDemandCtnBaseDto> CtnList { get; set; }
}
public class BookingSlotDemandPageInput : PageInputBase
{
/// <summary>
/// 客户ID
/// </summary>
public long? CUSTOMERID { get; set; }
/// <summary>
/// 装货港代码
/// </summary>
public string PORTLOADID { get; set; }
/// <summary>
/// 卸货港代码
/// </summary>
public string PORTDISCHARGEID { get; set; }
/// <summary>
/// 船公司代号
/// </summary>
public string CARRIERID { get; set; }
/// <summary>
/// 备注
/// </summary>
public string REMARK { 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; }
}
}