团餐订单
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.
 
 

69 lines
1.3 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPA.KitChen.GroupMealOrder.Application.Service
  7. {
  8. public class PageInputDto
  9. {
  10. /// <summary>
  11. /// 当前页码
  12. /// </summary>
  13. private int current;
  14. public virtual int Current
  15. {
  16. get
  17. {
  18. return current;
  19. }
  20. set
  21. {
  22. current = value;
  23. if (current <= 0)
  24. {
  25. current = 1;
  26. }
  27. }
  28. }
  29. //public int? Status { get; set; }
  30. /// <summary>
  31. /// 页码容量
  32. /// </summary>
  33. private int pagesize;
  34. public virtual int PageSize
  35. {
  36. get
  37. {
  38. return pagesize;
  39. }
  40. set
  41. {
  42. pagesize = value;
  43. if (pagesize <= 0)
  44. {
  45. pagesize = 20;
  46. }
  47. }
  48. }
  49. }
  50. public class PageOutDto
  51. {
  52. /// <summary>
  53. /// Data
  54. /// </summary>
  55. public object Data { get; set; }
  56. /// <summary>
  57. /// Total
  58. /// </summary>
  59. public int Total { get; set; }
  60. }
  61. }