50db6d696fac03c181c47ff2b1d4cbfec3a4e977.svn-base 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. package cn.com.goldenwater.dcproj.param;
  2. import cn.com.goldenwater.dcproj.model.BisInspQaSd;
  3. import io.swagger.annotations.ApiParam;
  4. import java.io.Serializable;
  5. /**
  6. * BisInspQaParam
  7. *
  8. * @author hjp
  9. * @date 2022-7-28
  10. */
  11. public class BisInspQaSdParam extends BisInspQaSd implements Serializable {
  12. @ApiParam(name = "pageNum", value = "页码", defaultValue = "1")
  13. private int pageNum = 1;
  14. @ApiParam(name = "pageSize", value = "每页记录数", defaultValue = "10")
  15. private int pageSize = 10;
  16. @ApiParam(name = "orderBy", value = "排序语句(例如:id desc, create_time desc)")
  17. private String orderBy;
  18. @ApiParam(name = "count", value = "是否查询总数(默认不)", defaultValue = "false")
  19. private boolean count = false;
  20. @ApiParam(name = "offset", value = "偏移量:上页最后一条记录标识")
  21. private String offset;
  22. public int getPageNum() {
  23. return pageNum;
  24. }
  25. public void setPageNum(int pageNum) {
  26. this.pageNum = pageNum;
  27. }
  28. public int getPageSize() {
  29. return pageSize;
  30. }
  31. public void setPageSize(int pageSize) {
  32. this.pageSize = pageSize;
  33. }
  34. public String getOrderBy() {
  35. return orderBy;
  36. }
  37. public void setOrderBy(String orderBy) {
  38. this.orderBy = orderBy;
  39. }
  40. public boolean isCount() {
  41. return count;
  42. }
  43. public void setCount(boolean count) {
  44. this.count = count;
  45. }
  46. public String getOffset() {
  47. return offset;
  48. }
  49. public void setOffset(String offset) {
  50. this.offset = offset;
  51. }
  52. }