cf43986a4e0826c88fc6dfc59774e05403a7fc5c.svn-base 1.7 KB

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