1267308eafef62f814064119b7b40554e31db585.svn-base 1.7 KB

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