CustomerExample.java 16.9 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 CustomerExample {
    /**
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
9
     * This field corresponds to the database table customer
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 customer
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 customer
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 customer
eddie.woo's avatar
eddie.woo committed
34 35 36 37 38 39 40 41 42
     *
     * @mbg.generated
     */
    public CustomerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
43
     * This method corresponds to the database table customer
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 customer
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 customer
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 customer
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 customer
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 customer
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 customer
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 customer
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 customer
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 customer
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 customer
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");
239 240 241 242
            return (Criteria) this;
        }

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

        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 andCodeIsNull() {
gary's avatar
gary committed
268
            addCriterion("code is null");
269 270 271 272
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
gary's avatar
gary committed
273
            addCriterion("code is not null");
274 275 276 277
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
gary's avatar
gary committed
278
            addCriterion("code =", value, "code");
279 280 281 282
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
gary's avatar
gary committed
283
            addCriterion("code <>", value, "code");
284 285 286 287
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
gary's avatar
gary committed
288
            addCriterion("code >", value, "code");
289 290 291 292
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
293
            addCriterion("code >=", value, "code");
294 295 296 297
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
gary's avatar
gary committed
298
            addCriterion("code <", value, "code");
299 300 301 302
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
gary's avatar
gary committed
303
            addCriterion("code <=", value, "code");
304 305 306 307
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
gary's avatar
gary committed
308
            addCriterion("code like", value, "code");
309 310 311 312
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
gary's avatar
gary committed
313
            addCriterion("code not like", value, "code");
314 315 316 317
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
gary's avatar
gary committed
318
            addCriterion("code in", values, "code");
319 320 321 322
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
gary's avatar
gary committed
323
            addCriterion("code not in", values, "code");
324 325 326 327
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
gary's avatar
gary committed
328
            addCriterion("code between", value1, value2, "code");
329 330 331 332
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
gary's avatar
gary committed
333
            addCriterion("code not between", value1, value2, "code");
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
            return (Criteria) this;
        }

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

347
        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
            return (Criteria) this;
        }

352
        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
            return (Criteria) this;
        }

357
        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
            return (Criteria) this;
        }

362
        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
            return (Criteria) this;
        }

367
        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
            return (Criteria) this;
        }

372
        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
            return (Criteria) this;
        }

377
        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
            return (Criteria) this;
        }

382
        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
            return (Criteria) this;
        }

387
        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
            return (Criteria) this;
        }

392
        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
            return (Criteria) this;
        }

397
        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
            return (Criteria) this;
        }

402
        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
            return (Criteria) this;
        }

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

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

417
        public Criteria andEnterPriseAccountIdEqualTo(String value) {
gary's avatar
gary committed
418
            addCriterion("enter_prise_account_id =", value, "enterPriseAccountId");
eddie.woo's avatar
eddie.woo committed
419 420 421
            return (Criteria) this;
        }

422
        public Criteria andEnterPriseAccountIdNotEqualTo(String value) {
gary's avatar
gary committed
423
            addCriterion("enter_prise_account_id <>", value, "enterPriseAccountId");
eddie.woo's avatar
eddie.woo committed
424 425 426
            return (Criteria) this;
        }

427
        public Criteria andEnterPriseAccountIdGreaterThan(String value) {
gary's avatar
gary committed
428
            addCriterion("enter_prise_account_id >", value, "enterPriseAccountId");
eddie.woo's avatar
eddie.woo committed
429 430 431
            return (Criteria) this;
        }

432
        public Criteria andEnterPriseAccountIdGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
433
            addCriterion("enter_prise_account_id >=", value, "enterPriseAccountId");
eddie.woo's avatar
eddie.woo committed
434 435 436
            return (Criteria) this;
        }

437
        public Criteria andEnterPriseAccountIdLessThan(String value) {
gary's avatar
gary committed
438
            addCriterion("enter_prise_account_id <", value, "enterPriseAccountId");
eddie.woo's avatar
eddie.woo committed
439 440 441
            return (Criteria) this;
        }

442
        public Criteria andEnterPriseAccountIdLessThanOrEqualTo(String value) {
gary's avatar
gary committed
443
            addCriterion("enter_prise_account_id <=", value, "enterPriseAccountId");
eddie.woo's avatar
eddie.woo committed
444 445 446
            return (Criteria) this;
        }

447
        public Criteria andEnterPriseAccountIdLike(String value) {
gary's avatar
gary committed
448
            addCriterion("enter_prise_account_id like", value, "enterPriseAccountId");
eddie.woo's avatar
eddie.woo committed
449 450 451
            return (Criteria) this;
        }

452
        public Criteria andEnterPriseAccountIdNotLike(String value) {
gary's avatar
gary committed
453
            addCriterion("enter_prise_account_id not like", value, "enterPriseAccountId");
eddie.woo's avatar
eddie.woo committed
454 455 456
            return (Criteria) this;
        }

457
        public Criteria andEnterPriseAccountIdIn(List<String> values) {
gary's avatar
gary committed
458
            addCriterion("enter_prise_account_id in", values, "enterPriseAccountId");
eddie.woo's avatar
eddie.woo committed
459 460 461
            return (Criteria) this;
        }

462
        public Criteria andEnterPriseAccountIdNotIn(List<String> values) {
gary's avatar
gary committed
463
            addCriterion("enter_prise_account_id not in", values, "enterPriseAccountId");
eddie.woo's avatar
eddie.woo committed
464 465 466
            return (Criteria) this;
        }

467
        public Criteria andEnterPriseAccountIdBetween(String value1, String value2) {
gary's avatar
gary committed
468
            addCriterion("enter_prise_account_id between", value1, value2, "enterPriseAccountId");
eddie.woo's avatar
eddie.woo committed
469 470 471
            return (Criteria) this;
        }

472
        public Criteria andEnterPriseAccountIdNotBetween(String value1, String value2) {
gary's avatar
gary committed
473
            addCriterion("enter_prise_account_id not between", value1, value2, "enterPriseAccountId");
eddie.woo's avatar
eddie.woo committed
474 475 476 477 478 479
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
gary's avatar
gary committed
480
     * This class corresponds to the database table customer
eddie.woo's avatar
eddie.woo committed
481 482 483 484 485 486 487 488 489 490 491 492
     *
     * @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
493
     * This class corresponds to the database table customer
eddie.woo's avatar
eddie.woo committed
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 573 574 575 576 577 578 579 580 581 582
     *
     * @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);
        }
    }
}