package com.dhcc.finance.main.domain;

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

public class CwBdAccperiodmonthExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CwBdAccperiodmonthExample() {
        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));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andPkAccperiodmonthIsNull() {
            addCriterion("PK_ACCPERIODMONTH is null");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodmonthIsNotNull() {
            addCriterion("PK_ACCPERIODMONTH is not null");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodmonthEqualTo(String value) {
            addCriterion("PK_ACCPERIODMONTH =", value, "pkAccperiodmonth");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodmonthNotEqualTo(String value) {
            addCriterion("PK_ACCPERIODMONTH <>", value, "pkAccperiodmonth");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodmonthGreaterThan(String value) {
            addCriterion("PK_ACCPERIODMONTH >", value, "pkAccperiodmonth");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodmonthGreaterThanOrEqualTo(String value) {
            addCriterion("PK_ACCPERIODMONTH >=", value, "pkAccperiodmonth");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodmonthLessThan(String value) {
            addCriterion("PK_ACCPERIODMONTH <", value, "pkAccperiodmonth");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodmonthLessThanOrEqualTo(String value) {
            addCriterion("PK_ACCPERIODMONTH <=", value, "pkAccperiodmonth");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodmonthLike(String value) {
            addCriterion("PK_ACCPERIODMONTH like", value, "pkAccperiodmonth");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodmonthNotLike(String value) {
            addCriterion("PK_ACCPERIODMONTH not like", value, "pkAccperiodmonth");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodmonthIn(List<String> values) {
            addCriterion("PK_ACCPERIODMONTH in", values, "pkAccperiodmonth");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodmonthNotIn(List<String> values) {
            addCriterion("PK_ACCPERIODMONTH not in", values, "pkAccperiodmonth");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodmonthBetween(String value1, String value2) {
            addCriterion("PK_ACCPERIODMONTH between", value1, value2, "pkAccperiodmonth");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodmonthNotBetween(String value1, String value2) {
            addCriterion("PK_ACCPERIODMONTH not between", value1, value2, "pkAccperiodmonth");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodIsNull() {
            addCriterion("PK_ACCPERIOD is null");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodIsNotNull() {
            addCriterion("PK_ACCPERIOD is not null");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodEqualTo(String value) {
            addCriterion("PK_ACCPERIOD =", value, "pkAccperiod");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodNotEqualTo(String value) {
            addCriterion("PK_ACCPERIOD <>", value, "pkAccperiod");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodGreaterThan(String value) {
            addCriterion("PK_ACCPERIOD >", value, "pkAccperiod");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodGreaterThanOrEqualTo(String value) {
            addCriterion("PK_ACCPERIOD >=", value, "pkAccperiod");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodLessThan(String value) {
            addCriterion("PK_ACCPERIOD <", value, "pkAccperiod");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodLessThanOrEqualTo(String value) {
            addCriterion("PK_ACCPERIOD <=", value, "pkAccperiod");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodLike(String value) {
            addCriterion("PK_ACCPERIOD like", value, "pkAccperiod");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodNotLike(String value) {
            addCriterion("PK_ACCPERIOD not like", value, "pkAccperiod");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodIn(List<String> values) {
            addCriterion("PK_ACCPERIOD in", values, "pkAccperiod");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodNotIn(List<String> values) {
            addCriterion("PK_ACCPERIOD not in", values, "pkAccperiod");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodBetween(String value1, String value2) {
            addCriterion("PK_ACCPERIOD between", value1, value2, "pkAccperiod");
            return (Criteria) this;
        }

        public Criteria andPkAccperiodNotBetween(String value1, String value2) {
            addCriterion("PK_ACCPERIOD not between", value1, value2, "pkAccperiod");
            return (Criteria) this;
        }

        public Criteria andAccperiodmthIsNull() {
            addCriterion("ACCPERIODMTH is null");
            return (Criteria) this;
        }

        public Criteria andAccperiodmthIsNotNull() {
            addCriterion("ACCPERIODMTH is not null");
            return (Criteria) this;
        }

        public Criteria andAccperiodmthEqualTo(String value) {
            addCriterion("ACCPERIODMTH =", value, "accperiodmth");
            return (Criteria) this;
        }

        public Criteria andAccperiodmthNotEqualTo(String value) {
            addCriterion("ACCPERIODMTH <>", value, "accperiodmth");
            return (Criteria) this;
        }

        public Criteria andAccperiodmthGreaterThan(String value) {
            addCriterion("ACCPERIODMTH >", value, "accperiodmth");
            return (Criteria) this;
        }

        public Criteria andAccperiodmthGreaterThanOrEqualTo(String value) {
            addCriterion("ACCPERIODMTH >=", value, "accperiodmth");
            return (Criteria) this;
        }

        public Criteria andAccperiodmthLessThan(String value) {
            addCriterion("ACCPERIODMTH <", value, "accperiodmth");
            return (Criteria) this;
        }

        public Criteria andAccperiodmthLessThanOrEqualTo(String value) {
            addCriterion("ACCPERIODMTH <=", value, "accperiodmth");
            return (Criteria) this;
        }

        public Criteria andAccperiodmthLike(String value) {
            addCriterion("ACCPERIODMTH like", value, "accperiodmth");
            return (Criteria) this;
        }

        public Criteria andAccperiodmthNotLike(String value) {
            addCriterion("ACCPERIODMTH not like", value, "accperiodmth");
            return (Criteria) this;
        }

        public Criteria andAccperiodmthIn(List<String> values) {
            addCriterion("ACCPERIODMTH in", values, "accperiodmth");
            return (Criteria) this;
        }

        public Criteria andAccperiodmthNotIn(List<String> values) {
            addCriterion("ACCPERIODMTH not in", values, "accperiodmth");
            return (Criteria) this;
        }

        public Criteria andAccperiodmthBetween(String value1, String value2) {
            addCriterion("ACCPERIODMTH between", value1, value2, "accperiodmth");
            return (Criteria) this;
        }

        public Criteria andAccperiodmthNotBetween(String value1, String value2) {
            addCriterion("ACCPERIODMTH not between", value1, value2, "accperiodmth");
            return (Criteria) this;
        }

        public Criteria andBegindateIsNull() {
            addCriterion("BEGINDATE is null");
            return (Criteria) this;
        }

        public Criteria andBegindateIsNotNull() {
            addCriterion("BEGINDATE is not null");
            return (Criteria) this;
        }

        public Criteria andBegindateEqualTo(Date value) {
            addCriterionForJDBCDate("BEGINDATE =", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateNotEqualTo(Date value) {
            addCriterionForJDBCDate("BEGINDATE <>", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateGreaterThan(Date value) {
            addCriterionForJDBCDate("BEGINDATE >", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("BEGINDATE >=", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateLessThan(Date value) {
            addCriterionForJDBCDate("BEGINDATE <", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("BEGINDATE <=", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateIn(List<Date> values) {
            addCriterionForJDBCDate("BEGINDATE in", values, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateNotIn(List<Date> values) {
            addCriterionForJDBCDate("BEGINDATE not in", values, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("BEGINDATE between", value1, value2, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("BEGINDATE not between", value1, value2, "begindate");
            return (Criteria) this;
        }

        public Criteria andEnddateIsNull() {
            addCriterion("ENDDATE is null");
            return (Criteria) this;
        }

        public Criteria andEnddateIsNotNull() {
            addCriterion("ENDDATE is not null");
            return (Criteria) this;
        }

        public Criteria andEnddateEqualTo(Date value) {
            addCriterionForJDBCDate("ENDDATE =", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotEqualTo(Date value) {
            addCriterionForJDBCDate("ENDDATE <>", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateGreaterThan(Date value) {
            addCriterionForJDBCDate("ENDDATE >", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ENDDATE >=", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateLessThan(Date value) {
            addCriterionForJDBCDate("ENDDATE <", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ENDDATE <=", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateIn(List<Date> values) {
            addCriterionForJDBCDate("ENDDATE in", values, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotIn(List<Date> values) {
            addCriterionForJDBCDate("ENDDATE not in", values, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ENDDATE between", value1, value2, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ENDDATE not between", value1, value2, "enddate");
            return (Criteria) this;
        }

        public Criteria andYearmthIsNull() {
            addCriterion("YEARMTH is null");
            return (Criteria) this;
        }

        public Criteria andYearmthIsNotNull() {
            addCriterion("YEARMTH is not null");
            return (Criteria) this;
        }

        public Criteria andYearmthEqualTo(String value) {
            addCriterion("YEARMTH =", value, "yearmth");
            return (Criteria) this;
        }

        public Criteria andYearmthNotEqualTo(String value) {
            addCriterion("YEARMTH <>", value, "yearmth");
            return (Criteria) this;
        }

        public Criteria andYearmthGreaterThan(String value) {
            addCriterion("YEARMTH >", value, "yearmth");
            return (Criteria) this;
        }

        public Criteria andYearmthGreaterThanOrEqualTo(String value) {
            addCriterion("YEARMTH >=", value, "yearmth");
            return (Criteria) this;
        }

        public Criteria andYearmthLessThan(String value) {
            addCriterion("YEARMTH <", value, "yearmth");
            return (Criteria) this;
        }

        public Criteria andYearmthLessThanOrEqualTo(String value) {
            addCriterion("YEARMTH <=", value, "yearmth");
            return (Criteria) this;
        }

        public Criteria andYearmthLike(String value) {
            addCriterion("YEARMTH like", value, "yearmth");
            return (Criteria) this;
        }

        public Criteria andYearmthNotLike(String value) {
            addCriterion("YEARMTH not like", value, "yearmth");
            return (Criteria) this;
        }

        public Criteria andYearmthIn(List<String> values) {
            addCriterion("YEARMTH in", values, "yearmth");
            return (Criteria) this;
        }

        public Criteria andYearmthNotIn(List<String> values) {
            addCriterion("YEARMTH not in", values, "yearmth");
            return (Criteria) this;
        }

        public Criteria andYearmthBetween(String value1, String value2) {
            addCriterion("YEARMTH between", value1, value2, "yearmth");
            return (Criteria) this;
        }

        public Criteria andYearmthNotBetween(String value1, String value2) {
            addCriterion("YEARMTH not between", value1, value2, "yearmth");
            return (Criteria) this;
        }

        public Criteria andUseStateIsNull() {
            addCriterion("USE_STATE is null");
            return (Criteria) this;
        }

        public Criteria andUseStateIsNotNull() {
            addCriterion("USE_STATE is not null");
            return (Criteria) this;
        }

        public Criteria andUseStateEqualTo(String value) {
            addCriterion("USE_STATE =", value, "useState");
            return (Criteria) this;
        }

        public Criteria andUseStateNotEqualTo(String value) {
            addCriterion("USE_STATE <>", value, "useState");
            return (Criteria) this;
        }

        public Criteria andUseStateGreaterThan(String value) {
            addCriterion("USE_STATE >", value, "useState");
            return (Criteria) this;
        }

        public Criteria andUseStateGreaterThanOrEqualTo(String value) {
            addCriterion("USE_STATE >=", value, "useState");
            return (Criteria) this;
        }

        public Criteria andUseStateLessThan(String value) {
            addCriterion("USE_STATE <", value, "useState");
            return (Criteria) this;
        }

        public Criteria andUseStateLessThanOrEqualTo(String value) {
            addCriterion("USE_STATE <=", value, "useState");
            return (Criteria) this;
        }

        public Criteria andUseStateLike(String value) {
            addCriterion("USE_STATE like", value, "useState");
            return (Criteria) this;
        }

        public Criteria andUseStateNotLike(String value) {
            addCriterion("USE_STATE not like", value, "useState");
            return (Criteria) this;
        }

        public Criteria andUseStateIn(List<String> values) {
            addCriterion("USE_STATE in", values, "useState");
            return (Criteria) this;
        }

        public Criteria andUseStateNotIn(List<String> values) {
            addCriterion("USE_STATE not in", values, "useState");
            return (Criteria) this;
        }

        public Criteria andUseStateBetween(String value1, String value2) {
            addCriterion("USE_STATE between", value1, value2, "useState");
            return (Criteria) this;
        }

        public Criteria andUseStateNotBetween(String value1, String value2) {
            addCriterion("USE_STATE not between", value1, value2, "useState");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("CREATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("CREATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("CREATE_USER =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("CREATE_USER <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("CREATE_USER >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_USER >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("CREATE_USER <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("CREATE_USER <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("CREATE_USER like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("CREATE_USER not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("CREATE_USER in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("CREATE_USER not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("CREATE_USER between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("CREATE_USER not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("UPDATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("UPDATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("UPDATE_USER =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("UPDATE_USER <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("UPDATE_USER >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATE_USER >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("UPDATE_USER <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("UPDATE_USER <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("UPDATE_USER like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("UPDATE_USER not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("UPDATE_USER in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("UPDATE_USER not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("UPDATE_USER between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("UPDATE_USER not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("REMARK is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("REMARK =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("REMARK <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("REMARK >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("REMARK >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("REMARK <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("REMARK <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("REMARK like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("REMARK not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("REMARK in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("REMARK not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("REMARK between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("REMARK not between", value1, value2, "remark");
            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);
        }
    }
}