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

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
44
     * This method corresponds to the database table asset_group
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 asset_group
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 asset_group
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 asset_group
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 asset_group
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 asset_group
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 asset_group
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 asset_group
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 asset_group
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 asset_group
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 asset_group
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 198
     *
     * @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));
        }

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

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

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

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

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

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

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

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

gary's avatar
gary committed
238
        public Criteria andIdIn(List<Long> values) {
gary's avatar
gary committed
239
            addCriterion("id in", values, "id");
240 241 242
            return (Criteria) this;
        }

gary's avatar
gary committed
243
        public Criteria andIdNotIn(List<Long> values) {
gary's avatar
gary committed
244
            addCriterion("id not in", values, "id");
245 246 247
            return (Criteria) this;
        }

gary's avatar
gary committed
248
        public Criteria andIdBetween(Long value1, Long value2) {
gary's avatar
gary committed
249
            addCriterion("id between", value1, value2, "id");
250 251 252
            return (Criteria) this;
        }

gary's avatar
gary committed
253
        public Criteria andIdNotBetween(Long value1, Long value2) {
gary's avatar
gary committed
254
            addCriterion("id not between", value1, value2, "id");
255 256 257
            return (Criteria) this;
        }

258
        public Criteria andAssetGroupNameIsNull() {
gary's avatar
gary committed
259
            addCriterion("asset_group_name is null");
260 261 262
            return (Criteria) this;
        }

263
        public Criteria andAssetGroupNameIsNotNull() {
gary's avatar
gary committed
264
            addCriterion("asset_group_name is not null");
265 266 267
            return (Criteria) this;
        }

268
        public Criteria andAssetGroupNameEqualTo(String value) {
gary's avatar
gary committed
269
            addCriterion("asset_group_name =", value, "assetGroupName");
270 271 272
            return (Criteria) this;
        }

273
        public Criteria andAssetGroupNameNotEqualTo(String value) {
gary's avatar
gary committed
274
            addCriterion("asset_group_name <>", value, "assetGroupName");
275 276 277
            return (Criteria) this;
        }

278
        public Criteria andAssetGroupNameGreaterThan(String value) {
gary's avatar
gary committed
279
            addCriterion("asset_group_name >", value, "assetGroupName");
280 281 282
            return (Criteria) this;
        }

283
        public Criteria andAssetGroupNameGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
284
            addCriterion("asset_group_name >=", value, "assetGroupName");
285 286 287
            return (Criteria) this;
        }

288
        public Criteria andAssetGroupNameLessThan(String value) {
gary's avatar
gary committed
289
            addCriterion("asset_group_name <", value, "assetGroupName");
290 291 292
            return (Criteria) this;
        }

293
        public Criteria andAssetGroupNameLessThanOrEqualTo(String value) {
gary's avatar
gary committed
294
            addCriterion("asset_group_name <=", value, "assetGroupName");
295 296 297
            return (Criteria) this;
        }

298
        public Criteria andAssetGroupNameLike(String value) {
gary's avatar
gary committed
299
            addCriterion("asset_group_name like", value, "assetGroupName");
300 301 302
            return (Criteria) this;
        }

303
        public Criteria andAssetGroupNameNotLike(String value) {
gary's avatar
gary committed
304
            addCriterion("asset_group_name not like", value, "assetGroupName");
305 306 307
            return (Criteria) this;
        }

308
        public Criteria andAssetGroupNameIn(List<String> values) {
gary's avatar
gary committed
309
            addCriterion("asset_group_name in", values, "assetGroupName");
310 311 312
            return (Criteria) this;
        }

313
        public Criteria andAssetGroupNameNotIn(List<String> values) {
gary's avatar
gary committed
314
            addCriterion("asset_group_name not in", values, "assetGroupName");
315 316 317
            return (Criteria) this;
        }

318
        public Criteria andAssetGroupNameBetween(String value1, String value2) {
gary's avatar
gary committed
319
            addCriterion("asset_group_name between", value1, value2, "assetGroupName");
320 321 322
            return (Criteria) this;
        }

323
        public Criteria andAssetGroupNameNotBetween(String value1, String value2) {
gary's avatar
gary committed
324
            addCriterion("asset_group_name not between", value1, value2, "assetGroupName");
325 326 327
            return (Criteria) this;
        }

328
        public Criteria andCreateTimeIsNull() {
gary's avatar
gary committed
329
            addCriterion("create_time is null");
330 331 332
            return (Criteria) this;
        }

333
        public Criteria andCreateTimeIsNotNull() {
gary's avatar
gary committed
334
            addCriterion("create_time is not null");
335 336 337
            return (Criteria) this;
        }

338
        public Criteria andCreateTimeEqualTo(Date value) {
gary's avatar
gary committed
339
            addCriterion("create_time =", value, "createTime");
340 341 342
            return (Criteria) this;
        }

343
        public Criteria andCreateTimeNotEqualTo(Date value) {
gary's avatar
gary committed
344
            addCriterion("create_time <>", value, "createTime");
345 346 347
            return (Criteria) this;
        }

348
        public Criteria andCreateTimeGreaterThan(Date value) {
gary's avatar
gary committed
349
            addCriterion("create_time >", value, "createTime");
350 351 352
            return (Criteria) this;
        }

353
        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
gary's avatar
gary committed
354
            addCriterion("create_time >=", value, "createTime");
355 356 357
            return (Criteria) this;
        }

358
        public Criteria andCreateTimeLessThan(Date value) {
gary's avatar
gary committed
359
            addCriterion("create_time <", value, "createTime");
360 361 362
            return (Criteria) this;
        }

363
        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
gary's avatar
gary committed
364
            addCriterion("create_time <=", value, "createTime");
365 366 367
            return (Criteria) this;
        }

368
        public Criteria andCreateTimeIn(List<Date> values) {
gary's avatar
gary committed
369
            addCriterion("create_time in", values, "createTime");
370 371 372
            return (Criteria) this;
        }

373
        public Criteria andCreateTimeNotIn(List<Date> values) {
gary's avatar
gary committed
374
            addCriterion("create_time not in", values, "createTime");
375 376 377
            return (Criteria) this;
        }

378
        public Criteria andCreateTimeBetween(Date value1, Date value2) {
gary's avatar
gary committed
379
            addCriterion("create_time between", value1, value2, "createTime");
380 381 382
            return (Criteria) this;
        }

383
        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
gary's avatar
gary committed
384
            addCriterion("create_time not between", value1, value2, "createTime");
385 386 387
            return (Criteria) this;
        }

388
        public Criteria andUpdateTimeIsNull() {
gary's avatar
gary committed
389
            addCriterion("update_time is null");
390 391 392
            return (Criteria) this;
        }

393
        public Criteria andUpdateTimeIsNotNull() {
gary's avatar
gary committed
394
            addCriterion("update_time is not null");
395 396 397
            return (Criteria) this;
        }

398
        public Criteria andUpdateTimeEqualTo(Date value) {
gary's avatar
gary committed
399
            addCriterion("update_time =", value, "updateTime");
400 401 402
            return (Criteria) this;
        }

403
        public Criteria andUpdateTimeNotEqualTo(Date value) {
gary's avatar
gary committed
404
            addCriterion("update_time <>", value, "updateTime");
405 406 407
            return (Criteria) this;
        }

408
        public Criteria andUpdateTimeGreaterThan(Date value) {
gary's avatar
gary committed
409
            addCriterion("update_time >", value, "updateTime");
410 411 412
            return (Criteria) this;
        }

413
        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
gary's avatar
gary committed
414
            addCriterion("update_time >=", value, "updateTime");
415 416 417
            return (Criteria) this;
        }

418
        public Criteria andUpdateTimeLessThan(Date value) {
gary's avatar
gary committed
419
            addCriterion("update_time <", value, "updateTime");
420 421 422
            return (Criteria) this;
        }

423
        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
gary's avatar
gary committed
424
            addCriterion("update_time <=", value, "updateTime");
425 426 427
            return (Criteria) this;
        }

428
        public Criteria andUpdateTimeIn(List<Date> values) {
gary's avatar
gary committed
429
            addCriterion("update_time in", values, "updateTime");
430 431 432
            return (Criteria) this;
        }

433
        public Criteria andUpdateTimeNotIn(List<Date> values) {
gary's avatar
gary committed
434
            addCriterion("update_time not in", values, "updateTime");
435 436 437
            return (Criteria) this;
        }

438
        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
gary's avatar
gary committed
439
            addCriterion("update_time between", value1, value2, "updateTime");
440 441 442
            return (Criteria) this;
        }

443
        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
gary's avatar
gary committed
444
            addCriterion("update_time not between", value1, value2, "updateTime");
445 446
            return (Criteria) this;
        }
gary's avatar
gary committed
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506

        public Criteria andAssetGroupTypeIsNull() {
            addCriterion("asset_group_type is null");
            return (Criteria) this;
        }

        public Criteria andAssetGroupTypeIsNotNull() {
            addCriterion("asset_group_type is not null");
            return (Criteria) this;
        }

        public Criteria andAssetGroupTypeEqualTo(Integer value) {
            addCriterion("asset_group_type =", value, "assetGroupType");
            return (Criteria) this;
        }

        public Criteria andAssetGroupTypeNotEqualTo(Integer value) {
            addCriterion("asset_group_type <>", value, "assetGroupType");
            return (Criteria) this;
        }

        public Criteria andAssetGroupTypeGreaterThan(Integer value) {
            addCriterion("asset_group_type >", value, "assetGroupType");
            return (Criteria) this;
        }

        public Criteria andAssetGroupTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("asset_group_type >=", value, "assetGroupType");
            return (Criteria) this;
        }

        public Criteria andAssetGroupTypeLessThan(Integer value) {
            addCriterion("asset_group_type <", value, "assetGroupType");
            return (Criteria) this;
        }

        public Criteria andAssetGroupTypeLessThanOrEqualTo(Integer value) {
            addCriterion("asset_group_type <=", value, "assetGroupType");
            return (Criteria) this;
        }

        public Criteria andAssetGroupTypeIn(List<Integer> values) {
            addCriterion("asset_group_type in", values, "assetGroupType");
            return (Criteria) this;
        }

        public Criteria andAssetGroupTypeNotIn(List<Integer> values) {
            addCriterion("asset_group_type not in", values, "assetGroupType");
            return (Criteria) this;
        }

        public Criteria andAssetGroupTypeBetween(Integer value1, Integer value2) {
            addCriterion("asset_group_type between", value1, value2, "assetGroupType");
            return (Criteria) this;
        }

        public Criteria andAssetGroupTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("asset_group_type not between", value1, value2, "assetGroupType");
            return (Criteria) this;
        }
507 508 509 510
    }

    /**
     * This class was generated by MyBatis Generator.
gary's avatar
gary committed
511
     * This class corresponds to the database table asset_group
512 513 514 515 516 517 518 519 520 521 522 523
     *
     * @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
524
     * This class corresponds to the database table asset_group
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 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
     *
     * @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);
        }
    }
}