package com.mvc.entity;

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

public class TRepayDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TRepayDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    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() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDeatilIdIsNull() {
            addCriterion("DEATIL_ID is null");
            return (Criteria) this;
        }

        public Criteria andDeatilIdIsNotNull() {
            addCriterion("DEATIL_ID is not null");
            return (Criteria) this;
        }

        public Criteria andDeatilIdEqualTo(String value) {
            addCriterion("DEATIL_ID =", value, "deatilId");
            return (Criteria) this;
        }

        public Criteria andDeatilIdNotEqualTo(String value) {
            addCriterion("DEATIL_ID <>", value, "deatilId");
            return (Criteria) this;
        }

        public Criteria andDeatilIdGreaterThan(String value) {
            addCriterion("DEATIL_ID >", value, "deatilId");
            return (Criteria) this;
        }

        public Criteria andDeatilIdGreaterThanOrEqualTo(String value) {
            addCriterion("DEATIL_ID >=", value, "deatilId");
            return (Criteria) this;
        }

        public Criteria andDeatilIdLessThan(String value) {
            addCriterion("DEATIL_ID <", value, "deatilId");
            return (Criteria) this;
        }

        public Criteria andDeatilIdLessThanOrEqualTo(String value) {
            addCriterion("DEATIL_ID <=", value, "deatilId");
            return (Criteria) this;
        }

        public Criteria andDeatilIdLike(String value) {
            addCriterion("DEATIL_ID like", value, "deatilId");
            return (Criteria) this;
        }

        public Criteria andDeatilIdNotLike(String value) {
            addCriterion("DEATIL_ID not like", value, "deatilId");
            return (Criteria) this;
        }

        public Criteria andDeatilIdIn(List<String> values) {
            addCriterion("DEATIL_ID in", values, "deatilId");
            return (Criteria) this;
        }

        public Criteria andDeatilIdNotIn(List<String> values) {
            addCriterion("DEATIL_ID not in", values, "deatilId");
            return (Criteria) this;
        }

        public Criteria andDeatilIdBetween(String value1, String value2) {
            addCriterion("DEATIL_ID between", value1, value2, "deatilId");
            return (Criteria) this;
        }

        public Criteria andDeatilIdNotBetween(String value1, String value2) {
            addCriterion("DEATIL_ID not between", value1, value2, "deatilId");
            return (Criteria) this;
        }

        public Criteria andBillCodeIsNull() {
            addCriterion("BILL_CODE is null");
            return (Criteria) this;
        }

        public Criteria andBillCodeIsNotNull() {
            addCriterion("BILL_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andBillCodeEqualTo(String value) {
            addCriterion("BILL_CODE =", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeNotEqualTo(String value) {
            addCriterion("BILL_CODE <>", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeGreaterThan(String value) {
            addCriterion("BILL_CODE >", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeGreaterThanOrEqualTo(String value) {
            addCriterion("BILL_CODE >=", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeLessThan(String value) {
            addCriterion("BILL_CODE <", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeLessThanOrEqualTo(String value) {
            addCriterion("BILL_CODE <=", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeLike(String value) {
            addCriterion("BILL_CODE like", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeNotLike(String value) {
            addCriterion("BILL_CODE not like", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeIn(List<String> values) {
            addCriterion("BILL_CODE in", values, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeNotIn(List<String> values) {
            addCriterion("BILL_CODE not in", values, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeBetween(String value1, String value2) {
            addCriterion("BILL_CODE between", value1, value2, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeNotBetween(String value1, String value2) {
            addCriterion("BILL_CODE not between", value1, value2, "billCode");
            return (Criteria) this;
        }

        public Criteria andDeviceSnIsNull() {
            addCriterion("DEVICE_SN is null");
            return (Criteria) this;
        }

        public Criteria andDeviceSnIsNotNull() {
            addCriterion("DEVICE_SN is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceSnEqualTo(String value) {
            addCriterion("DEVICE_SN =", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnNotEqualTo(String value) {
            addCriterion("DEVICE_SN <>", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnGreaterThan(String value) {
            addCriterion("DEVICE_SN >", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnGreaterThanOrEqualTo(String value) {
            addCriterion("DEVICE_SN >=", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnLessThan(String value) {
            addCriterion("DEVICE_SN <", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnLessThanOrEqualTo(String value) {
            addCriterion("DEVICE_SN <=", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnLike(String value) {
            addCriterion("DEVICE_SN like", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnNotLike(String value) {
            addCriterion("DEVICE_SN not like", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnIn(List<String> values) {
            addCriterion("DEVICE_SN in", values, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnNotIn(List<String> values) {
            addCriterion("DEVICE_SN not in", values, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnBetween(String value1, String value2) {
            addCriterion("DEVICE_SN between", value1, value2, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnNotBetween(String value1, String value2) {
            addCriterion("DEVICE_SN not between", value1, value2, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDetailMemoIsNull() {
            addCriterion("DETAIL_MEMO is null");
            return (Criteria) this;
        }

        public Criteria andDetailMemoIsNotNull() {
            addCriterion("DETAIL_MEMO is not null");
            return (Criteria) this;
        }

        public Criteria andDetailMemoEqualTo(String value) {
            addCriterion("DETAIL_MEMO =", value, "detailMemo");
            return (Criteria) this;
        }

        public Criteria andDetailMemoNotEqualTo(String value) {
            addCriterion("DETAIL_MEMO <>", value, "detailMemo");
            return (Criteria) this;
        }

        public Criteria andDetailMemoGreaterThan(String value) {
            addCriterion("DETAIL_MEMO >", value, "detailMemo");
            return (Criteria) this;
        }

        public Criteria andDetailMemoGreaterThanOrEqualTo(String value) {
            addCriterion("DETAIL_MEMO >=", value, "detailMemo");
            return (Criteria) this;
        }

        public Criteria andDetailMemoLessThan(String value) {
            addCriterion("DETAIL_MEMO <", value, "detailMemo");
            return (Criteria) this;
        }

        public Criteria andDetailMemoLessThanOrEqualTo(String value) {
            addCriterion("DETAIL_MEMO <=", value, "detailMemo");
            return (Criteria) this;
        }

        public Criteria andDetailMemoLike(String value) {
            addCriterion("DETAIL_MEMO like", value, "detailMemo");
            return (Criteria) this;
        }

        public Criteria andDetailMemoNotLike(String value) {
            addCriterion("DETAIL_MEMO not like", value, "detailMemo");
            return (Criteria) this;
        }

        public Criteria andDetailMemoIn(List<String> values) {
            addCriterion("DETAIL_MEMO in", values, "detailMemo");
            return (Criteria) this;
        }

        public Criteria andDetailMemoNotIn(List<String> values) {
            addCriterion("DETAIL_MEMO not in", values, "detailMemo");
            return (Criteria) this;
        }

        public Criteria andDetailMemoBetween(String value1, String value2) {
            addCriterion("DETAIL_MEMO between", value1, value2, "detailMemo");
            return (Criteria) this;
        }

        public Criteria andDetailMemoNotBetween(String value1, String value2) {
            addCriterion("DETAIL_MEMO not between", value1, value2, "detailMemo");
            return (Criteria) this;
        }

        public Criteria andActualLendDaysIsNull() {
            addCriterion("ACTUAL_LEND_DAYS is null");
            return (Criteria) this;
        }

        public Criteria andActualLendDaysIsNotNull() {
            addCriterion("ACTUAL_LEND_DAYS is not null");
            return (Criteria) this;
        }

        public Criteria andActualLendDaysEqualTo(Integer value) {
            addCriterion("ACTUAL_LEND_DAYS =", value, "actualLendDays");
            return (Criteria) this;
        }

        public Criteria andActualLendDaysNotEqualTo(Integer value) {
            addCriterion("ACTUAL_LEND_DAYS <>", value, "actualLendDays");
            return (Criteria) this;
        }

        public Criteria andActualLendDaysGreaterThan(Integer value) {
            addCriterion("ACTUAL_LEND_DAYS >", value, "actualLendDays");
            return (Criteria) this;
        }

        public Criteria andActualLendDaysGreaterThanOrEqualTo(Integer value) {
            addCriterion("ACTUAL_LEND_DAYS >=", value, "actualLendDays");
            return (Criteria) this;
        }

        public Criteria andActualLendDaysLessThan(Integer value) {
            addCriterion("ACTUAL_LEND_DAYS <", value, "actualLendDays");
            return (Criteria) this;
        }

        public Criteria andActualLendDaysLessThanOrEqualTo(Integer value) {
            addCriterion("ACTUAL_LEND_DAYS <=", value, "actualLendDays");
            return (Criteria) this;
        }

        public Criteria andActualLendDaysIn(List<Integer> values) {
            addCriterion("ACTUAL_LEND_DAYS in", values, "actualLendDays");
            return (Criteria) this;
        }

        public Criteria andActualLendDaysNotIn(List<Integer> values) {
            addCriterion("ACTUAL_LEND_DAYS not in", values, "actualLendDays");
            return (Criteria) this;
        }

        public Criteria andActualLendDaysBetween(Integer value1, Integer value2) {
            addCriterion("ACTUAL_LEND_DAYS between", value1, value2, "actualLendDays");
            return (Criteria) this;
        }

        public Criteria andActualLendDaysNotBetween(Integer value1, Integer value2) {
            addCriterion("ACTUAL_LEND_DAYS not between", value1, value2, "actualLendDays");
            return (Criteria) this;
        }

        public Criteria andLateFlagIsNull() {
            addCriterion("LATE_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andLateFlagIsNotNull() {
            addCriterion("LATE_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andLateFlagEqualTo(String value) {
            addCriterion("LATE_FLAG =", value, "lateFlag");
            return (Criteria) this;
        }

        public Criteria andLateFlagNotEqualTo(String value) {
            addCriterion("LATE_FLAG <>", value, "lateFlag");
            return (Criteria) this;
        }

        public Criteria andLateFlagGreaterThan(String value) {
            addCriterion("LATE_FLAG >", value, "lateFlag");
            return (Criteria) this;
        }

        public Criteria andLateFlagGreaterThanOrEqualTo(String value) {
            addCriterion("LATE_FLAG >=", value, "lateFlag");
            return (Criteria) this;
        }

        public Criteria andLateFlagLessThan(String value) {
            addCriterion("LATE_FLAG <", value, "lateFlag");
            return (Criteria) this;
        }

        public Criteria andLateFlagLessThanOrEqualTo(String value) {
            addCriterion("LATE_FLAG <=", value, "lateFlag");
            return (Criteria) this;
        }

        public Criteria andLateFlagLike(String value) {
            addCriterion("LATE_FLAG like", value, "lateFlag");
            return (Criteria) this;
        }

        public Criteria andLateFlagNotLike(String value) {
            addCriterion("LATE_FLAG not like", value, "lateFlag");
            return (Criteria) this;
        }

        public Criteria andLateFlagIn(List<String> values) {
            addCriterion("LATE_FLAG in", values, "lateFlag");
            return (Criteria) this;
        }

        public Criteria andLateFlagNotIn(List<String> values) {
            addCriterion("LATE_FLAG not in", values, "lateFlag");
            return (Criteria) this;
        }

        public Criteria andLateFlagBetween(String value1, String value2) {
            addCriterion("LATE_FLAG between", value1, value2, "lateFlag");
            return (Criteria) this;
        }

        public Criteria andLateFlagNotBetween(String value1, String value2) {
            addCriterion("LATE_FLAG not between", value1, value2, "lateFlag");
            return (Criteria) this;
        }

        public Criteria andLateDaysIsNull() {
            addCriterion("LATE_DAYS is null");
            return (Criteria) this;
        }

        public Criteria andLateDaysIsNotNull() {
            addCriterion("LATE_DAYS is not null");
            return (Criteria) this;
        }

        public Criteria andLateDaysEqualTo(Integer value) {
            addCriterion("LATE_DAYS =", value, "lateDays");
            return (Criteria) this;
        }

        public Criteria andLateDaysNotEqualTo(Integer value) {
            addCriterion("LATE_DAYS <>", value, "lateDays");
            return (Criteria) this;
        }

        public Criteria andLateDaysGreaterThan(Integer value) {
            addCriterion("LATE_DAYS >", value, "lateDays");
            return (Criteria) this;
        }

        public Criteria andLateDaysGreaterThanOrEqualTo(Integer value) {
            addCriterion("LATE_DAYS >=", value, "lateDays");
            return (Criteria) this;
        }

        public Criteria andLateDaysLessThan(Integer value) {
            addCriterion("LATE_DAYS <", value, "lateDays");
            return (Criteria) this;
        }

        public Criteria andLateDaysLessThanOrEqualTo(Integer value) {
            addCriterion("LATE_DAYS <=", value, "lateDays");
            return (Criteria) this;
        }

        public Criteria andLateDaysIn(List<Integer> values) {
            addCriterion("LATE_DAYS in", values, "lateDays");
            return (Criteria) this;
        }

        public Criteria andLateDaysNotIn(List<Integer> values) {
            addCriterion("LATE_DAYS not in", values, "lateDays");
            return (Criteria) this;
        }

        public Criteria andLateDaysBetween(Integer value1, Integer value2) {
            addCriterion("LATE_DAYS between", value1, value2, "lateDays");
            return (Criteria) this;
        }

        public Criteria andLateDaysNotBetween(Integer value1, Integer value2) {
            addCriterion("LATE_DAYS not between", value1, value2, "lateDays");
            return (Criteria) this;
        }

        public Criteria andLendIdIsNull() {
            addCriterion("LEND_ID is null");
            return (Criteria) this;
        }

        public Criteria andLendIdIsNotNull() {
            addCriterion("LEND_ID is not null");
            return (Criteria) this;
        }

        public Criteria andLendIdEqualTo(String value) {
            addCriterion("LEND_ID =", value, "lendId");
            return (Criteria) this;
        }

        public Criteria andLendIdNotEqualTo(String value) {
            addCriterion("LEND_ID <>", value, "lendId");
            return (Criteria) this;
        }

        public Criteria andLendIdGreaterThan(String value) {
            addCriterion("LEND_ID >", value, "lendId");
            return (Criteria) this;
        }

        public Criteria andLendIdGreaterThanOrEqualTo(String value) {
            addCriterion("LEND_ID >=", value, "lendId");
            return (Criteria) this;
        }

        public Criteria andLendIdLessThan(String value) {
            addCriterion("LEND_ID <", value, "lendId");
            return (Criteria) this;
        }

        public Criteria andLendIdLessThanOrEqualTo(String value) {
            addCriterion("LEND_ID <=", value, "lendId");
            return (Criteria) this;
        }

        public Criteria andLendIdLike(String value) {
            addCriterion("LEND_ID like", value, "lendId");
            return (Criteria) this;
        }

        public Criteria andLendIdNotLike(String value) {
            addCriterion("LEND_ID not like", value, "lendId");
            return (Criteria) this;
        }

        public Criteria andLendIdIn(List<String> values) {
            addCriterion("LEND_ID in", values, "lendId");
            return (Criteria) this;
        }

        public Criteria andLendIdNotIn(List<String> values) {
            addCriterion("LEND_ID not in", values, "lendId");
            return (Criteria) this;
        }

        public Criteria andLendIdBetween(String value1, String value2) {
            addCriterion("LEND_ID between", value1, value2, "lendId");
            return (Criteria) this;
        }

        public Criteria andLendIdNotBetween(String value1, String value2) {
            addCriterion("LEND_ID not between", value1, value2, "lendId");
            return (Criteria) this;
        }

        public Criteria andLendDetailIdIsNull() {
            addCriterion("LEND_DETAIL_ID is null");
            return (Criteria) this;
        }

        public Criteria andLendDetailIdIsNotNull() {
            addCriterion("LEND_DETAIL_ID is not null");
            return (Criteria) this;
        }

        public Criteria andLendDetailIdEqualTo(String value) {
            addCriterion("LEND_DETAIL_ID =", value, "lendDetailId");
            return (Criteria) this;
        }

        public Criteria andLendDetailIdNotEqualTo(String value) {
            addCriterion("LEND_DETAIL_ID <>", value, "lendDetailId");
            return (Criteria) this;
        }

        public Criteria andLendDetailIdGreaterThan(String value) {
            addCriterion("LEND_DETAIL_ID >", value, "lendDetailId");
            return (Criteria) this;
        }

        public Criteria andLendDetailIdGreaterThanOrEqualTo(String value) {
            addCriterion("LEND_DETAIL_ID >=", value, "lendDetailId");
            return (Criteria) this;
        }

        public Criteria andLendDetailIdLessThan(String value) {
            addCriterion("LEND_DETAIL_ID <", value, "lendDetailId");
            return (Criteria) this;
        }

        public Criteria andLendDetailIdLessThanOrEqualTo(String value) {
            addCriterion("LEND_DETAIL_ID <=", value, "lendDetailId");
            return (Criteria) this;
        }

        public Criteria andLendDetailIdLike(String value) {
            addCriterion("LEND_DETAIL_ID like", value, "lendDetailId");
            return (Criteria) this;
        }

        public Criteria andLendDetailIdNotLike(String value) {
            addCriterion("LEND_DETAIL_ID not like", value, "lendDetailId");
            return (Criteria) this;
        }

        public Criteria andLendDetailIdIn(List<String> values) {
            addCriterion("LEND_DETAIL_ID in", values, "lendDetailId");
            return (Criteria) this;
        }

        public Criteria andLendDetailIdNotIn(List<String> values) {
            addCriterion("LEND_DETAIL_ID not in", values, "lendDetailId");
            return (Criteria) this;
        }

        public Criteria andLendDetailIdBetween(String value1, String value2) {
            addCriterion("LEND_DETAIL_ID between", value1, value2, "lendDetailId");
            return (Criteria) this;
        }

        public Criteria andLendDetailIdNotBetween(String value1, String value2) {
            addCriterion("LEND_DETAIL_ID not between", value1, value2, "lendDetailId");
            return (Criteria) this;
        }

        public Criteria andRepayTimeIsNull() {
            addCriterion("REPAY_TIME is null");
            return (Criteria) this;
        }

        public Criteria andRepayTimeIsNotNull() {
            addCriterion("REPAY_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andRepayTimeEqualTo(Date value) {
            addCriterion("REPAY_TIME =", value, "repayTime");
            return (Criteria) this;
        }

        public Criteria andRepayTimeNotEqualTo(Date value) {
            addCriterion("REPAY_TIME <>", value, "repayTime");
            return (Criteria) this;
        }

        public Criteria andRepayTimeGreaterThan(Date value) {
            addCriterion("REPAY_TIME >", value, "repayTime");
            return (Criteria) this;
        }

        public Criteria andRepayTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("REPAY_TIME >=", value, "repayTime");
            return (Criteria) this;
        }

        public Criteria andRepayTimeLessThan(Date value) {
            addCriterion("REPAY_TIME <", value, "repayTime");
            return (Criteria) this;
        }

        public Criteria andRepayTimeLessThanOrEqualTo(Date value) {
            addCriterion("REPAY_TIME <=", value, "repayTime");
            return (Criteria) this;
        }

        public Criteria andRepayTimeIn(List<Date> values) {
            addCriterion("REPAY_TIME in", values, "repayTime");
            return (Criteria) this;
        }

        public Criteria andRepayTimeNotIn(List<Date> values) {
            addCriterion("REPAY_TIME not in", values, "repayTime");
            return (Criteria) this;
        }

        public Criteria andRepayTimeBetween(Date value1, Date value2) {
            addCriterion("REPAY_TIME between", value1, value2, "repayTime");
            return (Criteria) this;
        }

        public Criteria andRepayTimeNotBetween(Date value1, Date value2) {
            addCriterion("REPAY_TIME not between", value1, value2, "repayTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    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);
        }
    }
}