PubAddressExample.java 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
  1. package com.minpay.db.table.model;
  2. import java.util.ArrayList;
  3. import java.util.List;
  4. public class PubAddressExample {
  5. /**
  6. * This field was generated by MyBatis Generator.
  7. * This field corresponds to the database table pub_address
  8. *
  9. * @mbggenerated
  10. */
  11. protected String orderByClause;
  12. /**
  13. * This field was generated by MyBatis Generator.
  14. * This field corresponds to the database table pub_address
  15. *
  16. * @mbggenerated
  17. */
  18. protected boolean distinct;
  19. /**
  20. * This field was generated by MyBatis Generator.
  21. * This field corresponds to the database table pub_address
  22. *
  23. * @mbggenerated
  24. */
  25. protected List<Criteria> oredCriteria;
  26. /**
  27. * This method was generated by MyBatis Generator.
  28. * This method corresponds to the database table pub_address
  29. *
  30. * @mbggenerated
  31. */
  32. public PubAddressExample() {
  33. oredCriteria = new ArrayList<Criteria>();
  34. }
  35. /**
  36. * This method was generated by MyBatis Generator.
  37. * This method corresponds to the database table pub_address
  38. *
  39. * @mbggenerated
  40. */
  41. public void setOrderByClause(String orderByClause) {
  42. this.orderByClause = orderByClause;
  43. }
  44. /**
  45. * This method was generated by MyBatis Generator.
  46. * This method corresponds to the database table pub_address
  47. *
  48. * @mbggenerated
  49. */
  50. public String getOrderByClause() {
  51. return orderByClause;
  52. }
  53. /**
  54. * This method was generated by MyBatis Generator.
  55. * This method corresponds to the database table pub_address
  56. *
  57. * @mbggenerated
  58. */
  59. public void setDistinct(boolean distinct) {
  60. this.distinct = distinct;
  61. }
  62. /**
  63. * This method was generated by MyBatis Generator.
  64. * This method corresponds to the database table pub_address
  65. *
  66. * @mbggenerated
  67. */
  68. public boolean isDistinct() {
  69. return distinct;
  70. }
  71. /**
  72. * This method was generated by MyBatis Generator.
  73. * This method corresponds to the database table pub_address
  74. *
  75. * @mbggenerated
  76. */
  77. public List<Criteria> getOredCriteria() {
  78. return oredCriteria;
  79. }
  80. /**
  81. * This method was generated by MyBatis Generator.
  82. * This method corresponds to the database table pub_address
  83. *
  84. * @mbggenerated
  85. */
  86. public void or(Criteria criteria) {
  87. oredCriteria.add(criteria);
  88. }
  89. /**
  90. * This method was generated by MyBatis Generator.
  91. * This method corresponds to the database table pub_address
  92. *
  93. * @mbggenerated
  94. */
  95. public Criteria or() {
  96. Criteria criteria = createCriteriaInternal();
  97. oredCriteria.add(criteria);
  98. return criteria;
  99. }
  100. /**
  101. * This method was generated by MyBatis Generator.
  102. * This method corresponds to the database table pub_address
  103. *
  104. * @mbggenerated
  105. */
  106. public Criteria createCriteria() {
  107. Criteria criteria = createCriteriaInternal();
  108. if (oredCriteria.size() == 0) {
  109. oredCriteria.add(criteria);
  110. }
  111. return criteria;
  112. }
  113. /**
  114. * This method was generated by MyBatis Generator.
  115. * This method corresponds to the database table pub_address
  116. *
  117. * @mbggenerated
  118. */
  119. protected Criteria createCriteriaInternal() {
  120. Criteria criteria = new Criteria();
  121. return criteria;
  122. }
  123. /**
  124. * This method was generated by MyBatis Generator.
  125. * This method corresponds to the database table pub_address
  126. *
  127. * @mbggenerated
  128. */
  129. public void clear() {
  130. oredCriteria.clear();
  131. orderByClause = null;
  132. distinct = false;
  133. }
  134. /**
  135. * This class was generated by MyBatis Generator.
  136. * This class corresponds to the database table pub_address
  137. *
  138. * @mbggenerated
  139. */
  140. protected abstract static class GeneratedCriteria {
  141. protected List<Criterion> criteria;
  142. protected GeneratedCriteria() {
  143. super();
  144. criteria = new ArrayList<Criterion>();
  145. }
  146. public boolean isValid() {
  147. return criteria.size() > 0;
  148. }
  149. public List<Criterion> getCriteria() {
  150. return criteria;
  151. }
  152. protected void addCriterion(String condition) {
  153. if (condition == null) {
  154. throw new RuntimeException("Value for condition cannot be null");
  155. }
  156. criteria.add(new Criterion(condition));
  157. }
  158. protected void addCriterion(String condition, Object value, String property) {
  159. if (value == null) {
  160. throw new RuntimeException("Value for " + property + " cannot be null");
  161. }
  162. criteria.add(new Criterion(condition, value));
  163. }
  164. protected void addCriterion(String condition, Object value1, Object value2, String property) {
  165. if (value1 == null || value2 == null) {
  166. throw new RuntimeException("Between values for " + property + " cannot be null");
  167. }
  168. criteria.add(new Criterion(condition, value1, value2));
  169. }
  170. public Criteria andIdIsNull() {
  171. addCriterion("add_id is null");
  172. return (Criteria) this;
  173. }
  174. public Criteria andIdIsNotNull() {
  175. addCriterion("add_id is not null");
  176. return (Criteria) this;
  177. }
  178. public Criteria andIdEqualTo(Integer value) {
  179. if(value == null ){
  180. andIdIsNull();
  181. } else {
  182. addCriterion("add_id =", value, "id");
  183. }
  184. return (Criteria) this;
  185. }
  186. public Criteria andIdNotEqualTo(Integer value) {
  187. if(value == null ){
  188. andIdIsNotNull();
  189. } else {
  190. addCriterion("add_id <>", value, "id");
  191. }
  192. return (Criteria) this;
  193. }
  194. public Criteria andIdGreaterThan(Integer value) {
  195. addCriterion("add_id >", value, "id");
  196. return (Criteria) this;
  197. }
  198. public Criteria andIdGreaterThanOrEqualTo(Integer value) {
  199. addCriterion("add_id >=", value, "id");
  200. return (Criteria) this;
  201. }
  202. public Criteria andIdLessThan(Integer value) {
  203. addCriterion("add_id <", value, "id");
  204. return (Criteria) this;
  205. }
  206. public Criteria andIdLessThanOrEqualTo(Integer value) {
  207. addCriterion("add_id <=", value, "id");
  208. return (Criteria) this;
  209. }
  210. public Criteria andIdIn(List<Integer> values) {
  211. addCriterion("add_id in", values, "id");
  212. return (Criteria) this;
  213. }
  214. public Criteria andIdNotIn(List<Integer> values) {
  215. addCriterion("add_id not in", values, "id");
  216. return (Criteria) this;
  217. }
  218. public Criteria andIdBetween(Integer value1, Integer value2) {
  219. addCriterion("add_id between", value1, value2, "id");
  220. return (Criteria) this;
  221. }
  222. public Criteria andIdNotBetween(Integer value1, Integer value2) {
  223. addCriterion("add_id not between", value1, value2, "id");
  224. return (Criteria) this;
  225. }
  226. public Criteria andCodeIsNull() {
  227. addCriterion("add_code is null");
  228. return (Criteria) this;
  229. }
  230. public Criteria andCodeIsNotNull() {
  231. addCriterion("add_code is not null");
  232. return (Criteria) this;
  233. }
  234. public Criteria andCodeEqualTo(String value) {
  235. if(value == null ){
  236. andCodeIsNull();
  237. } else {
  238. addCriterion("add_code =", value, "code");
  239. }
  240. return (Criteria) this;
  241. }
  242. public Criteria andCodeNotEqualTo(String value) {
  243. if(value == null ){
  244. andCodeIsNotNull();
  245. } else {
  246. addCriterion("add_code <>", value, "code");
  247. }
  248. return (Criteria) this;
  249. }
  250. public Criteria andCodeGreaterThan(String value) {
  251. addCriterion("add_code >", value, "code");
  252. return (Criteria) this;
  253. }
  254. public Criteria andCodeGreaterThanOrEqualTo(String value) {
  255. addCriterion("add_code >=", value, "code");
  256. return (Criteria) this;
  257. }
  258. public Criteria andCodeLessThan(String value) {
  259. addCriterion("add_code <", value, "code");
  260. return (Criteria) this;
  261. }
  262. public Criteria andCodeLessThanOrEqualTo(String value) {
  263. addCriterion("add_code <=", value, "code");
  264. return (Criteria) this;
  265. }
  266. public Criteria andCodeLike(String value) {
  267. addCriterion("add_code like", value, "code");
  268. return (Criteria) this;
  269. }
  270. public Criteria andCodeNotLike(String value) {
  271. addCriterion("add_code not like", value, "code");
  272. return (Criteria) this;
  273. }
  274. public Criteria andCodeIn(List<String> values) {
  275. addCriterion("add_code in", values, "code");
  276. return (Criteria) this;
  277. }
  278. public Criteria andCodeNotIn(List<String> values) {
  279. addCriterion("add_code not in", values, "code");
  280. return (Criteria) this;
  281. }
  282. public Criteria andCodeBetween(String value1, String value2) {
  283. addCriterion("add_code between", value1, value2, "code");
  284. return (Criteria) this;
  285. }
  286. public Criteria andCodeNotBetween(String value1, String value2) {
  287. addCriterion("add_code not between", value1, value2, "code");
  288. return (Criteria) this;
  289. }
  290. public Criteria andNameIsNull() {
  291. addCriterion("add_name is null");
  292. return (Criteria) this;
  293. }
  294. public Criteria andNameIsNotNull() {
  295. addCriterion("add_name is not null");
  296. return (Criteria) this;
  297. }
  298. public Criteria andNameEqualTo(String value) {
  299. if(value == null ){
  300. andNameIsNull();
  301. } else {
  302. addCriterion("add_name =", value, "name");
  303. }
  304. return (Criteria) this;
  305. }
  306. public Criteria andNameNotEqualTo(String value) {
  307. if(value == null ){
  308. andNameIsNotNull();
  309. } else {
  310. addCriterion("add_name <>", value, "name");
  311. }
  312. return (Criteria) this;
  313. }
  314. public Criteria andNameGreaterThan(String value) {
  315. addCriterion("add_name >", value, "name");
  316. return (Criteria) this;
  317. }
  318. public Criteria andNameGreaterThanOrEqualTo(String value) {
  319. addCriterion("add_name >=", value, "name");
  320. return (Criteria) this;
  321. }
  322. public Criteria andNameLessThan(String value) {
  323. addCriterion("add_name <", value, "name");
  324. return (Criteria) this;
  325. }
  326. public Criteria andNameLessThanOrEqualTo(String value) {
  327. addCriterion("add_name <=", value, "name");
  328. return (Criteria) this;
  329. }
  330. public Criteria andNameLike(String value) {
  331. addCriterion("add_name like", value, "name");
  332. return (Criteria) this;
  333. }
  334. public Criteria andNameNotLike(String value) {
  335. addCriterion("add_name not like", value, "name");
  336. return (Criteria) this;
  337. }
  338. public Criteria andNameIn(List<String> values) {
  339. addCriterion("add_name in", values, "name");
  340. return (Criteria) this;
  341. }
  342. public Criteria andNameNotIn(List<String> values) {
  343. addCriterion("add_name not in", values, "name");
  344. return (Criteria) this;
  345. }
  346. public Criteria andNameBetween(String value1, String value2) {
  347. addCriterion("add_name between", value1, value2, "name");
  348. return (Criteria) this;
  349. }
  350. public Criteria andNameNotBetween(String value1, String value2) {
  351. addCriterion("add_name not between", value1, value2, "name");
  352. return (Criteria) this;
  353. }
  354. public Criteria andCitycodeIsNull() {
  355. addCriterion("add_citycode is null");
  356. return (Criteria) this;
  357. }
  358. public Criteria andCitycodeIsNotNull() {
  359. addCriterion("add_citycode is not null");
  360. return (Criteria) this;
  361. }
  362. public Criteria andCitycodeEqualTo(String value) {
  363. if(value == null ){
  364. andCitycodeIsNull();
  365. } else {
  366. addCriterion("add_citycode =", value, "citycode");
  367. }
  368. return (Criteria) this;
  369. }
  370. public Criteria andCitycodeNotEqualTo(String value) {
  371. if(value == null ){
  372. andCitycodeIsNotNull();
  373. } else {
  374. addCriterion("add_citycode <>", value, "citycode");
  375. }
  376. return (Criteria) this;
  377. }
  378. public Criteria andCitycodeGreaterThan(String value) {
  379. addCriterion("add_citycode >", value, "citycode");
  380. return (Criteria) this;
  381. }
  382. public Criteria andCitycodeGreaterThanOrEqualTo(String value) {
  383. addCriterion("add_citycode >=", value, "citycode");
  384. return (Criteria) this;
  385. }
  386. public Criteria andCitycodeLessThan(String value) {
  387. addCriterion("add_citycode <", value, "citycode");
  388. return (Criteria) this;
  389. }
  390. public Criteria andCitycodeLessThanOrEqualTo(String value) {
  391. addCriterion("add_citycode <=", value, "citycode");
  392. return (Criteria) this;
  393. }
  394. public Criteria andCitycodeLike(String value) {
  395. addCriterion("add_citycode like", value, "citycode");
  396. return (Criteria) this;
  397. }
  398. public Criteria andCitycodeNotLike(String value) {
  399. addCriterion("add_citycode not like", value, "citycode");
  400. return (Criteria) this;
  401. }
  402. public Criteria andCitycodeIn(List<String> values) {
  403. addCriterion("add_citycode in", values, "citycode");
  404. return (Criteria) this;
  405. }
  406. public Criteria andCitycodeNotIn(List<String> values) {
  407. addCriterion("add_citycode not in", values, "citycode");
  408. return (Criteria) this;
  409. }
  410. public Criteria andCitycodeBetween(String value1, String value2) {
  411. addCriterion("add_citycode between", value1, value2, "citycode");
  412. return (Criteria) this;
  413. }
  414. public Criteria andCitycodeNotBetween(String value1, String value2) {
  415. addCriterion("add_citycode not between", value1, value2, "citycode");
  416. return (Criteria) this;
  417. }
  418. }
  419. /**
  420. * This class was generated by MyBatis Generator.
  421. * This class corresponds to the database table pub_address
  422. *
  423. * @mbggenerated do_not_delete_during_merge
  424. */
  425. public static class Criteria extends GeneratedCriteria {
  426. protected Criteria() {
  427. super();
  428. }
  429. }
  430. /**
  431. * This class was generated by MyBatis Generator.
  432. * This class corresponds to the database table pub_address
  433. *
  434. * @mbggenerated
  435. */
  436. public static class Criterion {
  437. private String condition;
  438. private Object value;
  439. private Object secondValue;
  440. private boolean noValue;
  441. private boolean singleValue;
  442. private boolean betweenValue;
  443. private boolean listValue;
  444. public String getCondition() {
  445. return condition;
  446. }
  447. public Object getValue() {
  448. return value;
  449. }
  450. public Object getSecondValue() {
  451. return secondValue;
  452. }
  453. public boolean isNoValue() {
  454. return noValue;
  455. }
  456. public boolean isSingleValue() {
  457. return singleValue;
  458. }
  459. public boolean isBetweenValue() {
  460. return betweenValue;
  461. }
  462. public boolean isListValue() {
  463. return listValue;
  464. }
  465. protected Criterion(String condition) {
  466. super();
  467. this.condition = condition;
  468. this.noValue = true;
  469. }
  470. protected Criterion(String condition, Object value) {
  471. super();
  472. this.condition = condition;
  473. this.value = value;
  474. if (value instanceof List<?>) {
  475. this.listValue = true;
  476. } else {
  477. this.singleValue = true;
  478. }
  479. }
  480. protected Criterion(String condition, Object value, Object secondValue) {
  481. super();
  482. this.condition = condition;
  483. this.value = value;
  484. this.secondValue = secondValue;
  485. this.betweenValue = true;
  486. }
  487. }
  488. }