AreaExample.java 16.3 KB
Newer Older
1
package pwc.taxtech.atms.entity;
eddie.woo's avatar
eddie.woo committed
2 3 4 5 6 7 8

import java.util.ArrayList;
import java.util.List;

public class AreaExample {
    /**
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
9
     * This field corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
10 11 12 13 14 15 16
     *
     * @mbg.generated
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
17
     * This field corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
18 19 20 21 22 23 24
     *
     * @mbg.generated
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
25
     * This field corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
26 27 28 29 30 31 32
     *
     * @mbg.generated
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
33
     * This method corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
34 35 36 37 38 39 40 41 42
     *
     * @mbg.generated
     */
    public AreaExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
43
     * This method corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
44 45 46 47 48 49 50 51 52
     *
     * @mbg.generated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
53
     * This method corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
54 55 56 57 58 59 60 61 62
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
63
     * This method corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
64 65 66 67 68 69 70 71 72
     *
     * @mbg.generated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
73
     * This method corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
74 75 76 77 78 79 80 81 82
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
83
     * This method corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
84 85 86 87 88 89 90 91 92
     *
     * @mbg.generated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
93
     * This method corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
94 95 96 97 98 99 100 101 102
     *
     * @mbg.generated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
103
     * This method corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
104 105 106 107 108 109 110 111 112 113 114
     *
     * @mbg.generated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
115
     * This method corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
116 117 118 119 120 121 122 123 124 125 126 127 128
     *
     * @mbg.generated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
129
     * This method corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
130 131 132 133 134 135 136 137 138 139
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
140
     * This method corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
141 142 143 144 145 146 147 148 149 150 151
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
gary's avatar
gary committed
152
     * This class corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196
     *
     * @mbg.generated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

197
        public Criteria andIdIsNull() {
gary's avatar
gary committed
198
            addCriterion("id is null");
eddie.woo's avatar
eddie.woo committed
199 200 201
            return (Criteria) this;
        }

202
        public Criteria andIdIsNotNull() {
gary's avatar
gary committed
203
            addCriterion("id is not null");
eddie.woo's avatar
eddie.woo committed
204 205 206
            return (Criteria) this;
        }

207
        public Criteria andIdEqualTo(String value) {
gary's avatar
gary committed
208
            addCriterion("id =", value, "id");
eddie.woo's avatar
eddie.woo committed
209 210 211
            return (Criteria) this;
        }

212
        public Criteria andIdNotEqualTo(String value) {
gary's avatar
gary committed
213
            addCriterion("id <>", value, "id");
eddie.woo's avatar
eddie.woo committed
214 215 216
            return (Criteria) this;
        }

217
        public Criteria andIdGreaterThan(String value) {
gary's avatar
gary committed
218
            addCriterion("id >", value, "id");
eddie.woo's avatar
eddie.woo committed
219 220 221
            return (Criteria) this;
        }

222
        public Criteria andIdGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
223
            addCriterion("id >=", value, "id");
eddie.woo's avatar
eddie.woo committed
224 225 226
            return (Criteria) this;
        }

227
        public Criteria andIdLessThan(String value) {
gary's avatar
gary committed
228
            addCriterion("id <", value, "id");
eddie.woo's avatar
eddie.woo committed
229 230 231
            return (Criteria) this;
        }

232
        public Criteria andIdLessThanOrEqualTo(String value) {
gary's avatar
gary committed
233
            addCriterion("id <=", value, "id");
eddie.woo's avatar
eddie.woo committed
234 235 236
            return (Criteria) this;
        }

237
        public Criteria andIdLike(String value) {
gary's avatar
gary committed
238
            addCriterion("id like", value, "id");
eddie.woo's avatar
eddie.woo committed
239 240 241
            return (Criteria) this;
        }

242
        public Criteria andIdNotLike(String value) {
gary's avatar
gary committed
243
            addCriterion("id not like", value, "id");
eddie.woo's avatar
eddie.woo committed
244 245 246
            return (Criteria) this;
        }

247
        public Criteria andIdIn(List<String> values) {
gary's avatar
gary committed
248
            addCriterion("id in", values, "id");
eddie.woo's avatar
eddie.woo committed
249 250 251
            return (Criteria) this;
        }

252
        public Criteria andIdNotIn(List<String> values) {
gary's avatar
gary committed
253
            addCriterion("id not in", values, "id");
eddie.woo's avatar
eddie.woo committed
254 255 256
            return (Criteria) this;
        }

257
        public Criteria andIdBetween(String value1, String value2) {
gary's avatar
gary committed
258
            addCriterion("id between", value1, value2, "id");
eddie.woo's avatar
eddie.woo committed
259 260 261
            return (Criteria) this;
        }

262
        public Criteria andIdNotBetween(String value1, String value2) {
gary's avatar
gary committed
263
            addCriterion("id not between", value1, value2, "id");
eddie.woo's avatar
eddie.woo committed
264 265 266
            return (Criteria) this;
        }

267
        public Criteria andParentIdIsNull() {
gary's avatar
gary committed
268
            addCriterion("parent_id is null");
eddie.woo's avatar
eddie.woo committed
269 270 271
            return (Criteria) this;
        }

272
        public Criteria andParentIdIsNotNull() {
gary's avatar
gary committed
273
            addCriterion("parent_id is not null");
eddie.woo's avatar
eddie.woo committed
274 275 276
            return (Criteria) this;
        }

277
        public Criteria andParentIdEqualTo(String value) {
gary's avatar
gary committed
278
            addCriterion("parent_id =", value, "parentId");
eddie.woo's avatar
eddie.woo committed
279 280 281
            return (Criteria) this;
        }

282
        public Criteria andParentIdNotEqualTo(String value) {
gary's avatar
gary committed
283
            addCriterion("parent_id <>", value, "parentId");
eddie.woo's avatar
eddie.woo committed
284 285 286
            return (Criteria) this;
        }

287
        public Criteria andParentIdGreaterThan(String value) {
gary's avatar
gary committed
288
            addCriterion("parent_id >", value, "parentId");
eddie.woo's avatar
eddie.woo committed
289 290 291
            return (Criteria) this;
        }

292
        public Criteria andParentIdGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
293
            addCriterion("parent_id >=", value, "parentId");
eddie.woo's avatar
eddie.woo committed
294 295 296
            return (Criteria) this;
        }

297
        public Criteria andParentIdLessThan(String value) {
gary's avatar
gary committed
298
            addCriterion("parent_id <", value, "parentId");
eddie.woo's avatar
eddie.woo committed
299 300 301
            return (Criteria) this;
        }

302
        public Criteria andParentIdLessThanOrEqualTo(String value) {
gary's avatar
gary committed
303
            addCriterion("parent_id <=", value, "parentId");
eddie.woo's avatar
eddie.woo committed
304 305 306
            return (Criteria) this;
        }

307
        public Criteria andParentIdLike(String value) {
gary's avatar
gary committed
308
            addCriterion("parent_id like", value, "parentId");
eddie.woo's avatar
eddie.woo committed
309 310 311
            return (Criteria) this;
        }

312
        public Criteria andParentIdNotLike(String value) {
gary's avatar
gary committed
313
            addCriterion("parent_id not like", value, "parentId");
eddie.woo's avatar
eddie.woo committed
314 315 316
            return (Criteria) this;
        }

317
        public Criteria andParentIdIn(List<String> values) {
gary's avatar
gary committed
318
            addCriterion("parent_id in", values, "parentId");
eddie.woo's avatar
eddie.woo committed
319 320 321
            return (Criteria) this;
        }

322
        public Criteria andParentIdNotIn(List<String> values) {
gary's avatar
gary committed
323
            addCriterion("parent_id not in", values, "parentId");
eddie.woo's avatar
eddie.woo committed
324 325 326
            return (Criteria) this;
        }

327
        public Criteria andParentIdBetween(String value1, String value2) {
gary's avatar
gary committed
328
            addCriterion("parent_id between", value1, value2, "parentId");
eddie.woo's avatar
eddie.woo committed
329 330 331
            return (Criteria) this;
        }

332
        public Criteria andParentIdNotBetween(String value1, String value2) {
gary's avatar
gary committed
333
            addCriterion("parent_id not between", value1, value2, "parentId");
eddie.woo's avatar
eddie.woo committed
334 335 336 337
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
gary's avatar
gary committed
338
            addCriterion("name is null");
eddie.woo's avatar
eddie.woo committed
339 340 341 342
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
gary's avatar
gary committed
343
            addCriterion("name is not null");
eddie.woo's avatar
eddie.woo committed
344 345 346 347
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
gary's avatar
gary committed
348
            addCriterion("name =", value, "name");
eddie.woo's avatar
eddie.woo committed
349 350 351 352
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
gary's avatar
gary committed
353
            addCriterion("name <>", value, "name");
eddie.woo's avatar
eddie.woo committed
354 355 356 357
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
gary's avatar
gary committed
358
            addCriterion("name >", value, "name");
eddie.woo's avatar
eddie.woo committed
359 360 361 362
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
363
            addCriterion("name >=", value, "name");
eddie.woo's avatar
eddie.woo committed
364 365 366 367
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
gary's avatar
gary committed
368
            addCriterion("name <", value, "name");
eddie.woo's avatar
eddie.woo committed
369 370 371 372
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
gary's avatar
gary committed
373
            addCriterion("name <=", value, "name");
eddie.woo's avatar
eddie.woo committed
374 375 376 377
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
gary's avatar
gary committed
378
            addCriterion("name like", value, "name");
eddie.woo's avatar
eddie.woo committed
379 380 381 382
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
gary's avatar
gary committed
383
            addCriterion("name not like", value, "name");
eddie.woo's avatar
eddie.woo committed
384 385 386 387
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
gary's avatar
gary committed
388
            addCriterion("name in", values, "name");
eddie.woo's avatar
eddie.woo committed
389 390 391 392
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
gary's avatar
gary committed
393
            addCriterion("name not in", values, "name");
eddie.woo's avatar
eddie.woo committed
394 395 396 397
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
gary's avatar
gary committed
398
            addCriterion("name between", value1, value2, "name");
eddie.woo's avatar
eddie.woo committed
399 400 401 402
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
gary's avatar
gary committed
403
            addCriterion("name not between", value1, value2, "name");
eddie.woo's avatar
eddie.woo committed
404 405 406 407
            return (Criteria) this;
        }

        public Criteria andIsActiveIsNull() {
gary's avatar
gary committed
408
            addCriterion("is_active is null");
eddie.woo's avatar
eddie.woo committed
409 410 411 412
            return (Criteria) this;
        }

        public Criteria andIsActiveIsNotNull() {
gary's avatar
gary committed
413
            addCriterion("is_active is not null");
eddie.woo's avatar
eddie.woo committed
414 415 416 417
            return (Criteria) this;
        }

        public Criteria andIsActiveEqualTo(Boolean value) {
gary's avatar
gary committed
418
            addCriterion("is_active =", value, "isActive");
eddie.woo's avatar
eddie.woo committed
419 420 421 422
            return (Criteria) this;
        }

        public Criteria andIsActiveNotEqualTo(Boolean value) {
gary's avatar
gary committed
423
            addCriterion("is_active <>", value, "isActive");
eddie.woo's avatar
eddie.woo committed
424 425 426 427
            return (Criteria) this;
        }

        public Criteria andIsActiveGreaterThan(Boolean value) {
gary's avatar
gary committed
428
            addCriterion("is_active >", value, "isActive");
eddie.woo's avatar
eddie.woo committed
429 430 431 432
            return (Criteria) this;
        }

        public Criteria andIsActiveGreaterThanOrEqualTo(Boolean value) {
gary's avatar
gary committed
433
            addCriterion("is_active >=", value, "isActive");
eddie.woo's avatar
eddie.woo committed
434 435 436 437
            return (Criteria) this;
        }

        public Criteria andIsActiveLessThan(Boolean value) {
gary's avatar
gary committed
438
            addCriterion("is_active <", value, "isActive");
eddie.woo's avatar
eddie.woo committed
439 440 441 442
            return (Criteria) this;
        }

        public Criteria andIsActiveLessThanOrEqualTo(Boolean value) {
gary's avatar
gary committed
443
            addCriterion("is_active <=", value, "isActive");
eddie.woo's avatar
eddie.woo committed
444 445 446 447
            return (Criteria) this;
        }

        public Criteria andIsActiveIn(List<Boolean> values) {
gary's avatar
gary committed
448
            addCriterion("is_active in", values, "isActive");
eddie.woo's avatar
eddie.woo committed
449 450 451 452
            return (Criteria) this;
        }

        public Criteria andIsActiveNotIn(List<Boolean> values) {
gary's avatar
gary committed
453
            addCriterion("is_active not in", values, "isActive");
eddie.woo's avatar
eddie.woo committed
454 455 456 457
            return (Criteria) this;
        }

        public Criteria andIsActiveBetween(Boolean value1, Boolean value2) {
gary's avatar
gary committed
458
            addCriterion("is_active between", value1, value2, "isActive");
eddie.woo's avatar
eddie.woo committed
459 460 461 462
            return (Criteria) this;
        }

        public Criteria andIsActiveNotBetween(Boolean value1, Boolean value2) {
gary's avatar
gary committed
463
            addCriterion("is_active not between", value1, value2, "isActive");
eddie.woo's avatar
eddie.woo committed
464 465 466 467 468 469
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
gary's avatar
gary committed
470
     * This class corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
471 472 473 474 475 476 477 478 479 480 481 482
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
gary's avatar
gary committed
483
     * This class corresponds to the database table area
eddie.woo's avatar
eddie.woo committed
484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572
     *
     * @mbg.generated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}