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.

88 lines
2.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Dtos
{
/// <summary>
/// 舱位基础信息含箱信息列表Dto
/// </summary>
public class BookingSlotBaseWithCtnDto : BookingSlotBaseDto
{
/// <summary>
/// Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// 舱位箱信息
/// </summary>
public List<BookingSlotCtnDto> CtnList { get; set; }
/// <summary>
/// 拆票或合票标志 1-拆票 2-合票
/// </summary>
public int SplitOrMerge { get; set; }
}
public class PageWithTotal : PageInputBase
{
public virtual int Total { get; set; }
}
public class PageInputBase
{
/// <summary>
/// 搜索值
/// </summary>
public virtual string SearchValue { get; set; }
/// <summary>
/// 当前页码
/// </summary>
public virtual int PageNo { get; set; } = 1;
/// <summary>
/// 页码容量
/// </summary>
public virtual int PageSize { get; set; } = 20;
/// <summary>
/// 搜索开始时间
/// </summary>
public virtual string SearchBeginTime { get; set; }
/// <summary>
/// 搜索结束时间
/// </summary>
public virtual string SearchEndTime { get; set; }
/// <summary>
/// 排序字段
/// </summary>
public virtual string SortField { get; set; }
/// <summary>
/// 排序方法,默认降序
/// </summary>
public virtual bool DescSort { get; set; } = true;
public List<QuerySortModel> MultiSort { get; set; }
}
public class QuerySortModel
{
/// <summary>
/// 字段名
/// </summary>
public string SortField { get; set; }
/// <summary>
/// 排序方法,默认降序
/// </summary>
public virtual bool DescSort { get; set; } = true;
}
}