You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
675 B

2 years ago
  1. using System;
  2. using System.Collections.Generic;
  3. namespace EasyNet.Common
  4. {
  5. public class PageResult
  6. {
  7. /// <summary>
  8. /// 分页查询中总记录数
  9. /// </summary>
  10. public int Total { get; set; }
  11. /// <summary>
  12. /// 分页查询中结果集合
  13. /// </summary>
  14. public Object DataList { get; set; }
  15. }
  16. public class PageResult<T>
  17. {
  18. /// <summary>
  19. /// 分页查询中总记录数
  20. /// </summary>
  21. public int Total { get; set; }
  22. /// <summary>
  23. /// 分页查询中结果集合
  24. /// </summary>
  25. public List<T> DataList { get; set; }
  26. }
  27. }