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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andCacheKeyEqualTo(String value) {
gary's avatar
gary committed
278
            addCriterion("cache_key =", value, "cacheKey");
eddie.woo's avatar
eddie.woo committed
279 280 281 282
            return (Criteria) this;
        }

        public Criteria andCacheKeyNotEqualTo(String value) {
gary's avatar
gary committed
283
            addCriterion("cache_key <>", value, "cacheKey");
eddie.woo's avatar
eddie.woo committed
284 285 286 287
            return (Criteria) this;
        }

        public Criteria andCacheKeyGreaterThan(String value) {
gary's avatar
gary committed
288
            addCriterion("cache_key >", value, "cacheKey");
eddie.woo's avatar
eddie.woo committed
289 290 291 292
            return (Criteria) this;
        }

        public Criteria andCacheKeyGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
293
            addCriterion("cache_key >=", value, "cacheKey");
eddie.woo's avatar
eddie.woo committed
294 295 296 297
            return (Criteria) this;
        }

        public Criteria andCacheKeyLessThan(String value) {
gary's avatar
gary committed
298
            addCriterion("cache_key <", value, "cacheKey");
eddie.woo's avatar
eddie.woo committed
299 300 301 302
            return (Criteria) this;
        }

        public Criteria andCacheKeyLessThanOrEqualTo(String value) {
gary's avatar
gary committed
303
            addCriterion("cache_key <=", value, "cacheKey");
eddie.woo's avatar
eddie.woo committed
304 305 306 307
            return (Criteria) this;
        }

        public Criteria andCacheKeyLike(String value) {
gary's avatar
gary committed
308
            addCriterion("cache_key like", value, "cacheKey");
eddie.woo's avatar
eddie.woo committed
309 310 311 312
            return (Criteria) this;
        }

        public Criteria andCacheKeyNotLike(String value) {
gary's avatar
gary committed
313
            addCriterion("cache_key not like", value, "cacheKey");
eddie.woo's avatar
eddie.woo committed
314 315 316 317
            return (Criteria) this;
        }

        public Criteria andCacheKeyIn(List<String> values) {
gary's avatar
gary committed
318
            addCriterion("cache_key in", values, "cacheKey");
eddie.woo's avatar
eddie.woo committed
319 320 321 322
            return (Criteria) this;
        }

        public Criteria andCacheKeyNotIn(List<String> values) {
gary's avatar
gary committed
323
            addCriterion("cache_key not in", values, "cacheKey");
eddie.woo's avatar
eddie.woo committed
324 325 326 327
            return (Criteria) this;
        }

        public Criteria andCacheKeyBetween(String value1, String value2) {
gary's avatar
gary committed
328
            addCriterion("cache_key between", value1, value2, "cacheKey");
eddie.woo's avatar
eddie.woo committed
329 330 331 332
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This class was generated by MyBatis Generator.
gary's avatar
gary committed
410
     * This class corresponds to the database table cache
eddie.woo's avatar
eddie.woo committed
411 412 413 414 415 416 417 418 419 420 421 422
     *
     * @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
423
     * This class corresponds to the database table cache
eddie.woo's avatar
eddie.woo committed
424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 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 507 508 509 510 511 512
     *
     * @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);
        }
    }
}