cd538015da77093dc224e53499342e33b58324e1.svn-base 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package cn.com.goldenwater.dcproj.param;
  2. import cn.com.goldenwater.dcproj.model.BisInspRsvrynRgstr;
  3. import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
  4. import io.swagger.annotations.ApiParam;
  5. import lombok.Data;
  6. import lombok.EqualsAndHashCode;
  7. import java.io.Serializable;
  8. /**
  9. * entity:BisInspRsvrRgstr
  10. *
  11. * @author lune
  12. * @date 2019-2-19
  13. */
  14. @EqualsAndHashCode(callSuper = true)
  15. @JsonIgnoreProperties(value = {"handler", "hibernateLazyInitializer"})
  16. @Data
  17. public class BisInspRsvrynRgstrParam extends BisInspRsvrynRgstr implements Serializable {
  18. @ApiParam(
  19. name = "pageNum",
  20. value = "页码",
  21. defaultValue = "1"
  22. )
  23. private int pageNum = 1;
  24. @ApiParam(
  25. name = "pageSize",
  26. value = "每页记录数",
  27. defaultValue = "10"
  28. )
  29. private int pageSize = 10;
  30. @ApiParam(
  31. name = "orderBy",
  32. value = "排序语句(例如:id desc, create_time desc)"
  33. )
  34. private String orderBy;
  35. @ApiParam(
  36. name = "count",
  37. value = "是否查询总数(默认不)",
  38. defaultValue = "false"
  39. )
  40. private boolean count = false;
  41. @ApiParam(
  42. name = "offset",
  43. value = "偏移量:上页最后一条记录标识"
  44. )
  45. private String offset;
  46. }