cee1a0178a4e2a7cf5769e80b37c9f65f496fb9d.svn-base 1.7 KB

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