FetchUpBean.java 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. package com.qingdaofushan.home.bean;
  2. import java.util.List;
  3. public class FetchUpBean {
  4. /**
  5. * querys : [{"orderby":{"columns":["createTime"],"seq":"DESC"},"limit":{"start":0,"length":30}}]
  6. * expands : {"options":"all"}
  7. */
  8. private ExpandsBean expands;
  9. private List<QuerysBean> querys;
  10. public ExpandsBean getExpands() {
  11. return expands;
  12. }
  13. public void setExpands(ExpandsBean expands) {
  14. this.expands = expands;
  15. }
  16. public List<QuerysBean> getQuerys() {
  17. return querys;
  18. }
  19. public void setQuerys(List<QuerysBean> querys) {
  20. this.querys = querys;
  21. }
  22. public static class ExpandsBean {
  23. /**
  24. * options : all
  25. */
  26. private String options;
  27. private String search;
  28. private int start;
  29. private int length;
  30. public int getStart() {
  31. return start;
  32. }
  33. public void setStart(int start) {
  34. this.start = start;
  35. }
  36. public int getLength() {
  37. return length;
  38. }
  39. public void setLength(int length) {
  40. this.length = length;
  41. }
  42. public String getSearch() {
  43. return search;
  44. }
  45. public void setSearch(String search) {
  46. this.search = search;
  47. }
  48. public String getOptions() {
  49. return options;
  50. }
  51. public void setOptions(String options) {
  52. this.options = options;
  53. }
  54. }
  55. public static class QuerysBean {
  56. /**
  57. * orderby : {"columns":["createTime"],"seq":"DESC"}
  58. * limit : {"start":0,"length":30}
  59. * condition : {"symbol":"LT","column":"updateTime","value":"2020-11-05T20:43:52Z"}
  60. */
  61. private OrderbyBean orderby;
  62. private LimitBean limit;
  63. private ConditionBean condition;
  64. private String phoneNumber;
  65. private String id;
  66. public String getId() {
  67. return id;
  68. }
  69. public void setId(String id) {
  70. this.id = id;
  71. }
  72. public String getPhoneNumber() {
  73. return phoneNumber;
  74. }
  75. public void setPhoneNumber(String phoneNumber) {
  76. this.phoneNumber = phoneNumber;
  77. }
  78. public OrderbyBean getOrderby() {
  79. return orderby;
  80. }
  81. public void setOrderby(OrderbyBean orderby) {
  82. this.orderby = orderby;
  83. }
  84. public LimitBean getLimit() {
  85. return limit;
  86. }
  87. public void setLimit(LimitBean limit) {
  88. this.limit = limit;
  89. }
  90. public ConditionBean getCondition() {
  91. return condition;
  92. }
  93. public void setCondition(ConditionBean condition) {
  94. this.condition = condition;
  95. }
  96. public static class OrderbyBean {
  97. /**
  98. * columns : ["createTime"]
  99. * seq : DESC
  100. */
  101. private String seq;
  102. private List<String> columns;
  103. public String getSeq() {
  104. return seq;
  105. }
  106. public void setSeq(String seq) {
  107. this.seq = seq;
  108. }
  109. public List<String> getColumns() {
  110. return columns;
  111. }
  112. public void setColumns(List<String> columns) {
  113. this.columns = columns;
  114. }
  115. }
  116. public static class LimitBean {
  117. /**
  118. * start : 0
  119. * length : 30
  120. */
  121. private int start;
  122. private int length;
  123. public int getStart() {
  124. return start;
  125. }
  126. public void setStart(int start) {
  127. this.start = start;
  128. }
  129. public int getLength() {
  130. return length;
  131. }
  132. public void setLength(int length) {
  133. this.length = length;
  134. }
  135. }
  136. public static class ConditionBean {
  137. /**
  138. * symbol : LT
  139. * column : updateTime
  140. * value : 2020-11-05T20:43:52Z
  141. */
  142. private String symbol;
  143. private String column;
  144. private String value;
  145. public String getSymbol() {
  146. return symbol;
  147. }
  148. public void setSymbol(String symbol) {
  149. this.symbol = symbol;
  150. }
  151. public String getColumn() {
  152. return column;
  153. }
  154. public void setColumn(String column) {
  155. this.column = column;
  156. }
  157. public String getValue() {
  158. return value;
  159. }
  160. public void setValue(String value) {
  161. this.value = value;
  162. }
  163. }
  164. }
  165. }