package com.gyee.frame.model.auto;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_NWP_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 WF_NWP_DATA
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_NWP_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 WF_NWP_DATA
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

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

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

        public Criteria andNwpTypeIsNotNull() {
            addCriterion("NWP_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andNwpTypeEqualTo(Short value) {
            addCriterion("NWP_TYPE =", value, "nwpType");
            return (Criteria) this;
        }

        public Criteria andNwpTypeNotEqualTo(Short value) {
            addCriterion("NWP_TYPE <>", value, "nwpType");
            return (Criteria) this;
        }

        public Criteria andNwpTypeGreaterThan(Short value) {
            addCriterion("NWP_TYPE >", value, "nwpType");
            return (Criteria) this;
        }

        public Criteria andNwpTypeGreaterThanOrEqualTo(Short value) {
            addCriterion("NWP_TYPE >=", value, "nwpType");
            return (Criteria) this;
        }

        public Criteria andNwpTypeLessThan(Short value) {
            addCriterion("NWP_TYPE <", value, "nwpType");
            return (Criteria) this;
        }

        public Criteria andNwpTypeLessThanOrEqualTo(Short value) {
            addCriterion("NWP_TYPE <=", value, "nwpType");
            return (Criteria) this;
        }

        public Criteria andNwpTypeIn(List<Short> values) {
            addCriterion("NWP_TYPE in", values, "nwpType");
            return (Criteria) this;
        }

        public Criteria andNwpTypeNotIn(List<Short> values) {
            addCriterion("NWP_TYPE not in", values, "nwpType");
            return (Criteria) this;
        }

        public Criteria andNwpTypeBetween(Short value1, Short value2) {
            addCriterion("NWP_TYPE between", value1, value2, "nwpType");
            return (Criteria) this;
        }

        public Criteria andNwpTypeNotBetween(Short value1, Short value2) {
            addCriterion("NWP_TYPE not between", value1, value2, "nwpType");
            return (Criteria) this;
        }

        public Criteria andFileTimeIsNull() {
            addCriterion("FILE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andFileTimeIsNotNull() {
            addCriterion("FILE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andFileTimeEqualTo(Long value) {
            addCriterion("FILE_TIME =", value, "fileTime");
            return (Criteria) this;
        }

        public Criteria andFileTimeNotEqualTo(Long value) {
            addCriterion("FILE_TIME <>", value, "fileTime");
            return (Criteria) this;
        }

        public Criteria andFileTimeGreaterThan(Long value) {
            addCriterion("FILE_TIME >", value, "fileTime");
            return (Criteria) this;
        }

        public Criteria andFileTimeGreaterThanOrEqualTo(Long value) {
            addCriterion("FILE_TIME >=", value, "fileTime");
            return (Criteria) this;
        }

        public Criteria andFileTimeLessThan(Long value) {
            addCriterion("FILE_TIME <", value, "fileTime");
            return (Criteria) this;
        }

        public Criteria andFileTimeLessThanOrEqualTo(Long value) {
            addCriterion("FILE_TIME <=", value, "fileTime");
            return (Criteria) this;
        }

        public Criteria andFileTimeIn(List<Long> values) {
            addCriterion("FILE_TIME in", values, "fileTime");
            return (Criteria) this;
        }

        public Criteria andFileTimeNotIn(List<Long> values) {
            addCriterion("FILE_TIME not in", values, "fileTime");
            return (Criteria) this;
        }

        public Criteria andFileTimeBetween(Long value1, Long value2) {
            addCriterion("FILE_TIME between", value1, value2, "fileTime");
            return (Criteria) this;
        }

        public Criteria andFileTimeNotBetween(Long value1, Long value2) {
            addCriterion("FILE_TIME not between", value1, value2, "fileTime");
            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 andWindSpeedIsNull() {
            addCriterion("WIND_SPEED is null");
            return (Criteria) this;
        }

        public Criteria andWindSpeedIsNotNull() {
            addCriterion("WIND_SPEED is not null");
            return (Criteria) this;
        }

        public Criteria andWindSpeedEqualTo(Double value) {
            addCriterion("WIND_SPEED =", value, "windSpeed");
            return (Criteria) this;
        }

        public Criteria andWindSpeedNotEqualTo(Double value) {
            addCriterion("WIND_SPEED <>", value, "windSpeed");
            return (Criteria) this;
        }

        public Criteria andWindSpeedGreaterThan(Double value) {
            addCriterion("WIND_SPEED >", value, "windSpeed");
            return (Criteria) this;
        }

        public Criteria andWindSpeedGreaterThanOrEqualTo(Double value) {
            addCriterion("WIND_SPEED >=", value, "windSpeed");
            return (Criteria) this;
        }

        public Criteria andWindSpeedLessThan(Double value) {
            addCriterion("WIND_SPEED <", value, "windSpeed");
            return (Criteria) this;
        }

        public Criteria andWindSpeedLessThanOrEqualTo(Double value) {
            addCriterion("WIND_SPEED <=", value, "windSpeed");
            return (Criteria) this;
        }

        public Criteria andWindSpeedIn(List<Double> values) {
            addCriterion("WIND_SPEED in", values, "windSpeed");
            return (Criteria) this;
        }

        public Criteria andWindSpeedNotIn(List<Double> values) {
            addCriterion("WIND_SPEED not in", values, "windSpeed");
            return (Criteria) this;
        }

        public Criteria andWindSpeedBetween(Double value1, Double value2) {
            addCriterion("WIND_SPEED between", value1, value2, "windSpeed");
            return (Criteria) this;
        }

        public Criteria andWindSpeedNotBetween(Double value1, Double value2) {
            addCriterion("WIND_SPEED not between", value1, value2, "windSpeed");
            return (Criteria) this;
        }

        public Criteria andTemperatureIsNull() {
            addCriterion("TEMPERATURE is null");
            return (Criteria) this;
        }

        public Criteria andTemperatureIsNotNull() {
            addCriterion("TEMPERATURE is not null");
            return (Criteria) this;
        }

        public Criteria andTemperatureEqualTo(Double value) {
            addCriterion("TEMPERATURE =", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotEqualTo(Double value) {
            addCriterion("TEMPERATURE <>", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureGreaterThan(Double value) {
            addCriterion("TEMPERATURE >", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureGreaterThanOrEqualTo(Double value) {
            addCriterion("TEMPERATURE >=", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureLessThan(Double value) {
            addCriterion("TEMPERATURE <", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureLessThanOrEqualTo(Double value) {
            addCriterion("TEMPERATURE <=", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureIn(List<Double> values) {
            addCriterion("TEMPERATURE in", values, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotIn(List<Double> values) {
            addCriterion("TEMPERATURE not in", values, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureBetween(Double value1, Double value2) {
            addCriterion("TEMPERATURE between", value1, value2, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotBetween(Double value1, Double value2) {
            addCriterion("TEMPERATURE not between", value1, value2, "temperature");
            return (Criteria) this;
        }

        public Criteria andWindDirIsNull() {
            addCriterion("WIND_DIR is null");
            return (Criteria) this;
        }

        public Criteria andWindDirIsNotNull() {
            addCriterion("WIND_DIR is not null");
            return (Criteria) this;
        }

        public Criteria andWindDirEqualTo(Double value) {
            addCriterion("WIND_DIR =", value, "windDir");
            return (Criteria) this;
        }

        public Criteria andWindDirNotEqualTo(Double value) {
            addCriterion("WIND_DIR <>", value, "windDir");
            return (Criteria) this;
        }

        public Criteria andWindDirGreaterThan(Double value) {
            addCriterion("WIND_DIR >", value, "windDir");
            return (Criteria) this;
        }

        public Criteria andWindDirGreaterThanOrEqualTo(Double value) {
            addCriterion("WIND_DIR >=", value, "windDir");
            return (Criteria) this;
        }

        public Criteria andWindDirLessThan(Double value) {
            addCriterion("WIND_DIR <", value, "windDir");
            return (Criteria) this;
        }

        public Criteria andWindDirLessThanOrEqualTo(Double value) {
            addCriterion("WIND_DIR <=", value, "windDir");
            return (Criteria) this;
        }

        public Criteria andWindDirIn(List<Double> values) {
            addCriterion("WIND_DIR in", values, "windDir");
            return (Criteria) this;
        }

        public Criteria andWindDirNotIn(List<Double> values) {
            addCriterion("WIND_DIR not in", values, "windDir");
            return (Criteria) this;
        }

        public Criteria andWindDirBetween(Double value1, Double value2) {
            addCriterion("WIND_DIR between", value1, value2, "windDir");
            return (Criteria) this;
        }

        public Criteria andWindDirNotBetween(Double value1, Double value2) {
            addCriterion("WIND_DIR not between", value1, value2, "windDir");
            return (Criteria) this;
        }

        public Criteria andHumidityIsNull() {
            addCriterion("HUMIDITY is null");
            return (Criteria) this;
        }

        public Criteria andHumidityIsNotNull() {
            addCriterion("HUMIDITY is not null");
            return (Criteria) this;
        }

        public Criteria andHumidityEqualTo(Double value) {
            addCriterion("HUMIDITY =", value, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityNotEqualTo(Double value) {
            addCriterion("HUMIDITY <>", value, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityGreaterThan(Double value) {
            addCriterion("HUMIDITY >", value, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityGreaterThanOrEqualTo(Double value) {
            addCriterion("HUMIDITY >=", value, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityLessThan(Double value) {
            addCriterion("HUMIDITY <", value, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityLessThanOrEqualTo(Double value) {
            addCriterion("HUMIDITY <=", value, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityIn(List<Double> values) {
            addCriterion("HUMIDITY in", values, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityNotIn(List<Double> values) {
            addCriterion("HUMIDITY not in", values, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityBetween(Double value1, Double value2) {
            addCriterion("HUMIDITY between", value1, value2, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityNotBetween(Double value1, Double value2) {
            addCriterion("HUMIDITY not between", value1, value2, "humidity");
            return (Criteria) this;
        }

        public Criteria andAirPressureIsNull() {
            addCriterion("AIR_PRESSURE is null");
            return (Criteria) this;
        }

        public Criteria andAirPressureIsNotNull() {
            addCriterion("AIR_PRESSURE is not null");
            return (Criteria) this;
        }

        public Criteria andAirPressureEqualTo(Double value) {
            addCriterion("AIR_PRESSURE =", value, "airPressure");
            return (Criteria) this;
        }

        public Criteria andAirPressureNotEqualTo(Double value) {
            addCriterion("AIR_PRESSURE <>", value, "airPressure");
            return (Criteria) this;
        }

        public Criteria andAirPressureGreaterThan(Double value) {
            addCriterion("AIR_PRESSURE >", value, "airPressure");
            return (Criteria) this;
        }

        public Criteria andAirPressureGreaterThanOrEqualTo(Double value) {
            addCriterion("AIR_PRESSURE >=", value, "airPressure");
            return (Criteria) this;
        }

        public Criteria andAirPressureLessThan(Double value) {
            addCriterion("AIR_PRESSURE <", value, "airPressure");
            return (Criteria) this;
        }

        public Criteria andAirPressureLessThanOrEqualTo(Double value) {
            addCriterion("AIR_PRESSURE <=", value, "airPressure");
            return (Criteria) this;
        }

        public Criteria andAirPressureIn(List<Double> values) {
            addCriterion("AIR_PRESSURE in", values, "airPressure");
            return (Criteria) this;
        }

        public Criteria andAirPressureNotIn(List<Double> values) {
            addCriterion("AIR_PRESSURE not in", values, "airPressure");
            return (Criteria) this;
        }

        public Criteria andAirPressureBetween(Double value1, Double value2) {
            addCriterion("AIR_PRESSURE between", value1, value2, "airPressure");
            return (Criteria) this;
        }

        public Criteria andAirPressureNotBetween(Double value1, Double value2) {
            addCriterion("AIR_PRESSURE not between", value1, value2, "airPressure");
            return (Criteria) this;
        }
    }

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