ModelServiceConfigExample.java 19 KB
Newer Older
1
package pwc.taxtech.atms.entity;
2 3 4 5 6 7 8 9

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
104
     * This method corresponds to the database table model_service_config
105 106 107 108 109 110 111 112 113 114 115
     *
     * @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
116
     * This method corresponds to the database table model_service_config
117 118 119 120 121 122 123 124 125 126 127 128 129
     *
     * @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
130
     * This method corresponds to the database table model_service_config
131 132 133 134 135 136 137 138 139 140
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

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

    /**
     * This class was generated by MyBatis Generator.
gary's avatar
gary committed
153
     * This class corresponds to the database table model_service_config
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 197
     *
     * @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));
        }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

268
        public Criteria andModelIdIsNull() {
gary's avatar
gary committed
269
            addCriterion("model_id is null");
270 271 272
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

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

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

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

333
        public Criteria andModelIdNotBetween(String value1, String value2) {
gary's avatar
gary committed
334
            addCriterion("model_id not between", value1, value2, "modelId");
335 336 337
            return (Criteria) this;
        }

338
        public Criteria andServiceTypeIdIsNull() {
gary's avatar
gary committed
339
            addCriterion("service_type_id is null");
340 341 342
            return (Criteria) this;
        }

343
        public Criteria andServiceTypeIdIsNotNull() {
gary's avatar
gary committed
344
            addCriterion("service_type_id is not null");
345 346 347
            return (Criteria) this;
        }

348
        public Criteria andServiceTypeIdEqualTo(String value) {
gary's avatar
gary committed
349
            addCriterion("service_type_id =", value, "serviceTypeId");
350 351 352
            return (Criteria) this;
        }

353
        public Criteria andServiceTypeIdNotEqualTo(String value) {
gary's avatar
gary committed
354
            addCriterion("service_type_id <>", value, "serviceTypeId");
355 356 357
            return (Criteria) this;
        }

358
        public Criteria andServiceTypeIdGreaterThan(String value) {
gary's avatar
gary committed
359
            addCriterion("service_type_id >", value, "serviceTypeId");
360 361 362
            return (Criteria) this;
        }

363
        public Criteria andServiceTypeIdGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
364
            addCriterion("service_type_id >=", value, "serviceTypeId");
365 366 367
            return (Criteria) this;
        }

368
        public Criteria andServiceTypeIdLessThan(String value) {
gary's avatar
gary committed
369
            addCriterion("service_type_id <", value, "serviceTypeId");
370 371 372
            return (Criteria) this;
        }

373
        public Criteria andServiceTypeIdLessThanOrEqualTo(String value) {
gary's avatar
gary committed
374
            addCriterion("service_type_id <=", value, "serviceTypeId");
375 376 377
            return (Criteria) this;
        }

378
        public Criteria andServiceTypeIdLike(String value) {
gary's avatar
gary committed
379
            addCriterion("service_type_id like", value, "serviceTypeId");
380 381 382
            return (Criteria) this;
        }

383
        public Criteria andServiceTypeIdNotLike(String value) {
gary's avatar
gary committed
384
            addCriterion("service_type_id not like", value, "serviceTypeId");
385 386 387
            return (Criteria) this;
        }

388
        public Criteria andServiceTypeIdIn(List<String> values) {
gary's avatar
gary committed
389
            addCriterion("service_type_id in", values, "serviceTypeId");
390 391 392
            return (Criteria) this;
        }

393
        public Criteria andServiceTypeIdNotIn(List<String> values) {
gary's avatar
gary committed
394
            addCriterion("service_type_id not in", values, "serviceTypeId");
395 396 397
            return (Criteria) this;
        }

398
        public Criteria andServiceTypeIdBetween(String value1, String value2) {
gary's avatar
gary committed
399
            addCriterion("service_type_id between", value1, value2, "serviceTypeId");
400 401 402
            return (Criteria) this;
        }

403
        public Criteria andServiceTypeIdNotBetween(String value1, String value2) {
gary's avatar
gary committed
404
            addCriterion("service_type_id not between", value1, value2, "serviceTypeId");
405 406 407 408
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
gary's avatar
gary committed
409
            addCriterion("create_time is null");
410 411 412 413
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
gary's avatar
gary committed
414
            addCriterion("create_time is not null");
415 416 417 418
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
gary's avatar
gary committed
419
            addCriterion("create_time =", value, "createTime");
420 421 422 423
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
gary's avatar
gary committed
424
            addCriterion("create_time <>", value, "createTime");
425 426 427 428
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
gary's avatar
gary committed
429
            addCriterion("create_time >", value, "createTime");
430 431 432 433
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
gary's avatar
gary committed
434
            addCriterion("create_time >=", value, "createTime");
435 436 437 438
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
gary's avatar
gary committed
439
            addCriterion("create_time <", value, "createTime");
440 441 442 443
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
gary's avatar
gary committed
444
            addCriterion("create_time <=", value, "createTime");
445 446 447 448
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
gary's avatar
gary committed
449
            addCriterion("create_time in", values, "createTime");
450 451 452 453
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
gary's avatar
gary committed
454
            addCriterion("create_time not in", values, "createTime");
455 456 457 458
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
gary's avatar
gary committed
459
            addCriterion("create_time between", value1, value2, "createTime");
460 461 462 463
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
gary's avatar
gary committed
464
            addCriterion("create_time not between", value1, value2, "createTime");
465 466 467 468
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
gary's avatar
gary committed
469
            addCriterion("update_time is null");
470 471 472 473
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
gary's avatar
gary committed
474
            addCriterion("update_time is not null");
475 476 477 478
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
gary's avatar
gary committed
479
            addCriterion("update_time =", value, "updateTime");
480 481 482 483
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
gary's avatar
gary committed
484
            addCriterion("update_time <>", value, "updateTime");
485 486 487 488
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
gary's avatar
gary committed
489
            addCriterion("update_time >", value, "updateTime");
490 491 492 493
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
gary's avatar
gary committed
494
            addCriterion("update_time >=", value, "updateTime");
495 496 497 498
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
gary's avatar
gary committed
499
            addCriterion("update_time <", value, "updateTime");
500 501 502 503
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
gary's avatar
gary committed
504
            addCriterion("update_time <=", value, "updateTime");
505 506 507 508
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
gary's avatar
gary committed
509
            addCriterion("update_time in", values, "updateTime");
510 511 512 513
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
gary's avatar
gary committed
514
            addCriterion("update_time not in", values, "updateTime");
515 516 517 518
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
gary's avatar
gary committed
519
            addCriterion("update_time between", value1, value2, "updateTime");
520 521 522 523
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
gary's avatar
gary committed
524
            addCriterion("update_time not between", value1, value2, "updateTime");
525 526 527 528 529 530
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
gary's avatar
gary committed
531
     * This class corresponds to the database table model_service_config
532 533 534 535 536 537 538 539 540 541 542 543
     *
     * @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
544
     * This class corresponds to the database table model_service_config
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 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633
     *
     * @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);
        }
    }
}