PeriodDataSourceDetailExample.java 20.9 KB
Newer Older
neo's avatar
neo committed
1 2 3 4 5 6 7 8
package pwc.taxtech.atms.vat.entity;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
43
     * This method corresponds to the database table period_data_source_detail
neo's avatar
neo 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.
53
     * This method corresponds to the database table period_data_source_detail
neo's avatar
neo committed
54 55 56 57 58 59 60 61 62
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
63
     * This method corresponds to the database table period_data_source_detail
neo's avatar
neo 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.
73
     * This method corresponds to the database table period_data_source_detail
neo's avatar
neo committed
74 75 76 77 78 79 80 81 82
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
83
     * This method corresponds to the database table period_data_source_detail
neo's avatar
neo 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.
93
     * This method corresponds to the database table period_data_source_detail
neo's avatar
neo 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.
103
     * This method corresponds to the database table period_data_source_detail
neo's avatar
neo 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.
115
     * This method corresponds to the database table period_data_source_detail
neo's avatar
neo 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.
129
     * This method corresponds to the database table period_data_source_detail
neo's avatar
neo 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.
140
     * This method corresponds to the database table period_data_source_detail
neo's avatar
neo 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.
152
     * This class corresponds to the database table period_data_source_detail
neo's avatar
neo 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 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));
        }

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andDataSourceIdIsNull() {
258
            addCriterion("data_source_id is null");
neo's avatar
neo committed
259 260 261 262
            return (Criteria) this;
        }

        public Criteria andDataSourceIdIsNotNull() {
263
            addCriterion("data_source_id is not null");
neo's avatar
neo committed
264 265 266 267
            return (Criteria) this;
        }

        public Criteria andDataSourceIdEqualTo(Long value) {
268
            addCriterion("data_source_id =", value, "dataSourceId");
neo's avatar
neo committed
269 270 271 272
            return (Criteria) this;
        }

        public Criteria andDataSourceIdNotEqualTo(Long value) {
273
            addCriterion("data_source_id <>", value, "dataSourceId");
neo's avatar
neo committed
274 275 276 277
            return (Criteria) this;
        }

        public Criteria andDataSourceIdGreaterThan(Long value) {
278
            addCriterion("data_source_id >", value, "dataSourceId");
neo's avatar
neo committed
279 280 281 282
            return (Criteria) this;
        }

        public Criteria andDataSourceIdGreaterThanOrEqualTo(Long value) {
283
            addCriterion("data_source_id >=", value, "dataSourceId");
neo's avatar
neo committed
284 285 286 287
            return (Criteria) this;
        }

        public Criteria andDataSourceIdLessThan(Long value) {
288
            addCriterion("data_source_id <", value, "dataSourceId");
neo's avatar
neo committed
289 290 291 292
            return (Criteria) this;
        }

        public Criteria andDataSourceIdLessThanOrEqualTo(Long value) {
293
            addCriterion("data_source_id <=", value, "dataSourceId");
neo's avatar
neo committed
294 295 296 297
            return (Criteria) this;
        }

        public Criteria andDataSourceIdIn(List<Long> values) {
298
            addCriterion("data_source_id in", values, "dataSourceId");
neo's avatar
neo committed
299 300 301 302
            return (Criteria) this;
        }

        public Criteria andDataSourceIdNotIn(List<Long> values) {
303
            addCriterion("data_source_id not in", values, "dataSourceId");
neo's avatar
neo committed
304 305 306 307
            return (Criteria) this;
        }

        public Criteria andDataSourceIdBetween(Long value1, Long value2) {
308
            addCriterion("data_source_id between", value1, value2, "dataSourceId");
neo's avatar
neo committed
309 310 311 312
            return (Criteria) this;
        }

        public Criteria andDataSourceIdNotBetween(Long value1, Long value2) {
313
            addCriterion("data_source_id not between", value1, value2, "dataSourceId");
neo's avatar
neo committed
314 315 316 317
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeIsNull() {
318
            addCriterion("data_source_type is null");
neo's avatar
neo committed
319 320 321 322
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeIsNotNull() {
323
            addCriterion("data_source_type is not null");
neo's avatar
neo committed
324 325 326 327
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeEqualTo(Integer value) {
328
            addCriterion("data_source_type =", value, "dataSourceType");
neo's avatar
neo committed
329 330 331 332
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeNotEqualTo(Integer value) {
333
            addCriterion("data_source_type <>", value, "dataSourceType");
neo's avatar
neo committed
334 335 336 337
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeGreaterThan(Integer value) {
338
            addCriterion("data_source_type >", value, "dataSourceType");
neo's avatar
neo committed
339 340 341 342
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeGreaterThanOrEqualTo(Integer value) {
343
            addCriterion("data_source_type >=", value, "dataSourceType");
neo's avatar
neo committed
344 345 346 347
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeLessThan(Integer value) {
348
            addCriterion("data_source_type <", value, "dataSourceType");
neo's avatar
neo committed
349 350 351 352
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeLessThanOrEqualTo(Integer value) {
353
            addCriterion("data_source_type <=", value, "dataSourceType");
neo's avatar
neo committed
354 355 356 357
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeIn(List<Integer> values) {
358
            addCriterion("data_source_type in", values, "dataSourceType");
neo's avatar
neo committed
359 360 361 362
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeNotIn(List<Integer> values) {
363
            addCriterion("data_source_type not in", values, "dataSourceType");
neo's avatar
neo committed
364 365 366 367
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeBetween(Integer value1, Integer value2) {
368
            addCriterion("data_source_type between", value1, value2, "dataSourceType");
neo's avatar
neo committed
369 370 371 372
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeNotBetween(Integer value1, Integer value2) {
373
            addCriterion("data_source_type not between", value1, value2, "dataSourceType");
neo's avatar
neo committed
374 375 376 377
            return (Criteria) this;
        }

        public Criteria andItemValueIsNull() {
378
            addCriterion("item_value is null");
neo's avatar
neo committed
379 380 381 382
            return (Criteria) this;
        }

        public Criteria andItemValueIsNotNull() {
383
            addCriterion("item_value is not null");
neo's avatar
neo committed
384 385 386 387
            return (Criteria) this;
        }

        public Criteria andItemValueEqualTo(String value) {
388
            addCriterion("item_value =", value, "itemValue");
neo's avatar
neo committed
389 390 391 392
            return (Criteria) this;
        }

        public Criteria andItemValueNotEqualTo(String value) {
393
            addCriterion("item_value <>", value, "itemValue");
neo's avatar
neo committed
394 395 396 397
            return (Criteria) this;
        }

        public Criteria andItemValueGreaterThan(String value) {
398
            addCriterion("item_value >", value, "itemValue");
neo's avatar
neo committed
399 400 401 402
            return (Criteria) this;
        }

        public Criteria andItemValueGreaterThanOrEqualTo(String value) {
403
            addCriterion("item_value >=", value, "itemValue");
neo's avatar
neo committed
404 405 406 407
            return (Criteria) this;
        }

        public Criteria andItemValueLessThan(String value) {
408
            addCriterion("item_value <", value, "itemValue");
neo's avatar
neo committed
409 410 411 412
            return (Criteria) this;
        }

        public Criteria andItemValueLessThanOrEqualTo(String value) {
413
            addCriterion("item_value <=", value, "itemValue");
neo's avatar
neo committed
414 415 416 417
            return (Criteria) this;
        }

        public Criteria andItemValueLike(String value) {
418
            addCriterion("item_value like", value, "itemValue");
neo's avatar
neo committed
419 420 421 422
            return (Criteria) this;
        }

        public Criteria andItemValueNotLike(String value) {
423
            addCriterion("item_value not like", value, "itemValue");
neo's avatar
neo committed
424 425 426 427
            return (Criteria) this;
        }

        public Criteria andItemValueIn(List<String> values) {
428
            addCriterion("item_value in", values, "itemValue");
neo's avatar
neo committed
429 430 431 432
            return (Criteria) this;
        }

        public Criteria andItemValueNotIn(List<String> values) {
433
            addCriterion("item_value not in", values, "itemValue");
neo's avatar
neo committed
434 435 436 437
            return (Criteria) this;
        }

        public Criteria andItemValueBetween(String value1, String value2) {
438
            addCriterion("item_value between", value1, value2, "itemValue");
neo's avatar
neo committed
439 440 441 442
            return (Criteria) this;
        }

        public Criteria andItemValueNotBetween(String value1, String value2) {
443
            addCriterion("item_value not between", value1, value2, "itemValue");
neo's avatar
neo committed
444 445 446 447
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNull() {
448
            addCriterion("project_id is null");
neo's avatar
neo committed
449 450 451 452
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNotNull() {
453
            addCriterion("project_id is not null");
neo's avatar
neo committed
454 455 456 457
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualTo(String value) {
458
            addCriterion("project_id =", value, "projectId");
neo's avatar
neo committed
459 460 461 462
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualTo(String value) {
463
            addCriterion("project_id <>", value, "projectId");
neo's avatar
neo committed
464 465 466 467
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThan(String value) {
468
            addCriterion("project_id >", value, "projectId");
neo's avatar
neo committed
469 470 471 472
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualTo(String value) {
473
            addCriterion("project_id >=", value, "projectId");
neo's avatar
neo committed
474 475 476 477
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThan(String value) {
478
            addCriterion("project_id <", value, "projectId");
neo's avatar
neo committed
479 480 481 482
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualTo(String value) {
483
            addCriterion("project_id <=", value, "projectId");
neo's avatar
neo committed
484 485 486 487
            return (Criteria) this;
        }

        public Criteria andProjectIdLike(String value) {
488
            addCriterion("project_id like", value, "projectId");
neo's avatar
neo committed
489 490 491 492
            return (Criteria) this;
        }

        public Criteria andProjectIdNotLike(String value) {
493
            addCriterion("project_id not like", value, "projectId");
neo's avatar
neo committed
494 495 496 497
            return (Criteria) this;
        }

        public Criteria andProjectIdIn(List<String> values) {
498
            addCriterion("project_id in", values, "projectId");
neo's avatar
neo committed
499 500 501 502
            return (Criteria) this;
        }

        public Criteria andProjectIdNotIn(List<String> values) {
503
            addCriterion("project_id not in", values, "projectId");
neo's avatar
neo committed
504 505 506 507
            return (Criteria) this;
        }

        public Criteria andProjectIdBetween(String value1, String value2) {
508
            addCriterion("project_id between", value1, value2, "projectId");
neo's avatar
neo committed
509 510 511 512
            return (Criteria) this;
        }

        public Criteria andProjectIdNotBetween(String value1, String value2) {
513
            addCriterion("project_id not between", value1, value2, "projectId");
neo's avatar
neo committed
514 515 516 517
            return (Criteria) this;
        }

        public Criteria andPeriodIsNull() {
518
            addCriterion("period is null");
neo's avatar
neo committed
519 520 521 522
            return (Criteria) this;
        }

        public Criteria andPeriodIsNotNull() {
523
            addCriterion("period is not null");
neo's avatar
neo committed
524 525 526 527
            return (Criteria) this;
        }

        public Criteria andPeriodEqualTo(Integer value) {
528
            addCriterion("period =", value, "period");
neo's avatar
neo committed
529 530 531 532
            return (Criteria) this;
        }

        public Criteria andPeriodNotEqualTo(Integer value) {
533
            addCriterion("period <>", value, "period");
neo's avatar
neo committed
534 535 536 537
            return (Criteria) this;
        }

        public Criteria andPeriodGreaterThan(Integer value) {
538
            addCriterion("period >", value, "period");
neo's avatar
neo committed
539 540 541 542
            return (Criteria) this;
        }

        public Criteria andPeriodGreaterThanOrEqualTo(Integer value) {
543
            addCriterion("period >=", value, "period");
neo's avatar
neo committed
544 545 546 547
            return (Criteria) this;
        }

        public Criteria andPeriodLessThan(Integer value) {
548
            addCriterion("period <", value, "period");
neo's avatar
neo committed
549 550 551 552
            return (Criteria) this;
        }

        public Criteria andPeriodLessThanOrEqualTo(Integer value) {
553
            addCriterion("period <=", value, "period");
neo's avatar
neo committed
554 555 556 557
            return (Criteria) this;
        }

        public Criteria andPeriodIn(List<Integer> values) {
558
            addCriterion("period in", values, "period");
neo's avatar
neo committed
559 560 561 562
            return (Criteria) this;
        }

        public Criteria andPeriodNotIn(List<Integer> values) {
563
            addCriterion("period not in", values, "period");
neo's avatar
neo committed
564 565 566 567
            return (Criteria) this;
        }

        public Criteria andPeriodBetween(Integer value1, Integer value2) {
568
            addCriterion("period between", value1, value2, "period");
neo's avatar
neo committed
569 570 571 572
            return (Criteria) this;
        }

        public Criteria andPeriodNotBetween(Integer value1, Integer value2) {
573
            addCriterion("period not between", value1, value2, "period");
neo's avatar
neo committed
574 575 576 577 578 579
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
580
     * This class corresponds to the database table period_data_source_detail
neo's avatar
neo committed
581 582 583 584 585 586 587 588 589 590 591 592
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
593
     * This class corresponds to the database table period_data_source_detail
neo's avatar
neo committed
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 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682
     *
     * @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);
        }
    }
}