82da2beda2a3146a00a191646211179b2ca2b815.svn-base 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. package cn.com.goldenwater.dcproj.param;
  2. import cn.com.goldenwater.dcproj.model.BisInspSwhsjs;
  3. import io.swagger.annotations.ApiParam;
  4. import java.util.Date;
  5. import java.io.Serializable;
  6. import io.swagger.annotations.ApiModelProperty;
  7. /**
  8. * BisInspSwhsjsParam
  9. *
  10. * @author
  11. * @date 2022-2-23
  12. */
  13. public class BisInspSwhsjsParam extends BisInspSwhsjs 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. }