添加项目文件。
This commit is contained in:
27
QYZH.InteractiveMagazine.Models/Dto/PageQueryModel.cs
Normal file
27
QYZH.InteractiveMagazine.Models/Dto/PageQueryModel.cs
Normal file
@ -0,0 +1,27 @@
|
||||
namespace QYZH.InteractiveMagazine.Models.Dto;
|
||||
|
||||
/// <summary>
|
||||
/// 分页查询输入
|
||||
/// </summary>
|
||||
public class PageQueryModel
|
||||
{
|
||||
/// <summary>
|
||||
/// 页码,默认1
|
||||
/// </summary>
|
||||
public int PageIndex { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 每页条数,默认10
|
||||
/// </summary>
|
||||
public int PageSize { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// 排序字段
|
||||
/// </summary>
|
||||
public string? SortField { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序方式(asc/desc)
|
||||
/// </summary>
|
||||
public string? SortOrder { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user