e529b043218955e450f5c680ce6b4c8418ee10c6.svn-base 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. package cn.com.goldenwater.dcproj.param;
  2. import cn.com.goldenwater.dcproj.model.AttRsBase;
  3. import io.swagger.annotations.ApiParam;
  4. import java.io.Serializable;
  5. import java.util.List;
  6. /**
  7. * AttRsBaseParam
  8. *
  9. * @author lune
  10. * @date 2019-2-22
  11. */
  12. public class AttRsBaseParam extends AttRsBase implements Serializable {
  13. @ApiParam(
  14. name = "pageNum",
  15. value = "页码",
  16. defaultValue = "1"
  17. )
  18. private int pageNum = 1;
  19. @ApiParam(
  20. name = "pageSize",
  21. value = "每页记录数",
  22. defaultValue = "10"
  23. )
  24. private int pageSize = 10;
  25. @ApiParam(
  26. name = "orderBy",
  27. value = "排序语句(例如:id desc, create_time desc)"
  28. )
  29. private String orderBy;
  30. @ApiParam(
  31. name = "count",
  32. value = "是否查询总数(默认不)",
  33. defaultValue = "false"
  34. )
  35. private boolean count = false;
  36. @ApiParam(
  37. name = "offset",
  38. value = "偏移量:上页最后一条记录标识"
  39. )
  40. private String offset;
  41. @ApiParam(
  42. name = "rsCodes",
  43. value = "水库编码:多个以英文半角逗号隔开"
  44. )
  45. private List<String> rsCodes;
  46. public AttRsBaseParam() {
  47. }
  48. public int getPageNum() {
  49. return this.pageNum;
  50. }
  51. public void setPageNum(int pageNum) {
  52. this.pageNum = pageNum;
  53. }
  54. public int getPageSize() {
  55. return this.pageSize;
  56. }
  57. public void setPageSize(int pageSize) {
  58. this.pageSize = pageSize;
  59. }
  60. public String getOrderBy() {
  61. return this.orderBy;
  62. }
  63. public void setOrderBy(String orderBy) {
  64. this.orderBy = orderBy;
  65. }
  66. public boolean getCount() {
  67. return this.count;
  68. }
  69. public void setCount(boolean containPageInfo) {
  70. this.count = this.count;
  71. }
  72. public String getOffset() {
  73. return this.offset;
  74. }
  75. public void setOffset(String offset) {
  76. this.offset = offset;
  77. }
  78. public List<String> getRsCodes() {
  79. return rsCodes;
  80. }
  81. public void setRsCodes(List<String> rsCodes) {
  82. this.rsCodes = rsCodes;
  83. }
  84. }