b8bbc10d2140a9380edb7b36175b460dd2e1afeb.svn-base 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. package cn.com.goldenwater.dcproj.param;
  2. import cn.com.goldenwater.dcproj.model.BisInspSafeExtManage;
  3. import io.swagger.annotations.ApiParam;
  4. import java.io.Serializable;
  5. /**
  6. * BisInspSafeExtManageParam
  7. *
  8. * @author lune
  9. * @date 2019-2-22
  10. */
  11. public class BisInspSafeExtManageParam extends BisInspSafeExtManage implements Serializable {
  12. @ApiParam(
  13. name = "pageNum",
  14. value = "页码",
  15. defaultValue = "1"
  16. )
  17. private int pageNum = 1;
  18. @ApiParam(
  19. name = "pageSize",
  20. value = "每页记录数",
  21. defaultValue = "10"
  22. )
  23. private int pageSize = 10;
  24. @ApiParam(
  25. name = "orderBy",
  26. value = "排序语句(例如:id desc, create_time desc)"
  27. )
  28. private String orderBy;
  29. @ApiParam(
  30. name = "count",
  31. value = "是否查询总数(默认不)",
  32. defaultValue = "false"
  33. )
  34. private boolean count = false;
  35. @ApiParam(
  36. name = "offset",
  37. value = "偏移量:上页最后一条记录标识"
  38. )
  39. private String offset;
  40. public BisInspSafeExtManageParam() {
  41. }
  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. }