PageParameter.cs 490 B

123456789101112131415161718192021222324
  1. namespace GxPress.Common.Page
  2. {
  3. /// <summary>
  4. /// 分页参数
  5. /// </summary>
  6. public class PageParameter
  7. {
  8. /// <summary>
  9. /// 页码
  10. /// </summary>
  11. //[Min(1)]
  12. public int Page { get; set; } = 1;
  13. /// <summary>
  14. /// 每页大小
  15. /// </summary>
  16. public int PerPage { get; set; } = 15;
  17. /// <summary>
  18. /// 排序字段
  19. /// </summary>
  20. public string Sort { get; set; }
  21. }
  22. }