package com.gyee.frame.model.auto;

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

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

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

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

    public String isAsc;

    public void setIsAsc(String isAsc) {
        this.isAsc = isAsc;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andDaygoodnessIsNotNull() {
            addCriterion("dayGoodness is not null");
            return (Criteria) this;
        }

        public Criteria andDaygoodnessEqualTo(Double value) {
            addCriterion("dayGoodness =", value, "daygoodness");
            return (Criteria) this;
        }

        public Criteria andDaygoodnessNotEqualTo(Double value) {
            addCriterion("dayGoodness <>", value, "daygoodness");
            return (Criteria) this;
        }

        public Criteria andDaygoodnessGreaterThan(Double value) {
            addCriterion("dayGoodness >", value, "daygoodness");
            return (Criteria) this;
        }

        public Criteria andDaygoodnessGreaterThanOrEqualTo(Double value) {
            addCriterion("dayGoodness >=", value, "daygoodness");
            return (Criteria) this;
        }

        public Criteria andDaygoodnessLessThan(Double value) {
            addCriterion("dayGoodness <", value, "daygoodness");
            return (Criteria) this;
        }

        public Criteria andDaygoodnessLessThanOrEqualTo(Double value) {
            addCriterion("dayGoodness <=", value, "daygoodness");
            return (Criteria) this;
        }

        public Criteria andDaygoodnessIn(List<Double> values) {
            addCriterion("dayGoodness in", values, "daygoodness");
            return (Criteria) this;
        }

        public Criteria andDaygoodnessNotIn(List<Double> values) {
            addCriterion("dayGoodness not in", values, "daygoodness");
            return (Criteria) this;
        }

        public Criteria andDaygoodnessBetween(Double value1, Double value2) {
            addCriterion("dayGoodness between", value1, value2, "daygoodness");
            return (Criteria) this;
        }

        public Criteria andDaygoodnessNotBetween(Double value1, Double value2) {
            addCriterion("dayGoodness not between", value1, value2, "daygoodness");
            return (Criteria) this;
        }

        public Criteria andMonthgoodnessIsNull() {
            addCriterion("monthGoodness is null");
            return (Criteria) this;
        }

        public Criteria andMonthgoodnessIsNotNull() {
            addCriterion("monthGoodness is not null");
            return (Criteria) this;
        }

        public Criteria andMonthgoodnessEqualTo(Double value) {
            addCriterion("monthGoodness =", value, "monthgoodness");
            return (Criteria) this;
        }

        public Criteria andMonthgoodnessNotEqualTo(Double value) {
            addCriterion("monthGoodness <>", value, "monthgoodness");
            return (Criteria) this;
        }

        public Criteria andMonthgoodnessGreaterThan(Double value) {
            addCriterion("monthGoodness >", value, "monthgoodness");
            return (Criteria) this;
        }

        public Criteria andMonthgoodnessGreaterThanOrEqualTo(Double value) {
            addCriterion("monthGoodness >=", value, "monthgoodness");
            return (Criteria) this;
        }

        public Criteria andMonthgoodnessLessThan(Double value) {
            addCriterion("monthGoodness <", value, "monthgoodness");
            return (Criteria) this;
        }

        public Criteria andMonthgoodnessLessThanOrEqualTo(Double value) {
            addCriterion("monthGoodness <=", value, "monthgoodness");
            return (Criteria) this;
        }

        public Criteria andMonthgoodnessIn(List<Double> values) {
            addCriterion("monthGoodness in", values, "monthgoodness");
            return (Criteria) this;
        }

        public Criteria andMonthgoodnessNotIn(List<Double> values) {
            addCriterion("monthGoodness not in", values, "monthgoodness");
            return (Criteria) this;
        }

        public Criteria andMonthgoodnessBetween(Double value1, Double value2) {
            addCriterion("monthGoodness between", value1, value2, "monthgoodness");
            return (Criteria) this;
        }

        public Criteria andMonthgoodnessNotBetween(Double value1, Double value2) {
            addCriterion("monthGoodness not between", value1, value2, "monthgoodness");
            return (Criteria) this;
        }

        public Criteria andYeargoodnessIsNull() {
            addCriterion("yearGoodness is null");
            return (Criteria) this;
        }

        public Criteria andYeargoodnessIsNotNull() {
            addCriterion("yearGoodness is not null");
            return (Criteria) this;
        }

        public Criteria andYeargoodnessEqualTo(Double value) {
            addCriterion("yearGoodness =", value, "yeargoodness");
            return (Criteria) this;
        }

        public Criteria andYeargoodnessNotEqualTo(Double value) {
            addCriterion("yearGoodness <>", value, "yeargoodness");
            return (Criteria) this;
        }

        public Criteria andYeargoodnessGreaterThan(Double value) {
            addCriterion("yearGoodness >", value, "yeargoodness");
            return (Criteria) this;
        }

        public Criteria andYeargoodnessGreaterThanOrEqualTo(Double value) {
            addCriterion("yearGoodness >=", value, "yeargoodness");
            return (Criteria) this;
        }

        public Criteria andYeargoodnessLessThan(Double value) {
            addCriterion("yearGoodness <", value, "yeargoodness");
            return (Criteria) this;
        }

        public Criteria andYeargoodnessLessThanOrEqualTo(Double value) {
            addCriterion("yearGoodness <=", value, "yeargoodness");
            return (Criteria) this;
        }

        public Criteria andYeargoodnessIn(List<Double> values) {
            addCriterion("yearGoodness in", values, "yeargoodness");
            return (Criteria) this;
        }

        public Criteria andYeargoodnessNotIn(List<Double> values) {
            addCriterion("yearGoodness not in", values, "yeargoodness");
            return (Criteria) this;
        }

        public Criteria andYeargoodnessBetween(Double value1, Double value2) {
            addCriterion("yearGoodness between", value1, value2, "yeargoodness");
            return (Criteria) this;
        }

        public Criteria andYeargoodnessNotBetween(Double value1, Double value2) {
            addCriterion("yearGoodness not between", value1, value2, "yeargoodness");
            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) {
            addCriterionForJDBCDate("recordDate =", value, "recorddate");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

        public Criteria andDaytopIsNull() {
            addCriterion("dayTop is null");
            return (Criteria) this;
        }

        public Criteria andDaytopIsNotNull() {
            addCriterion("dayTop is not null");
            return (Criteria) this;
        }

        public Criteria andDaytopEqualTo(Integer value) {
            addCriterion("dayTop =", value, "daytop");
            return (Criteria) this;
        }

        public Criteria andDaytopNotEqualTo(Integer value) {
            addCriterion("dayTop <>", value, "daytop");
            return (Criteria) this;
        }

        public Criteria andDaytopGreaterThan(Integer value) {
            addCriterion("dayTop >", value, "daytop");
            return (Criteria) this;
        }

        public Criteria andDaytopGreaterThanOrEqualTo(Integer value) {
            addCriterion("dayTop >=", value, "daytop");
            return (Criteria) this;
        }

        public Criteria andDaytopLessThan(Integer value) {
            addCriterion("dayTop <", value, "daytop");
            return (Criteria) this;
        }

        public Criteria andDaytopLessThanOrEqualTo(Integer value) {
            addCriterion("dayTop <=", value, "daytop");
            return (Criteria) this;
        }

        public Criteria andDaytopIn(List<Integer> values) {
            addCriterion("dayTop in", values, "daytop");
            return (Criteria) this;
        }

        public Criteria andDaytopNotIn(List<Integer> values) {
            addCriterion("dayTop not in", values, "daytop");
            return (Criteria) this;
        }

        public Criteria andDaytopBetween(Integer value1, Integer value2) {
            addCriterion("dayTop between", value1, value2, "daytop");
            return (Criteria) this;
        }

        public Criteria andDaytopNotBetween(Integer value1, Integer value2) {
            addCriterion("dayTop not between", value1, value2, "daytop");
            return (Criteria) this;
        }

        public Criteria andMonthtopIsNull() {
            addCriterion("monthTop is null");
            return (Criteria) this;
        }

        public Criteria andMonthtopIsNotNull() {
            addCriterion("monthTop is not null");
            return (Criteria) this;
        }

        public Criteria andMonthtopEqualTo(Integer value) {
            addCriterion("monthTop =", value, "monthtop");
            return (Criteria) this;
        }

        public Criteria andMonthtopNotEqualTo(Integer value) {
            addCriterion("monthTop <>", value, "monthtop");
            return (Criteria) this;
        }

        public Criteria andMonthtopGreaterThan(Integer value) {
            addCriterion("monthTop >", value, "monthtop");
            return (Criteria) this;
        }

        public Criteria andMonthtopGreaterThanOrEqualTo(Integer value) {
            addCriterion("monthTop >=", value, "monthtop");
            return (Criteria) this;
        }

        public Criteria andMonthtopLessThan(Integer value) {
            addCriterion("monthTop <", value, "monthtop");
            return (Criteria) this;
        }

        public Criteria andMonthtopLessThanOrEqualTo(Integer value) {
            addCriterion("monthTop <=", value, "monthtop");
            return (Criteria) this;
        }

        public Criteria andMonthtopIn(List<Integer> values) {
            addCriterion("monthTop in", values, "monthtop");
            return (Criteria) this;
        }

        public Criteria andMonthtopNotIn(List<Integer> values) {
            addCriterion("monthTop not in", values, "monthtop");
            return (Criteria) this;
        }

        public Criteria andMonthtopBetween(Integer value1, Integer value2) {
            addCriterion("monthTop between", value1, value2, "monthtop");
            return (Criteria) this;
        }

        public Criteria andMonthtopNotBetween(Integer value1, Integer value2) {
            addCriterion("monthTop not between", value1, value2, "monthtop");
            return (Criteria) this;
        }

        public Criteria andYeartopIsNull() {
            addCriterion("yearTop is null");
            return (Criteria) this;
        }

        public Criteria andYeartopIsNotNull() {
            addCriterion("yearTop is not null");
            return (Criteria) this;
        }

        public Criteria andYeartopEqualTo(Integer value) {
            addCriterion("yearTop =", value, "yeartop");
            return (Criteria) this;
        }

        public Criteria andYeartopNotEqualTo(Integer value) {
            addCriterion("yearTop <>", value, "yeartop");
            return (Criteria) this;
        }

        public Criteria andYeartopGreaterThan(Integer value) {
            addCriterion("yearTop >", value, "yeartop");
            return (Criteria) this;
        }

        public Criteria andYeartopGreaterThanOrEqualTo(Integer value) {
            addCriterion("yearTop >=", value, "yeartop");
            return (Criteria) this;
        }

        public Criteria andYeartopLessThan(Integer value) {
            addCriterion("yearTop <", value, "yeartop");
            return (Criteria) this;
        }

        public Criteria andYeartopLessThanOrEqualTo(Integer value) {
            addCriterion("yearTop <=", value, "yeartop");
            return (Criteria) this;
        }

        public Criteria andYeartopIn(List<Integer> values) {
            addCriterion("yearTop in", values, "yeartop");
            return (Criteria) this;
        }

        public Criteria andYeartopNotIn(List<Integer> values) {
            addCriterion("yearTop not in", values, "yeartop");
            return (Criteria) this;
        }

        public Criteria andYeartopBetween(Integer value1, Integer value2) {
            addCriterion("yearTop between", value1, value2, "yeartop");
            return (Criteria) this;
        }

        public Criteria andYeartopNotBetween(Integer value1, Integer value2) {
            addCriterion("yearTop not between", value1, value2, "yeartop");
            return (Criteria) this;
        }

        public Criteria andWindtpowerstationidIsNull() {
            addCriterion("windtPowerStationId is null");
            return (Criteria) this;
        }

        public Criteria andWindtpowerstationidIsNotNull() {
            addCriterion("windtPowerStationId is not null");
            return (Criteria) this;
        }

        public Criteria andWindtpowerstationidEqualTo(String value) {
            addCriterion("windtPowerStationId =", value, "windtpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindtpowerstationidNotEqualTo(String value) {
            addCriterion("windtPowerStationId <>", value, "windtpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindtpowerstationidGreaterThan(String value) {
            addCriterion("windtPowerStationId >", value, "windtpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindtpowerstationidGreaterThanOrEqualTo(String value) {
            addCriterion("windtPowerStationId >=", value, "windtpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindtpowerstationidLessThan(String value) {
            addCriterion("windtPowerStationId <", value, "windtpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindtpowerstationidLessThanOrEqualTo(String value) {
            addCriterion("windtPowerStationId <=", value, "windtpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindtpowerstationidLike(String value) {
            addCriterion("windtPowerStationId like", value, "windtpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindtpowerstationidNotLike(String value) {
            addCriterion("windtPowerStationId not like", value, "windtpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindtpowerstationidIn(List<String> values) {
            addCriterion("windtPowerStationId in", values, "windtpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindtpowerstationidNotIn(List<String> values) {
            addCriterion("windtPowerStationId not in", values, "windtpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindtpowerstationidBetween(String value1, String value2) {
            addCriterion("windtPowerStationId between", value1, value2, "windtpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindtpowerstationidNotBetween(String value1, String value2) {
            addCriterion("windtPowerStationId not between", value1, value2, "windtpowerstationid");
            return (Criteria) this;
        }

        public Criteria andModelidIsNull() {
            addCriterion("modelId is null");
            return (Criteria) this;
        }

        public Criteria andModelidIsNotNull() {
            addCriterion("modelId is not null");
            return (Criteria) this;
        }

        public Criteria andModelidEqualTo(String value) {
            addCriterion("modelId =", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidNotEqualTo(String value) {
            addCriterion("modelId <>", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidGreaterThan(String value) {
            addCriterion("modelId >", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidGreaterThanOrEqualTo(String value) {
            addCriterion("modelId >=", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidLessThan(String value) {
            addCriterion("modelId <", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidLessThanOrEqualTo(String value) {
            addCriterion("modelId <=", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidLike(String value) {
            addCriterion("modelId like", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidNotLike(String value) {
            addCriterion("modelId not like", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidIn(List<String> values) {
            addCriterion("modelId in", values, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidNotIn(List<String> values) {
            addCriterion("modelId not in", values, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidBetween(String value1, String value2) {
            addCriterion("modelId between", value1, value2, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidNotBetween(String value1, String value2) {
            addCriterion("modelId not between", value1, value2, "modelid");
            return (Criteria) this;
        }

        public Criteria andDayspeedIsNull() {
            addCriterion("dayspeed is null");
            return (Criteria) this;
        }

        public Criteria andDayspeedIsNotNull() {
            addCriterion("dayspeed is not null");
            return (Criteria) this;
        }

        public Criteria andDayspeedEqualTo(Double value) {
            addCriterion("dayspeed =", value, "dayspeed");
            return (Criteria) this;
        }

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

        public Criteria andDayspeedGreaterThan(Double value) {
            addCriterion("dayspeed >", value, "dayspeed");
            return (Criteria) this;
        }

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

        public Criteria andDayspeedLessThan(Double value) {
            addCriterion("dayspeed <", value, "dayspeed");
            return (Criteria) this;
        }

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

        public Criteria andDayspeedIn(List<Double> values) {
            addCriterion("dayspeed in", values, "dayspeed");
            return (Criteria) this;
        }

        public Criteria andDayspeedNotIn(List<Double> values) {
            addCriterion("dayspeed not in", values, "dayspeed");
            return (Criteria) this;
        }

        public Criteria andDayspeedBetween(Double value1, Double value2) {
            addCriterion("dayspeed between", value1, value2, "dayspeed");
            return (Criteria) this;
        }

        public Criteria andDayspeedNotBetween(Double value1, Double value2) {
            addCriterion("dayspeed not between", value1, value2, "dayspeed");
            return (Criteria) this;
        }

        public Criteria andMonthspeedIsNull() {
            addCriterion("monthspeed is null");
            return (Criteria) this;
        }

        public Criteria andMonthspeedIsNotNull() {
            addCriterion("monthspeed is not null");
            return (Criteria) this;
        }

        public Criteria andMonthspeedEqualTo(Double value) {
            addCriterion("monthspeed =", value, "monthspeed");
            return (Criteria) this;
        }

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

        public Criteria andMonthspeedGreaterThan(Double value) {
            addCriterion("monthspeed >", value, "monthspeed");
            return (Criteria) this;
        }

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

        public Criteria andMonthspeedLessThan(Double value) {
            addCriterion("monthspeed <", value, "monthspeed");
            return (Criteria) this;
        }

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

        public Criteria andMonthspeedIn(List<Double> values) {
            addCriterion("monthspeed in", values, "monthspeed");
            return (Criteria) this;
        }

        public Criteria andMonthspeedNotIn(List<Double> values) {
            addCriterion("monthspeed not in", values, "monthspeed");
            return (Criteria) this;
        }

        public Criteria andMonthspeedBetween(Double value1, Double value2) {
            addCriterion("monthspeed between", value1, value2, "monthspeed");
            return (Criteria) this;
        }

        public Criteria andMonthspeedNotBetween(Double value1, Double value2) {
            addCriterion("monthspeed not between", value1, value2, "monthspeed");
            return (Criteria) this;
        }

        public Criteria andYearspeedIsNull() {
            addCriterion("yearspeed is null");
            return (Criteria) this;
        }

        public Criteria andYearspeedIsNotNull() {
            addCriterion("yearspeed is not null");
            return (Criteria) this;
        }

        public Criteria andYearspeedEqualTo(Double value) {
            addCriterion("yearspeed =", value, "yearspeed");
            return (Criteria) this;
        }

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

        public Criteria andYearspeedGreaterThan(Double value) {
            addCriterion("yearspeed >", value, "yearspeed");
            return (Criteria) this;
        }

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

        public Criteria andYearspeedLessThan(Double value) {
            addCriterion("yearspeed <", value, "yearspeed");
            return (Criteria) this;
        }

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

        public Criteria andYearspeedIn(List<Double> values) {
            addCriterion("yearspeed in", values, "yearspeed");
            return (Criteria) this;
        }

        public Criteria andYearspeedNotIn(List<Double> values) {
            addCriterion("yearspeed not in", values, "yearspeed");
            return (Criteria) this;
        }

        public Criteria andYearspeedBetween(Double value1, Double value2) {
            addCriterion("yearspeed between", value1, value2, "yearspeed");
            return (Criteria) this;
        }

        public Criteria andYearspeedNotBetween(Double value1, Double value2) {
            addCriterion("yearspeed not between", value1, value2, "yearspeed");
            return (Criteria) this;
        }
    }

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