875b7e00addcee36fd238af8344c73239351699e.svn-base 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. package cn.com.goldenwater.dcproj.param;
  2. import cn.com.goldenwater.dcproj.model.AttWintBaseB;
  3. import io.swagger.annotations.ApiModelProperty;
  4. import io.swagger.annotations.ApiParam;
  5. import java.io.Serializable;
  6. /**
  7. * AttWintBaseBParam
  8. *
  9. * @author lune
  10. * @date 2019-8-8
  11. */
  12. public class AttWintBaseBParam extends AttWintBaseB implements Serializable {
  13. @ApiModelProperty("是否导出")
  14. private String isExport;
  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 this.pageNum;
  45. }
  46. public void setPageNum(int pageNum) {
  47. this.pageNum = pageNum;
  48. }
  49. public int getPageSize() {
  50. return this.pageSize;
  51. }
  52. public void setPageSize(int pageSize) {
  53. this.pageSize = pageSize;
  54. }
  55. public String getOrderBy() {
  56. return this.orderBy;
  57. }
  58. public void setOrderBy(String orderBy) {
  59. this.orderBy = orderBy;
  60. }
  61. public boolean getCount() {
  62. return this.count;
  63. }
  64. public void setCount(boolean containPageInfo) {
  65. this.count = this.count;
  66. }
  67. public String getOffset() {
  68. return this.offset;
  69. }
  70. public void setOffset(String offset) {
  71. this.offset = offset;
  72. }
  73. public String getIsExport() {
  74. return isExport;
  75. }
  76. public void setIsExport(String isExport) {
  77. this.isExport = isExport;
  78. }
  79. }