4637bfeec2d2836161fa8f3f6e6fab42804c8daf.svn-base 1.7 KB

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