package com.mvc.entity;

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

public class TChkrptExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

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

        public Criteria andChkrptIdIsNotNull() {
            addCriterion("CHKRPT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andChkrptIdEqualTo(String value) {
            addCriterion("CHKRPT_ID =", value, "chkrptId");
            return (Criteria) this;
        }

        public Criteria andChkrptIdNotEqualTo(String value) {
            addCriterion("CHKRPT_ID <>", value, "chkrptId");
            return (Criteria) this;
        }

        public Criteria andChkrptIdGreaterThan(String value) {
            addCriterion("CHKRPT_ID >", value, "chkrptId");
            return (Criteria) this;
        }

        public Criteria andChkrptIdGreaterThanOrEqualTo(String value) {
            addCriterion("CHKRPT_ID >=", value, "chkrptId");
            return (Criteria) this;
        }

        public Criteria andChkrptIdLessThan(String value) {
            addCriterion("CHKRPT_ID <", value, "chkrptId");
            return (Criteria) this;
        }

        public Criteria andChkrptIdLessThanOrEqualTo(String value) {
            addCriterion("CHKRPT_ID <=", value, "chkrptId");
            return (Criteria) this;
        }

        public Criteria andChkrptIdLike(String value) {
            addCriterion("CHKRPT_ID like", value, "chkrptId");
            return (Criteria) this;
        }

        public Criteria andChkrptIdNotLike(String value) {
            addCriterion("CHKRPT_ID not like", value, "chkrptId");
            return (Criteria) this;
        }

        public Criteria andChkrptIdIn(List<String> values) {
            addCriterion("CHKRPT_ID in", values, "chkrptId");
            return (Criteria) this;
        }

        public Criteria andChkrptIdNotIn(List<String> values) {
            addCriterion("CHKRPT_ID not in", values, "chkrptId");
            return (Criteria) this;
        }

        public Criteria andChkrptIdBetween(String value1, String value2) {
            addCriterion("CHKRPT_ID between", value1, value2, "chkrptId");
            return (Criteria) this;
        }

        public Criteria andChkrptIdNotBetween(String value1, String value2) {
            addCriterion("CHKRPT_ID not between", value1, value2, "chkrptId");
            return (Criteria) this;
        }

        public Criteria andCheckIdIsNull() {
            addCriterion("CHECK_ID is null");
            return (Criteria) this;
        }

        public Criteria andCheckIdIsNotNull() {
            addCriterion("CHECK_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCheckIdEqualTo(String value) {
            addCriterion("CHECK_ID =", value, "checkId");
            return (Criteria) this;
        }

        public Criteria andCheckIdNotEqualTo(String value) {
            addCriterion("CHECK_ID <>", value, "checkId");
            return (Criteria) this;
        }

        public Criteria andCheckIdGreaterThan(String value) {
            addCriterion("CHECK_ID >", value, "checkId");
            return (Criteria) this;
        }

        public Criteria andCheckIdGreaterThanOrEqualTo(String value) {
            addCriterion("CHECK_ID >=", value, "checkId");
            return (Criteria) this;
        }

        public Criteria andCheckIdLessThan(String value) {
            addCriterion("CHECK_ID <", value, "checkId");
            return (Criteria) this;
        }

        public Criteria andCheckIdLessThanOrEqualTo(String value) {
            addCriterion("CHECK_ID <=", value, "checkId");
            return (Criteria) this;
        }

        public Criteria andCheckIdLike(String value) {
            addCriterion("CHECK_ID like", value, "checkId");
            return (Criteria) this;
        }

        public Criteria andCheckIdNotLike(String value) {
            addCriterion("CHECK_ID not like", value, "checkId");
            return (Criteria) this;
        }

        public Criteria andCheckIdIn(List<String> values) {
            addCriterion("CHECK_ID in", values, "checkId");
            return (Criteria) this;
        }

        public Criteria andCheckIdNotIn(List<String> values) {
            addCriterion("CHECK_ID not in", values, "checkId");
            return (Criteria) this;
        }

        public Criteria andCheckIdBetween(String value1, String value2) {
            addCriterion("CHECK_ID between", value1, value2, "checkId");
            return (Criteria) this;
        }

        public Criteria andCheckIdNotBetween(String value1, String value2) {
            addCriterion("CHECK_ID not between", value1, value2, "checkId");
            return (Criteria) this;
        }

        public Criteria andCheckNumIsNull() {
            addCriterion("CHECK_NUM is null");
            return (Criteria) this;
        }

        public Criteria andCheckNumIsNotNull() {
            addCriterion("CHECK_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andCheckNumEqualTo(Integer value) {
            addCriterion("CHECK_NUM =", value, "checkNum");
            return (Criteria) this;
        }

        public Criteria andCheckNumNotEqualTo(Integer value) {
            addCriterion("CHECK_NUM <>", value, "checkNum");
            return (Criteria) this;
        }

        public Criteria andCheckNumGreaterThan(Integer value) {
            addCriterion("CHECK_NUM >", value, "checkNum");
            return (Criteria) this;
        }

        public Criteria andCheckNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("CHECK_NUM >=", value, "checkNum");
            return (Criteria) this;
        }

        public Criteria andCheckNumLessThan(Integer value) {
            addCriterion("CHECK_NUM <", value, "checkNum");
            return (Criteria) this;
        }

        public Criteria andCheckNumLessThanOrEqualTo(Integer value) {
            addCriterion("CHECK_NUM <=", value, "checkNum");
            return (Criteria) this;
        }

        public Criteria andCheckNumIn(List<Integer> values) {
            addCriterion("CHECK_NUM in", values, "checkNum");
            return (Criteria) this;
        }

        public Criteria andCheckNumNotIn(List<Integer> values) {
            addCriterion("CHECK_NUM not in", values, "checkNum");
            return (Criteria) this;
        }

        public Criteria andCheckNumBetween(Integer value1, Integer value2) {
            addCriterion("CHECK_NUM between", value1, value2, "checkNum");
            return (Criteria) this;
        }

        public Criteria andCheckNumNotBetween(Integer value1, Integer value2) {
            addCriterion("CHECK_NUM not between", value1, value2, "checkNum");
            return (Criteria) this;
        }

        public Criteria andCheckQualNumIsNull() {
            addCriterion("CHECK_QUAL_NUM is null");
            return (Criteria) this;
        }

        public Criteria andCheckQualNumIsNotNull() {
            addCriterion("CHECK_QUAL_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andCheckQualNumEqualTo(Integer value) {
            addCriterion("CHECK_QUAL_NUM =", value, "checkQualNum");
            return (Criteria) this;
        }

        public Criteria andCheckQualNumNotEqualTo(Integer value) {
            addCriterion("CHECK_QUAL_NUM <>", value, "checkQualNum");
            return (Criteria) this;
        }

        public Criteria andCheckQualNumGreaterThan(Integer value) {
            addCriterion("CHECK_QUAL_NUM >", value, "checkQualNum");
            return (Criteria) this;
        }

        public Criteria andCheckQualNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("CHECK_QUAL_NUM >=", value, "checkQualNum");
            return (Criteria) this;
        }

        public Criteria andCheckQualNumLessThan(Integer value) {
            addCriterion("CHECK_QUAL_NUM <", value, "checkQualNum");
            return (Criteria) this;
        }

        public Criteria andCheckQualNumLessThanOrEqualTo(Integer value) {
            addCriterion("CHECK_QUAL_NUM <=", value, "checkQualNum");
            return (Criteria) this;
        }

        public Criteria andCheckQualNumIn(List<Integer> values) {
            addCriterion("CHECK_QUAL_NUM in", values, "checkQualNum");
            return (Criteria) this;
        }

        public Criteria andCheckQualNumNotIn(List<Integer> values) {
            addCriterion("CHECK_QUAL_NUM not in", values, "checkQualNum");
            return (Criteria) this;
        }

        public Criteria andCheckQualNumBetween(Integer value1, Integer value2) {
            addCriterion("CHECK_QUAL_NUM between", value1, value2, "checkQualNum");
            return (Criteria) this;
        }

        public Criteria andCheckQualNumNotBetween(Integer value1, Integer value2) {
            addCriterion("CHECK_QUAL_NUM not between", value1, value2, "checkQualNum");
            return (Criteria) this;
        }

        public Criteria andCheckUnqualNumIsNull() {
            addCriterion("CHECK_UNQUAL_NUM is null");
            return (Criteria) this;
        }

        public Criteria andCheckUnqualNumIsNotNull() {
            addCriterion("CHECK_UNQUAL_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andCheckUnqualNumEqualTo(Integer value) {
            addCriterion("CHECK_UNQUAL_NUM =", value, "checkUnqualNum");
            return (Criteria) this;
        }

        public Criteria andCheckUnqualNumNotEqualTo(Integer value) {
            addCriterion("CHECK_UNQUAL_NUM <>", value, "checkUnqualNum");
            return (Criteria) this;
        }

        public Criteria andCheckUnqualNumGreaterThan(Integer value) {
            addCriterion("CHECK_UNQUAL_NUM >", value, "checkUnqualNum");
            return (Criteria) this;
        }

        public Criteria andCheckUnqualNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("CHECK_UNQUAL_NUM >=", value, "checkUnqualNum");
            return (Criteria) this;
        }

        public Criteria andCheckUnqualNumLessThan(Integer value) {
            addCriterion("CHECK_UNQUAL_NUM <", value, "checkUnqualNum");
            return (Criteria) this;
        }

        public Criteria andCheckUnqualNumLessThanOrEqualTo(Integer value) {
            addCriterion("CHECK_UNQUAL_NUM <=", value, "checkUnqualNum");
            return (Criteria) this;
        }

        public Criteria andCheckUnqualNumIn(List<Integer> values) {
            addCriterion("CHECK_UNQUAL_NUM in", values, "checkUnqualNum");
            return (Criteria) this;
        }

        public Criteria andCheckUnqualNumNotIn(List<Integer> values) {
            addCriterion("CHECK_UNQUAL_NUM not in", values, "checkUnqualNum");
            return (Criteria) this;
        }

        public Criteria andCheckUnqualNumBetween(Integer value1, Integer value2) {
            addCriterion("CHECK_UNQUAL_NUM between", value1, value2, "checkUnqualNum");
            return (Criteria) this;
        }

        public Criteria andCheckUnqualNumNotBetween(Integer value1, Integer value2) {
            addCriterion("CHECK_UNQUAL_NUM not between", value1, value2, "checkUnqualNum");
            return (Criteria) this;
        }

        public Criteria andChkrptDescIsNull() {
            addCriterion("CHKRPT_DESC is null");
            return (Criteria) this;
        }

        public Criteria andChkrptDescIsNotNull() {
            addCriterion("CHKRPT_DESC is not null");
            return (Criteria) this;
        }

        public Criteria andChkrptDescEqualTo(String value) {
            addCriterion("CHKRPT_DESC =", value, "chkrptDesc");
            return (Criteria) this;
        }

        public Criteria andChkrptDescNotEqualTo(String value) {
            addCriterion("CHKRPT_DESC <>", value, "chkrptDesc");
            return (Criteria) this;
        }

        public Criteria andChkrptDescGreaterThan(String value) {
            addCriterion("CHKRPT_DESC >", value, "chkrptDesc");
            return (Criteria) this;
        }

        public Criteria andChkrptDescGreaterThanOrEqualTo(String value) {
            addCriterion("CHKRPT_DESC >=", value, "chkrptDesc");
            return (Criteria) this;
        }

        public Criteria andChkrptDescLessThan(String value) {
            addCriterion("CHKRPT_DESC <", value, "chkrptDesc");
            return (Criteria) this;
        }

        public Criteria andChkrptDescLessThanOrEqualTo(String value) {
            addCriterion("CHKRPT_DESC <=", value, "chkrptDesc");
            return (Criteria) this;
        }

        public Criteria andChkrptDescLike(String value) {
            addCriterion("CHKRPT_DESC like", value, "chkrptDesc");
            return (Criteria) this;
        }

        public Criteria andChkrptDescNotLike(String value) {
            addCriterion("CHKRPT_DESC not like", value, "chkrptDesc");
            return (Criteria) this;
        }

        public Criteria andChkrptDescIn(List<String> values) {
            addCriterion("CHKRPT_DESC in", values, "chkrptDesc");
            return (Criteria) this;
        }

        public Criteria andChkrptDescNotIn(List<String> values) {
            addCriterion("CHKRPT_DESC not in", values, "chkrptDesc");
            return (Criteria) this;
        }

        public Criteria andChkrptDescBetween(String value1, String value2) {
            addCriterion("CHKRPT_DESC between", value1, value2, "chkrptDesc");
            return (Criteria) this;
        }

        public Criteria andChkrptDescNotBetween(String value1, String value2) {
            addCriterion("CHKRPT_DESC not between", value1, value2, "chkrptDesc");
            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 andCreateManIsNull() {
            addCriterion("CREATE_MAN is null");
            return (Criteria) this;
        }

        public Criteria andCreateManIsNotNull() {
            addCriterion("CREATE_MAN is not null");
            return (Criteria) this;
        }

        public Criteria andCreateManEqualTo(String value) {
            addCriterion("CREATE_MAN =", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManNotEqualTo(String value) {
            addCriterion("CREATE_MAN <>", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManGreaterThan(String value) {
            addCriterion("CREATE_MAN >", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_MAN >=", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManLessThan(String value) {
            addCriterion("CREATE_MAN <", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManLessThanOrEqualTo(String value) {
            addCriterion("CREATE_MAN <=", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManLike(String value) {
            addCriterion("CREATE_MAN like", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManNotLike(String value) {
            addCriterion("CREATE_MAN not like", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManIn(List<String> values) {
            addCriterion("CREATE_MAN in", values, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManNotIn(List<String> values) {
            addCriterion("CREATE_MAN not in", values, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManBetween(String value1, String value2) {
            addCriterion("CREATE_MAN between", value1, value2, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManNotBetween(String value1, String value2) {
            addCriterion("CREATE_MAN not between", value1, value2, "createMan");
            return (Criteria) this;
        }

        public Criteria andInvalidFlagIsNull() {
            addCriterion("INVALID_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andInvalidFlagIsNotNull() {
            addCriterion("INVALID_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andInvalidFlagEqualTo(String value) {
            addCriterion("INVALID_FLAG =", value, "invalidFlag");
            return (Criteria) this;
        }

        public Criteria andInvalidFlagNotEqualTo(String value) {
            addCriterion("INVALID_FLAG <>", value, "invalidFlag");
            return (Criteria) this;
        }

        public Criteria andInvalidFlagGreaterThan(String value) {
            addCriterion("INVALID_FLAG >", value, "invalidFlag");
            return (Criteria) this;
        }

        public Criteria andInvalidFlagGreaterThanOrEqualTo(String value) {
            addCriterion("INVALID_FLAG >=", value, "invalidFlag");
            return (Criteria) this;
        }

        public Criteria andInvalidFlagLessThan(String value) {
            addCriterion("INVALID_FLAG <", value, "invalidFlag");
            return (Criteria) this;
        }

        public Criteria andInvalidFlagLessThanOrEqualTo(String value) {
            addCriterion("INVALID_FLAG <=", value, "invalidFlag");
            return (Criteria) this;
        }

        public Criteria andInvalidFlagLike(String value) {
            addCriterion("INVALID_FLAG like", value, "invalidFlag");
            return (Criteria) this;
        }

        public Criteria andInvalidFlagNotLike(String value) {
            addCriterion("INVALID_FLAG not like", value, "invalidFlag");
            return (Criteria) this;
        }

        public Criteria andInvalidFlagIn(List<String> values) {
            addCriterion("INVALID_FLAG in", values, "invalidFlag");
            return (Criteria) this;
        }

        public Criteria andInvalidFlagNotIn(List<String> values) {
            addCriterion("INVALID_FLAG not in", values, "invalidFlag");
            return (Criteria) this;
        }

        public Criteria andInvalidFlagBetween(String value1, String value2) {
            addCriterion("INVALID_FLAG between", value1, value2, "invalidFlag");
            return (Criteria) this;
        }

        public Criteria andInvalidFlagNotBetween(String value1, String value2) {
            addCriterion("INVALID_FLAG not between", value1, value2, "invalidFlag");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeIsNull() {
            addCriterion("INVALID_TIME is null");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeIsNotNull() {
            addCriterion("INVALID_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeEqualTo(Date value) {
            addCriterion("INVALID_TIME =", value, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeNotEqualTo(Date value) {
            addCriterion("INVALID_TIME <>", value, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeGreaterThan(Date value) {
            addCriterion("INVALID_TIME >", value, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("INVALID_TIME >=", value, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeLessThan(Date value) {
            addCriterion("INVALID_TIME <", value, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeLessThanOrEqualTo(Date value) {
            addCriterion("INVALID_TIME <=", value, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeIn(List<Date> values) {
            addCriterion("INVALID_TIME in", values, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeNotIn(List<Date> values) {
            addCriterion("INVALID_TIME not in", values, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeBetween(Date value1, Date value2) {
            addCriterion("INVALID_TIME between", value1, value2, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeNotBetween(Date value1, Date value2) {
            addCriterion("INVALID_TIME not between", value1, value2, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidManIsNull() {
            addCriterion("INVALID_MAN is null");
            return (Criteria) this;
        }

        public Criteria andInvalidManIsNotNull() {
            addCriterion("INVALID_MAN is not null");
            return (Criteria) this;
        }

        public Criteria andInvalidManEqualTo(String value) {
            addCriterion("INVALID_MAN =", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManNotEqualTo(String value) {
            addCriterion("INVALID_MAN <>", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManGreaterThan(String value) {
            addCriterion("INVALID_MAN >", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManGreaterThanOrEqualTo(String value) {
            addCriterion("INVALID_MAN >=", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManLessThan(String value) {
            addCriterion("INVALID_MAN <", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManLessThanOrEqualTo(String value) {
            addCriterion("INVALID_MAN <=", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManLike(String value) {
            addCriterion("INVALID_MAN like", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManNotLike(String value) {
            addCriterion("INVALID_MAN not like", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManIn(List<String> values) {
            addCriterion("INVALID_MAN in", values, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManNotIn(List<String> values) {
            addCriterion("INVALID_MAN not in", values, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManBetween(String value1, String value2) {
            addCriterion("INVALID_MAN between", value1, value2, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManNotBetween(String value1, String value2) {
            addCriterion("INVALID_MAN not between", value1, value2, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseIsNull() {
            addCriterion("INVALID_BECAUSE is null");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseIsNotNull() {
            addCriterion("INVALID_BECAUSE is not null");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseEqualTo(String value) {
            addCriterion("INVALID_BECAUSE =", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseNotEqualTo(String value) {
            addCriterion("INVALID_BECAUSE <>", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseGreaterThan(String value) {
            addCriterion("INVALID_BECAUSE >", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseGreaterThanOrEqualTo(String value) {
            addCriterion("INVALID_BECAUSE >=", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseLessThan(String value) {
            addCriterion("INVALID_BECAUSE <", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseLessThanOrEqualTo(String value) {
            addCriterion("INVALID_BECAUSE <=", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseLike(String value) {
            addCriterion("INVALID_BECAUSE like", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseNotLike(String value) {
            addCriterion("INVALID_BECAUSE not like", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseIn(List<String> values) {
            addCriterion("INVALID_BECAUSE in", values, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseNotIn(List<String> values) {
            addCriterion("INVALID_BECAUSE not in", values, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseBetween(String value1, String value2) {
            addCriterion("INVALID_BECAUSE between", value1, value2, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseNotBetween(String value1, String value2) {
            addCriterion("INVALID_BECAUSE not between", value1, value2, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andCheckManIsNull() {
            addCriterion("check_man is null");
            return (Criteria) this;
        }

        public Criteria andCheckManIsNotNull() {
            addCriterion("check_man is not null");
            return (Criteria) this;
        }

        public Criteria andCheckManEqualTo(String value) {
            addCriterion("check_man =", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManNotEqualTo(String value) {
            addCriterion("check_man <>", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManGreaterThan(String value) {
            addCriterion("check_man >", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManGreaterThanOrEqualTo(String value) {
            addCriterion("check_man >=", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManLessThan(String value) {
            addCriterion("check_man <", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManLessThanOrEqualTo(String value) {
            addCriterion("check_man <=", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManLike(String value) {
            addCriterion("check_man like", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManNotLike(String value) {
            addCriterion("check_man not like", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManIn(List<String> values) {
            addCriterion("check_man in", values, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManNotIn(List<String> values) {
            addCriterion("check_man not in", values, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManBetween(String value1, String value2) {
            addCriterion("check_man between", value1, value2, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManNotBetween(String value1, String value2) {
            addCriterion("check_man not between", value1, value2, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckTimeIsNull() {
            addCriterion("check_time is null");
            return (Criteria) this;
        }

        public Criteria andCheckTimeIsNotNull() {
            addCriterion("check_time is not null");
            return (Criteria) this;
        }

        public Criteria andCheckTimeEqualTo(Date value) {
            addCriterion("check_time =", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotEqualTo(Date value) {
            addCriterion("check_time <>", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeGreaterThan(Date value) {
            addCriterion("check_time >", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("check_time >=", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeLessThan(Date value) {
            addCriterion("check_time <", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeLessThanOrEqualTo(Date value) {
            addCriterion("check_time <=", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeIn(List<Date> values) {
            addCriterion("check_time in", values, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotIn(List<Date> values) {
            addCriterion("check_time not in", values, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeBetween(Date value1, Date value2) {
            addCriterion("check_time between", value1, value2, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotBetween(Date value1, Date value2) {
            addCriterion("check_time not between", value1, value2, "checkTime");
            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);
        }
    }
}