package com.gyee.frame.model.auto;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table NOSCALE_WF_DA_PF_PERIOD_DATA
     *
     * @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 NOSCALE_WF_DA_PF_PERIOD_DATA
     *
     * @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 NOSCALE_WF_DA_PF_PERIOD_DATA
     *
     * @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 NOSCALE_WF_DA_PF_PERIOD_DATA
     *
     * @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 NOSCALE_WF_DA_PF_PERIOD_DATA
     *
     * @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 andWindplantNoIsNull() {
            addCriterion("WINDPLANT_NO is null");
            return (Criteria) this;
        }

        public Criteria andWindplantNoIsNotNull() {
            addCriterion("WINDPLANT_NO is not null");
            return (Criteria) this;
        }

        public Criteria andWindplantNoEqualTo(Short value) {
            addCriterion("WINDPLANT_NO =", value, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoNotEqualTo(Short value) {
            addCriterion("WINDPLANT_NO <>", value, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoGreaterThan(Short value) {
            addCriterion("WINDPLANT_NO >", value, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoGreaterThanOrEqualTo(Short value) {
            addCriterion("WINDPLANT_NO >=", value, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoLessThan(Short value) {
            addCriterion("WINDPLANT_NO <", value, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoLessThanOrEqualTo(Short value) {
            addCriterion("WINDPLANT_NO <=", value, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoIn(List<Short> values) {
            addCriterion("WINDPLANT_NO in", values, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoNotIn(List<Short> values) {
            addCriterion("WINDPLANT_NO not in", values, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoBetween(Short value1, Short value2) {
            addCriterion("WINDPLANT_NO between", value1, value2, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoNotBetween(Short value1, Short value2) {
            addCriterion("WINDPLANT_NO not between", value1, value2, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andModelNoIsNull() {
            addCriterion("MODEL_NO is null");
            return (Criteria) this;
        }

        public Criteria andModelNoIsNotNull() {
            addCriterion("MODEL_NO is not null");
            return (Criteria) this;
        }

        public Criteria andModelNoEqualTo(Integer value) {
            addCriterion("MODEL_NO =", value, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoNotEqualTo(Integer value) {
            addCriterion("MODEL_NO <>", value, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoGreaterThan(Integer value) {
            addCriterion("MODEL_NO >", value, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoGreaterThanOrEqualTo(Integer value) {
            addCriterion("MODEL_NO >=", value, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoLessThan(Integer value) {
            addCriterion("MODEL_NO <", value, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoLessThanOrEqualTo(Integer value) {
            addCriterion("MODEL_NO <=", value, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoIn(List<Integer> values) {
            addCriterion("MODEL_NO in", values, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoNotIn(List<Integer> values) {
            addCriterion("MODEL_NO not in", values, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoBetween(Integer value1, Integer value2) {
            addCriterion("MODEL_NO between", value1, value2, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoNotBetween(Integer value1, Integer value2) {
            addCriterion("MODEL_NO not between", value1, value2, "modelNo");
            return (Criteria) this;
        }

        public Criteria andDataTimeIsNull() {
            addCriterion("DATA_TIME is null");
            return (Criteria) this;
        }

        public Criteria andDataTimeIsNotNull() {
            addCriterion("DATA_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andDataTimeEqualTo(Date value) {
            addCriterion("DATA_TIME =", value, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeNotEqualTo(Date value) {
            addCriterion("DATA_TIME <>", value, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeGreaterThan(Date value) {
            addCriterion("DATA_TIME >", value, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("DATA_TIME >=", value, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeLessThan(Date value) {
            addCriterion("DATA_TIME <", value, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeLessThanOrEqualTo(Date value) {
            addCriterion("DATA_TIME <=", value, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeIn(List<Date> values) {
            addCriterion("DATA_TIME in", values, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeNotIn(List<Date> values) {
            addCriterion("DATA_TIME not in", values, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeBetween(Date value1, Date value2) {
            addCriterion("DATA_TIME between", value1, value2, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeNotBetween(Date value1, Date value2) {
            addCriterion("DATA_TIME not between", value1, value2, "dataTime");
            return (Criteria) this;
        }

        public Criteria andValueIsNull() {
            addCriterion("VALUE is null");
            return (Criteria) this;
        }

        public Criteria andValueIsNotNull() {
            addCriterion("VALUE is not null");
            return (Criteria) this;
        }

        public Criteria andValueEqualTo(Double value) {
            addCriterion("VALUE =", value, "value");
            return (Criteria) this;
        }

        public Criteria andValueNotEqualTo(Double value) {
            addCriterion("VALUE <>", value, "value");
            return (Criteria) this;
        }

        public Criteria andValueGreaterThan(Double value) {
            addCriterion("VALUE >", value, "value");
            return (Criteria) this;
        }

        public Criteria andValueGreaterThanOrEqualTo(Double value) {
            addCriterion("VALUE >=", value, "value");
            return (Criteria) this;
        }

        public Criteria andValueLessThan(Double value) {
            addCriterion("VALUE <", value, "value");
            return (Criteria) this;
        }

        public Criteria andValueLessThanOrEqualTo(Double value) {
            addCriterion("VALUE <=", value, "value");
            return (Criteria) this;
        }

        public Criteria andValueIn(List<Double> values) {
            addCriterion("VALUE in", values, "value");
            return (Criteria) this;
        }

        public Criteria andValueNotIn(List<Double> values) {
            addCriterion("VALUE not in", values, "value");
            return (Criteria) this;
        }

        public Criteria andValueBetween(Double value1, Double value2) {
            addCriterion("VALUE between", value1, value2, "value");
            return (Criteria) this;
        }

        public Criteria andValueNotBetween(Double value1, Double value2) {
            addCriterion("VALUE not between", value1, value2, "value");
            return (Criteria) this;
        }

        public Criteria andDataFlagIsNull() {
            addCriterion("DATA_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andDataFlagIsNotNull() {
            addCriterion("DATA_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andDataFlagEqualTo(Short value) {
            addCriterion("DATA_FLAG =", value, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagNotEqualTo(Short value) {
            addCriterion("DATA_FLAG <>", value, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagGreaterThan(Short value) {
            addCriterion("DATA_FLAG >", value, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagGreaterThanOrEqualTo(Short value) {
            addCriterion("DATA_FLAG >=", value, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagLessThan(Short value) {
            addCriterion("DATA_FLAG <", value, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagLessThanOrEqualTo(Short value) {
            addCriterion("DATA_FLAG <=", value, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagIn(List<Short> values) {
            addCriterion("DATA_FLAG in", values, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagNotIn(List<Short> values) {
            addCriterion("DATA_FLAG not in", values, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagBetween(Short value1, Short value2) {
            addCriterion("DATA_FLAG between", value1, value2, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagNotBetween(Short value1, Short value2) {
            addCriterion("DATA_FLAG not between", value1, value2, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andModspeedIsNull() {
            addCriterion("MODSPEED is null");
            return (Criteria) this;
        }

        public Criteria andModspeedIsNotNull() {
            addCriterion("MODSPEED is not null");
            return (Criteria) this;
        }

        public Criteria andModspeedEqualTo(Double value) {
            addCriterion("MODSPEED =", value, "modspeed");
            return (Criteria) this;
        }

        public Criteria andModspeedNotEqualTo(Double value) {
            addCriterion("MODSPEED <>", value, "modspeed");
            return (Criteria) this;
        }

        public Criteria andModspeedGreaterThan(Double value) {
            addCriterion("MODSPEED >", value, "modspeed");
            return (Criteria) this;
        }

        public Criteria andModspeedGreaterThanOrEqualTo(Double value) {
            addCriterion("MODSPEED >=", value, "modspeed");
            return (Criteria) this;
        }

        public Criteria andModspeedLessThan(Double value) {
            addCriterion("MODSPEED <", value, "modspeed");
            return (Criteria) this;
        }

        public Criteria andModspeedLessThanOrEqualTo(Double value) {
            addCriterion("MODSPEED <=", value, "modspeed");
            return (Criteria) this;
        }

        public Criteria andModspeedIn(List<Double> values) {
            addCriterion("MODSPEED in", values, "modspeed");
            return (Criteria) this;
        }

        public Criteria andModspeedNotIn(List<Double> values) {
            addCriterion("MODSPEED not in", values, "modspeed");
            return (Criteria) this;
        }

        public Criteria andModspeedBetween(Double value1, Double value2) {
            addCriterion("MODSPEED between", value1, value2, "modspeed");
            return (Criteria) this;
        }

        public Criteria andModspeedNotBetween(Double value1, Double value2) {
            addCriterion("MODSPEED not between", value1, value2, "modspeed");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table NOSCALE_WF_DA_PF_PERIOD_DATA
     *
     * @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 NOSCALE_WF_DA_PF_PERIOD_DATA
     *
     * @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);
        }
    }
}