Files
irc-netcore-api/IRaCIS.Core.Infrastructure/_IRaCIS/Input/PageInput.cs
T
hang bd4e4e0072
continuous-integration/drone/push Build is passing
阅片期替代
2024-09-02 10:27:01 +08:00

30 lines
675 B
C#
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System.Collections.Generic;
namespace IRaCIS.Core.Infrastructure.Extention
{
/// <summary>
/// 分页信息输入
/// </summary>
public class PageInput: SortInput
{
public int PageIndex { get; set; } = 1;
public int PageSize { set; get; } = 10;
}
public class SortInput
{
public bool Asc { get; set; } = true;
public string SortField { get; set; } = "";
}
public class PageInputMultiSort
{
public int PageIndex { get; set; } = 1;
public int PageSize { set; get; } = 10;
//["a asc", "b desc", "c asc"]
public string[] SortArray { get; set; }
}
}