d12d8774d1150cd44c239645292886e43ceffcb2.svn-base 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. package cn.com.goldenwater.dcproj.param;
  2. import cn.com.goldenwater.dcproj.model.BisInspWagaBase;
  3. import io.swagger.annotations.ApiModelProperty;
  4. import io.swagger.annotations.ApiParam;
  5. import java.io.Serializable;
  6. /**
  7. * BisInspWagaBaseParam
  8. *
  9. * @author lune
  10. * @date 2020-4-15
  11. */
  12. public class BisInspWagaBaseParam extends BisInspWagaBase 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. public int getPageNum() {
  42. return this.pageNum;
  43. }
  44. public void setPageNum(int pageNum) {
  45. this.pageNum = pageNum;
  46. }
  47. public int getPageSize() {
  48. return this.pageSize;
  49. }
  50. public void setPageSize(int pageSize) {
  51. this.pageSize = pageSize;
  52. }
  53. public String getOrderBy() {
  54. return this.orderBy;
  55. }
  56. public void setOrderBy(String orderBy) {
  57. this.orderBy = orderBy;
  58. }
  59. public boolean getCount() {
  60. return this.count;
  61. }
  62. public void setCount(boolean containPageInfo) {
  63. this.count = this.count;
  64. }
  65. public String getOffset() {
  66. return this.offset;
  67. }
  68. public void setOffset(String offset) {
  69. this.offset = offset;
  70. }
  71. }