ea39ff73e973c1a638307b8d0129dd1ce99e49b4.svn-base 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. package cn.com.goldenwater.dcproj.param;
  2. import cn.com.goldenwater.dcproj.model.BisInspWagaSapRgstrBase;
  3. import io.swagger.annotations.ApiParam;
  4. public class BisInspWagaSapRgstrBaseParam extends BisInspWagaSapRgstrBase {
  5. @ApiParam(
  6. name = "pageNum",
  7. value = "页码",
  8. defaultValue = "1"
  9. )
  10. private int pageNum = 1;
  11. @ApiParam(
  12. name = "pageSize",
  13. value = "每页记录数",
  14. defaultValue = "10"
  15. )
  16. private int pageSize = 10;
  17. @ApiParam(
  18. name = "orderBy",
  19. value = "排序语句(例如:id desc, create_time desc)"
  20. )
  21. private String orderBy;
  22. @ApiParam(
  23. name = "count",
  24. value = "是否查询总数(默认不)",
  25. defaultValue = "false"
  26. )
  27. private boolean count = false;
  28. @ApiParam(
  29. name = "offset",
  30. value = "偏移量:上页最后一条记录标识"
  31. )
  32. private String offset;
  33. public int getPageNum() {
  34. return this.pageNum;
  35. }
  36. public void setPageNum(int pageNum) {
  37. this.pageNum = pageNum;
  38. }
  39. public int getPageSize() {
  40. return this.pageSize;
  41. }
  42. public void setPageSize(int pageSize) {
  43. this.pageSize = pageSize;
  44. }
  45. public String getOrderBy() {
  46. return this.orderBy;
  47. }
  48. public void setOrderBy(String orderBy) {
  49. this.orderBy = orderBy;
  50. }
  51. public boolean getCount() {
  52. return this.count;
  53. }
  54. public void setCount(boolean containPageInfo) {
  55. this.count = this.count;
  56. }
  57. public String getOffset() {
  58. return this.offset;
  59. }
  60. public void setOffset(String offset) {
  61. this.offset = offset;
  62. }
  63. }