7be7283fa6a32b2425fc44b85d5455b3c0e730df.svn-base 1.9 KB

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