VcodeExample.java 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  1. package com.js.kbt.model;
  2. import java.util.ArrayList;
  3. import java.util.Date;
  4. import java.util.List;
  5. public class VcodeExample {
  6. /**
  7. * This field was generated by MyBatis Generator. This field corresponds to the database table vcode
  8. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  9. */
  10. protected String orderByClause;
  11. /**
  12. * This field was generated by MyBatis Generator. This field corresponds to the database table vcode
  13. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  14. */
  15. protected boolean distinct;
  16. /**
  17. * This field was generated by MyBatis Generator. This field corresponds to the database table vcode
  18. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  19. */
  20. protected List<Criteria> oredCriteria;
  21. /**
  22. * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
  23. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  24. */
  25. public VcodeExample() {
  26. oredCriteria = new ArrayList<Criteria>();
  27. }
  28. /**
  29. * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
  30. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  31. */
  32. public void setOrderByClause(String orderByClause) {
  33. this.orderByClause = orderByClause;
  34. }
  35. /**
  36. * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
  37. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  38. */
  39. public String getOrderByClause() {
  40. return orderByClause;
  41. }
  42. /**
  43. * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
  44. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  45. */
  46. public void setDistinct(boolean distinct) {
  47. this.distinct = distinct;
  48. }
  49. /**
  50. * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
  51. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  52. */
  53. public boolean isDistinct() {
  54. return distinct;
  55. }
  56. /**
  57. * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
  58. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  59. */
  60. public List<Criteria> getOredCriteria() {
  61. return oredCriteria;
  62. }
  63. /**
  64. * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
  65. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  66. */
  67. public void or(Criteria criteria) {
  68. oredCriteria.add(criteria);
  69. }
  70. /**
  71. * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
  72. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  73. */
  74. public Criteria or() {
  75. Criteria criteria = createCriteriaInternal();
  76. oredCriteria.add(criteria);
  77. return criteria;
  78. }
  79. /**
  80. * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
  81. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  82. */
  83. public Criteria createCriteria() {
  84. Criteria criteria = createCriteriaInternal();
  85. if (oredCriteria.size() == 0) {
  86. oredCriteria.add(criteria);
  87. }
  88. return criteria;
  89. }
  90. /**
  91. * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
  92. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  93. */
  94. protected Criteria createCriteriaInternal() {
  95. Criteria criteria = new Criteria();
  96. return criteria;
  97. }
  98. /**
  99. * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
  100. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  101. */
  102. public void clear() {
  103. oredCriteria.clear();
  104. orderByClause = null;
  105. distinct = false;
  106. }
  107. /**
  108. * This class was generated by MyBatis Generator. This class corresponds to the database table vcode
  109. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  110. */
  111. protected abstract static class GeneratedCriteria {
  112. protected List<Criterion> criteria;
  113. protected GeneratedCriteria() {
  114. super();
  115. criteria = new ArrayList<Criterion>();
  116. }
  117. public boolean isValid() {
  118. return criteria.size() > 0;
  119. }
  120. public List<Criterion> getAllCriteria() {
  121. return criteria;
  122. }
  123. public List<Criterion> getCriteria() {
  124. return criteria;
  125. }
  126. protected void addCriterion(String condition) {
  127. if (condition == null) {
  128. throw new RuntimeException("Value for condition cannot be null");
  129. }
  130. criteria.add(new Criterion(condition));
  131. }
  132. protected void addCriterion(String condition, Object value,
  133. String property) {
  134. if (value == null) {
  135. throw new RuntimeException("Value for " + property
  136. + " cannot be null");
  137. }
  138. criteria.add(new Criterion(condition, value));
  139. }
  140. protected void addCriterion(String condition, Object value1,
  141. Object value2, String property) {
  142. if (value1 == null || value2 == null) {
  143. throw new RuntimeException("Between values for " + property
  144. + " cannot be null");
  145. }
  146. criteria.add(new Criterion(condition, value1, value2));
  147. }
  148. public Criteria andIdIsNull() {
  149. addCriterion("id is null");
  150. return (Criteria) this;
  151. }
  152. public Criteria andIdIsNotNull() {
  153. addCriterion("id is not null");
  154. return (Criteria) this;
  155. }
  156. public Criteria andIdEqualTo(Integer value) {
  157. addCriterion("id =", value, "id");
  158. return (Criteria) this;
  159. }
  160. public Criteria andIdNotEqualTo(Integer value) {
  161. addCriterion("id <>", value, "id");
  162. return (Criteria) this;
  163. }
  164. public Criteria andIdGreaterThan(Integer value) {
  165. addCriterion("id >", value, "id");
  166. return (Criteria) this;
  167. }
  168. public Criteria andIdGreaterThanOrEqualTo(Integer value) {
  169. addCriterion("id >=", value, "id");
  170. return (Criteria) this;
  171. }
  172. public Criteria andIdLessThan(Integer value) {
  173. addCriterion("id <", value, "id");
  174. return (Criteria) this;
  175. }
  176. public Criteria andIdLessThanOrEqualTo(Integer value) {
  177. addCriterion("id <=", value, "id");
  178. return (Criteria) this;
  179. }
  180. public Criteria andIdIn(List<Integer> values) {
  181. addCriterion("id in", values, "id");
  182. return (Criteria) this;
  183. }
  184. public Criteria andIdNotIn(List<Integer> values) {
  185. addCriterion("id not in", values, "id");
  186. return (Criteria) this;
  187. }
  188. public Criteria andIdBetween(Integer value1, Integer value2) {
  189. addCriterion("id between", value1, value2, "id");
  190. return (Criteria) this;
  191. }
  192. public Criteria andIdNotBetween(Integer value1, Integer value2) {
  193. addCriterion("id not between", value1, value2, "id");
  194. return (Criteria) this;
  195. }
  196. public Criteria andMobileIsNull() {
  197. addCriterion("mobile is null");
  198. return (Criteria) this;
  199. }
  200. public Criteria andMobileIsNotNull() {
  201. addCriterion("mobile is not null");
  202. return (Criteria) this;
  203. }
  204. public Criteria andMobileEqualTo(String value) {
  205. addCriterion("mobile =", value, "mobile");
  206. return (Criteria) this;
  207. }
  208. public Criteria andMobileNotEqualTo(String value) {
  209. addCriterion("mobile <>", value, "mobile");
  210. return (Criteria) this;
  211. }
  212. public Criteria andMobileGreaterThan(String value) {
  213. addCriterion("mobile >", value, "mobile");
  214. return (Criteria) this;
  215. }
  216. public Criteria andMobileGreaterThanOrEqualTo(String value) {
  217. addCriterion("mobile >=", value, "mobile");
  218. return (Criteria) this;
  219. }
  220. public Criteria andMobileLessThan(String value) {
  221. addCriterion("mobile <", value, "mobile");
  222. return (Criteria) this;
  223. }
  224. public Criteria andMobileLessThanOrEqualTo(String value) {
  225. addCriterion("mobile <=", value, "mobile");
  226. return (Criteria) this;
  227. }
  228. public Criteria andMobileLike(String value) {
  229. addCriterion("mobile like", value, "mobile");
  230. return (Criteria) this;
  231. }
  232. public Criteria andMobileNotLike(String value) {
  233. addCriterion("mobile not like", value, "mobile");
  234. return (Criteria) this;
  235. }
  236. public Criteria andMobileIn(List<String> values) {
  237. addCriterion("mobile in", values, "mobile");
  238. return (Criteria) this;
  239. }
  240. public Criteria andMobileNotIn(List<String> values) {
  241. addCriterion("mobile not in", values, "mobile");
  242. return (Criteria) this;
  243. }
  244. public Criteria andMobileBetween(String value1, String value2) {
  245. addCriterion("mobile between", value1, value2, "mobile");
  246. return (Criteria) this;
  247. }
  248. public Criteria andMobileNotBetween(String value1, String value2) {
  249. addCriterion("mobile not between", value1, value2, "mobile");
  250. return (Criteria) this;
  251. }
  252. public Criteria andVcodeIsNull() {
  253. addCriterion("vcode is null");
  254. return (Criteria) this;
  255. }
  256. public Criteria andVcodeIsNotNull() {
  257. addCriterion("vcode is not null");
  258. return (Criteria) this;
  259. }
  260. public Criteria andVcodeEqualTo(String value) {
  261. addCriterion("vcode =", value, "vcode");
  262. return (Criteria) this;
  263. }
  264. public Criteria andVcodeNotEqualTo(String value) {
  265. addCriterion("vcode <>", value, "vcode");
  266. return (Criteria) this;
  267. }
  268. public Criteria andVcodeGreaterThan(String value) {
  269. addCriterion("vcode >", value, "vcode");
  270. return (Criteria) this;
  271. }
  272. public Criteria andVcodeGreaterThanOrEqualTo(String value) {
  273. addCriterion("vcode >=", value, "vcode");
  274. return (Criteria) this;
  275. }
  276. public Criteria andVcodeLessThan(String value) {
  277. addCriterion("vcode <", value, "vcode");
  278. return (Criteria) this;
  279. }
  280. public Criteria andVcodeLessThanOrEqualTo(String value) {
  281. addCriterion("vcode <=", value, "vcode");
  282. return (Criteria) this;
  283. }
  284. public Criteria andVcodeLike(String value) {
  285. addCriterion("vcode like", value, "vcode");
  286. return (Criteria) this;
  287. }
  288. public Criteria andVcodeNotLike(String value) {
  289. addCriterion("vcode not like", value, "vcode");
  290. return (Criteria) this;
  291. }
  292. public Criteria andVcodeIn(List<String> values) {
  293. addCriterion("vcode in", values, "vcode");
  294. return (Criteria) this;
  295. }
  296. public Criteria andVcodeNotIn(List<String> values) {
  297. addCriterion("vcode not in", values, "vcode");
  298. return (Criteria) this;
  299. }
  300. public Criteria andVcodeBetween(String value1, String value2) {
  301. addCriterion("vcode between", value1, value2, "vcode");
  302. return (Criteria) this;
  303. }
  304. public Criteria andVcodeNotBetween(String value1, String value2) {
  305. addCriterion("vcode not between", value1, value2, "vcode");
  306. return (Criteria) this;
  307. }
  308. public Criteria andIndateIsNull() {
  309. addCriterion("indate is null");
  310. return (Criteria) this;
  311. }
  312. public Criteria andIndateIsNotNull() {
  313. addCriterion("indate is not null");
  314. return (Criteria) this;
  315. }
  316. public Criteria andIndateEqualTo(Date value) {
  317. addCriterion("indate =", value, "indate");
  318. return (Criteria) this;
  319. }
  320. public Criteria andIndateNotEqualTo(Date value) {
  321. addCriterion("indate <>", value, "indate");
  322. return (Criteria) this;
  323. }
  324. public Criteria andIndateGreaterThan(Date value) {
  325. addCriterion("indate >", value, "indate");
  326. return (Criteria) this;
  327. }
  328. public Criteria andIndateGreaterThanOrEqualTo(Date value) {
  329. addCriterion("indate >=", value, "indate");
  330. return (Criteria) this;
  331. }
  332. public Criteria andIndateLessThan(Date value) {
  333. addCriterion("indate <", value, "indate");
  334. return (Criteria) this;
  335. }
  336. public Criteria andIndateLessThanOrEqualTo(Date value) {
  337. addCriterion("indate <=", value, "indate");
  338. return (Criteria) this;
  339. }
  340. public Criteria andIndateIn(List<Date> values) {
  341. addCriterion("indate in", values, "indate");
  342. return (Criteria) this;
  343. }
  344. public Criteria andIndateNotIn(List<Date> values) {
  345. addCriterion("indate not in", values, "indate");
  346. return (Criteria) this;
  347. }
  348. public Criteria andIndateBetween(Date value1, Date value2) {
  349. addCriterion("indate between", value1, value2, "indate");
  350. return (Criteria) this;
  351. }
  352. public Criteria andIndateNotBetween(Date value1, Date value2) {
  353. addCriterion("indate not between", value1, value2, "indate");
  354. return (Criteria) this;
  355. }
  356. }
  357. /**
  358. * This class was generated by MyBatis Generator. This class corresponds to the database table vcode
  359. * @mbggenerated Tue Jul 04 16:24:58 CST 2017
  360. */
  361. public static class Criterion {
  362. private String condition;
  363. private Object value;
  364. private Object secondValue;
  365. private boolean noValue;
  366. private boolean singleValue;
  367. private boolean betweenValue;
  368. private boolean listValue;
  369. private String typeHandler;
  370. public String getCondition() {
  371. return condition;
  372. }
  373. public Object getValue() {
  374. return value;
  375. }
  376. public Object getSecondValue() {
  377. return secondValue;
  378. }
  379. public boolean isNoValue() {
  380. return noValue;
  381. }
  382. public boolean isSingleValue() {
  383. return singleValue;
  384. }
  385. public boolean isBetweenValue() {
  386. return betweenValue;
  387. }
  388. public boolean isListValue() {
  389. return listValue;
  390. }
  391. public String getTypeHandler() {
  392. return typeHandler;
  393. }
  394. protected Criterion(String condition) {
  395. super();
  396. this.condition = condition;
  397. this.typeHandler = null;
  398. this.noValue = true;
  399. }
  400. protected Criterion(String condition, Object value, String typeHandler) {
  401. super();
  402. this.condition = condition;
  403. this.value = value;
  404. this.typeHandler = typeHandler;
  405. if (value instanceof List<?>) {
  406. this.listValue = true;
  407. } else {
  408. this.singleValue = true;
  409. }
  410. }
  411. protected Criterion(String condition, Object value) {
  412. this(condition, value, null);
  413. }
  414. protected Criterion(String condition, Object value, Object secondValue,
  415. String typeHandler) {
  416. super();
  417. this.condition = condition;
  418. this.value = value;
  419. this.secondValue = secondValue;
  420. this.typeHandler = typeHandler;
  421. this.betweenValue = true;
  422. }
  423. protected Criterion(String condition, Object value, Object secondValue) {
  424. this(condition, value, secondValue, null);
  425. }
  426. }
  427. /**
  428. * This class was generated by MyBatis Generator.
  429. * This class corresponds to the database table vcode
  430. *
  431. * @mbggenerated do_not_delete_during_merge Thu Jun 29 14:47:28 CST 2017
  432. */
  433. public static class Criteria extends GeneratedCriteria {
  434. protected Criteria() {
  435. super();
  436. }
  437. }
  438. }