package com.gyee.frame.model.auto;

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

public class CurvefittingmainExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    public CurvefittingmainExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

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

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

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

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

        public Criteria andWindturbineidIsNull() {
            addCriterion("windturbineId is null");
            return (Criteria) this;
        }

        public Criteria andWindturbineidIsNotNull() {
            addCriterion("windturbineId is not null");
            return (Criteria) this;
        }

        public Criteria andWindturbineidEqualTo(String value) {
            addCriterion("windturbineId =", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidNotEqualTo(String value) {
            addCriterion("windturbineId <>", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidGreaterThan(String value) {
            addCriterion("windturbineId >", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidGreaterThanOrEqualTo(String value) {
            addCriterion("windturbineId >=", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidLessThan(String value) {
            addCriterion("windturbineId <", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidLessThanOrEqualTo(String value) {
            addCriterion("windturbineId <=", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidLike(String value) {
            addCriterion("windturbineId like", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidNotLike(String value) {
            addCriterion("windturbineId not like", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidIn(List<String> values) {
            addCriterion("windturbineId in", values, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidNotIn(List<String> values) {
            addCriterion("windturbineId not in", values, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidBetween(String value1, String value2) {
            addCriterion("windturbineId between", value1, value2, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidNotBetween(String value1, String value2) {
            addCriterion("windturbineId not between", value1, value2, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateIsNull() {
            addCriterion("monthDeviationRate is null");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateIsNotNull() {
            addCriterion("monthDeviationRate is not null");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateEqualTo(BigDecimal value) {
            addCriterion("monthDeviationRate =", value, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateNotEqualTo(BigDecimal value) {
            addCriterion("monthDeviationRate <>", value, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateGreaterThan(BigDecimal value) {
            addCriterion("monthDeviationRate >", value, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("monthDeviationRate >=", value, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateLessThan(BigDecimal value) {
            addCriterion("monthDeviationRate <", value, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("monthDeviationRate <=", value, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateIn(List<BigDecimal> values) {
            addCriterion("monthDeviationRate in", values, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateNotIn(List<BigDecimal> values) {
            addCriterion("monthDeviationRate not in", values, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("monthDeviationRate between", value1, value2, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("monthDeviationRate not between", value1, value2, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateIsNull() {
            addCriterion("yearDeviationRate is null");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateIsNotNull() {
            addCriterion("yearDeviationRate is not null");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateEqualTo(BigDecimal value) {
            addCriterion("yearDeviationRate =", value, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateNotEqualTo(BigDecimal value) {
            addCriterion("yearDeviationRate <>", value, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateGreaterThan(BigDecimal value) {
            addCriterion("yearDeviationRate >", value, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("yearDeviationRate >=", value, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateLessThan(BigDecimal value) {
            addCriterion("yearDeviationRate <", value, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("yearDeviationRate <=", value, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateIn(List<BigDecimal> values) {
            addCriterion("yearDeviationRate in", values, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateNotIn(List<BigDecimal> values) {
            addCriterion("yearDeviationRate not in", values, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("yearDeviationRate between", value1, value2, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("yearDeviationRate not between", value1, value2, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateIsNull() {
            addCriterion("standardDeviationRate is null");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateIsNotNull() {
            addCriterion("standardDeviationRate is not null");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateEqualTo(BigDecimal value) {
            addCriterion("standardDeviationRate =", value, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateNotEqualTo(BigDecimal value) {
            addCriterion("standardDeviationRate <>", value, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateGreaterThan(BigDecimal value) {
            addCriterion("standardDeviationRate >", value, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("standardDeviationRate >=", value, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateLessThan(BigDecimal value) {
            addCriterion("standardDeviationRate <", value, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("standardDeviationRate <=", value, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateIn(List<BigDecimal> values) {
            addCriterion("standardDeviationRate in", values, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateNotIn(List<BigDecimal> values) {
            addCriterion("standardDeviationRate not in", values, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("standardDeviationRate between", value1, value2, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("standardDeviationRate not between", value1, value2, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andRecorddateIsNull() {
            addCriterion("recordDate is null");
            return (Criteria) this;
        }

        public Criteria andRecorddateIsNotNull() {
            addCriterion("recordDate is not null");
            return (Criteria) this;
        }

        public Criteria andRecorddateEqualTo(Date value) {
            addCriterion("recordDate =", value, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateNotEqualTo(Date value) {
            addCriterion("recordDate <>", value, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateGreaterThan(Date value) {
            addCriterion("recordDate >", value, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateGreaterThanOrEqualTo(Date value) {
            addCriterion("recordDate >=", value, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateLessThan(Date value) {
            addCriterion("recordDate <", value, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateLessThanOrEqualTo(Date value) {
            addCriterion("recordDate <=", value, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateIn(List<Date> values) {
            addCriterion("recordDate in", values, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateNotIn(List<Date> values) {
            addCriterion("recordDate not in", values, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateBetween(Date value1, Date value2) {
            addCriterion("recordDate between", value1, value2, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateNotBetween(Date value1, Date value2) {
            addCriterion("recordDate not between", value1, value2, "recorddate");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1IsNull() {
            addCriterion("deviationRate1 is null");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1IsNotNull() {
            addCriterion("deviationRate1 is not null");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1EqualTo(BigDecimal value) {
            addCriterion("deviationRate1 =", value, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1NotEqualTo(BigDecimal value) {
            addCriterion("deviationRate1 <>", value, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1GreaterThan(BigDecimal value) {
            addCriterion("deviationRate1 >", value, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("deviationRate1 >=", value, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1LessThan(BigDecimal value) {
            addCriterion("deviationRate1 <", value, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1LessThanOrEqualTo(BigDecimal value) {
            addCriterion("deviationRate1 <=", value, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1In(List<BigDecimal> values) {
            addCriterion("deviationRate1 in", values, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1NotIn(List<BigDecimal> values) {
            addCriterion("deviationRate1 not in", values, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("deviationRate1 between", value1, value2, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("deviationRate1 not between", value1, value2, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2IsNull() {
            addCriterion("deviationRate2 is null");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2IsNotNull() {
            addCriterion("deviationRate2 is not null");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2EqualTo(BigDecimal value) {
            addCriterion("deviationRate2 =", value, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2NotEqualTo(BigDecimal value) {
            addCriterion("deviationRate2 <>", value, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2GreaterThan(BigDecimal value) {
            addCriterion("deviationRate2 >", value, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("deviationRate2 >=", value, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2LessThan(BigDecimal value) {
            addCriterion("deviationRate2 <", value, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2LessThanOrEqualTo(BigDecimal value) {
            addCriterion("deviationRate2 <=", value, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2In(List<BigDecimal> values) {
            addCriterion("deviationRate2 in", values, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2NotIn(List<BigDecimal> values) {
            addCriterion("deviationRate2 not in", values, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("deviationRate2 between", value1, value2, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("deviationRate2 not between", value1, value2, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3IsNull() {
            addCriterion("deviationRate3 is null");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3IsNotNull() {
            addCriterion("deviationRate3 is not null");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3EqualTo(BigDecimal value) {
            addCriterion("deviationRate3 =", value, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3NotEqualTo(BigDecimal value) {
            addCriterion("deviationRate3 <>", value, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3GreaterThan(BigDecimal value) {
            addCriterion("deviationRate3 >", value, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("deviationRate3 >=", value, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3LessThan(BigDecimal value) {
            addCriterion("deviationRate3 <", value, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3LessThanOrEqualTo(BigDecimal value) {
            addCriterion("deviationRate3 <=", value, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3In(List<BigDecimal> values) {
            addCriterion("deviationRate3 in", values, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3NotIn(List<BigDecimal> values) {
            addCriterion("deviationRate3 not in", values, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("deviationRate3 between", value1, value2, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("deviationRate3 not between", value1, value2, "deviationrate3");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table curvefittingmain
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table curvefittingmain
     *
     * @mbg.generated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}