2ed45a9eb82d13a6435423e071eddeb68f7adc1d.svn-base 1.9 KB

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