Files
QYZH.InteractiveMagazine/QYZH.InteractiveMagazine.Models/Dto/PageQueryModel.cs
2026-06-01 13:42:40 +08:00

28 lines
570 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}