package com.gyee.frame.model.auto;

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andStoptimeIsNotNull() {
            addCriterion("STOPTIME is not null");
            return (Criteria) this;
        }

        public Criteria andStoptimeEqualTo(Date value) {
            addCriterion("STOPTIME =", value, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeNotEqualTo(Date value) {
            addCriterion("STOPTIME <>", value, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeGreaterThan(Date value) {
            addCriterion("STOPTIME >", value, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeGreaterThanOrEqualTo(Date value) {
            addCriterion("STOPTIME >=", value, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeLessThan(Date value) {
            addCriterion("STOPTIME <", value, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeLessThanOrEqualTo(Date value) {
            addCriterion("STOPTIME <=", value, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeIn(List<Date> values) {
            addCriterion("STOPTIME in", values, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeNotIn(List<Date> values) {
            addCriterion("STOPTIME not in", values, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeBetween(Date value1, Date value2) {
            addCriterion("STOPTIME between", value1, value2, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeNotBetween(Date value1, Date value2) {
            addCriterion("STOPTIME not between", value1, value2, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStarttimeIsNull() {
            addCriterion("STARTTIME is null");
            return (Criteria) this;
        }

        public Criteria andStarttimeIsNotNull() {
            addCriterion("STARTTIME is not null");
            return (Criteria) this;
        }

        public Criteria andStarttimeEqualTo(Date value) {
            addCriterion("STARTTIME =", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotEqualTo(Date value) {
            addCriterion("STARTTIME <>", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeGreaterThan(Date value) {
            addCriterion("STARTTIME >", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("STARTTIME >=", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeLessThan(Date value) {
            addCriterion("STARTTIME <", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeLessThanOrEqualTo(Date value) {
            addCriterion("STARTTIME <=", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeIn(List<Date> values) {
            addCriterion("STARTTIME in", values, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotIn(List<Date> values) {
            addCriterion("STARTTIME not in", values, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeBetween(Date value1, Date value2) {
            addCriterion("STARTTIME between", value1, value2, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotBetween(Date value1, Date value2) {
            addCriterion("STARTTIME not between", value1, value2, "starttime");
            return (Criteria) this;
        }

        public Criteria andStoptypeidIsNull() {
            addCriterion("STOPTYPEID is null");
            return (Criteria) this;
        }

        public Criteria andStoptypeidIsNotNull() {
            addCriterion("STOPTYPEID is not null");
            return (Criteria) this;
        }

        public Criteria andStoptypeidEqualTo(String value) {
            addCriterion("STOPTYPEID =", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidNotEqualTo(String value) {
            addCriterion("STOPTYPEID <>", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidGreaterThan(String value) {
            addCriterion("STOPTYPEID >", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidGreaterThanOrEqualTo(String value) {
            addCriterion("STOPTYPEID >=", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidLessThan(String value) {
            addCriterion("STOPTYPEID <", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidLessThanOrEqualTo(String value) {
            addCriterion("STOPTYPEID <=", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidLike(String value) {
            addCriterion("STOPTYPEID like", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidNotLike(String value) {
            addCriterion("STOPTYPEID not like", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidIn(List<String> values) {
            addCriterion("STOPTYPEID in", values, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidNotIn(List<String> values) {
            addCriterion("STOPTYPEID not in", values, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidBetween(String value1, String value2) {
            addCriterion("STOPTYPEID between", value1, value2, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidNotBetween(String value1, String value2) {
            addCriterion("STOPTYPEID not between", value1, value2, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("DESCRIPTION is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("DESCRIPTION is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("DESCRIPTION =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("DESCRIPTION <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("DESCRIPTION >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("DESCRIPTION >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("DESCRIPTION <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("DESCRIPTION <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("DESCRIPTION like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("DESCRIPTION not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("DESCRIPTION in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("DESCRIPTION not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("DESCRIPTION between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("DESCRIPTION not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andLimitloadIsNull() {
            addCriterion("LIMITLOAD is null");
            return (Criteria) this;
        }

        public Criteria andLimitloadIsNotNull() {
            addCriterion("LIMITLOAD is not null");
            return (Criteria) this;
        }

        public Criteria andLimitloadEqualTo(BigDecimal value) {
            addCriterion("LIMITLOAD =", value, "limitload");
            return (Criteria) this;
        }

        public Criteria andLimitloadNotEqualTo(BigDecimal value) {
            addCriterion("LIMITLOAD <>", value, "limitload");
            return (Criteria) this;
        }

        public Criteria andLimitloadGreaterThan(BigDecimal value) {
            addCriterion("LIMITLOAD >", value, "limitload");
            return (Criteria) this;
        }

        public Criteria andLimitloadGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("LIMITLOAD >=", value, "limitload");
            return (Criteria) this;
        }

        public Criteria andLimitloadLessThan(BigDecimal value) {
            addCriterion("LIMITLOAD <", value, "limitload");
            return (Criteria) this;
        }

        public Criteria andLimitloadLessThanOrEqualTo(BigDecimal value) {
            addCriterion("LIMITLOAD <=", value, "limitload");
            return (Criteria) this;
        }

        public Criteria andLimitloadIn(List<BigDecimal> values) {
            addCriterion("LIMITLOAD in", values, "limitload");
            return (Criteria) this;
        }

        public Criteria andLimitloadNotIn(List<BigDecimal> values) {
            addCriterion("LIMITLOAD not in", values, "limitload");
            return (Criteria) this;
        }

        public Criteria andLimitloadBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LIMITLOAD between", value1, value2, "limitload");
            return (Criteria) this;
        }

        public Criteria andLimitloadNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LIMITLOAD not between", value1, value2, "limitload");
            return (Criteria) this;
        }

        public Criteria andBrownoutsdirectiveIsNull() {
            addCriterion("BROWNOUTSDIRECTIVE is null");
            return (Criteria) this;
        }

        public Criteria andBrownoutsdirectiveIsNotNull() {
            addCriterion("BROWNOUTSDIRECTIVE is not null");
            return (Criteria) this;
        }

        public Criteria andBrownoutsdirectiveEqualTo(String value) {
            addCriterion("BROWNOUTSDIRECTIVE =", value, "brownoutsdirective");
            return (Criteria) this;
        }

        public Criteria andBrownoutsdirectiveNotEqualTo(String value) {
            addCriterion("BROWNOUTSDIRECTIVE <>", value, "brownoutsdirective");
            return (Criteria) this;
        }

        public Criteria andBrownoutsdirectiveGreaterThan(String value) {
            addCriterion("BROWNOUTSDIRECTIVE >", value, "brownoutsdirective");
            return (Criteria) this;
        }

        public Criteria andBrownoutsdirectiveGreaterThanOrEqualTo(String value) {
            addCriterion("BROWNOUTSDIRECTIVE >=", value, "brownoutsdirective");
            return (Criteria) this;
        }

        public Criteria andBrownoutsdirectiveLessThan(String value) {
            addCriterion("BROWNOUTSDIRECTIVE <", value, "brownoutsdirective");
            return (Criteria) this;
        }

        public Criteria andBrownoutsdirectiveLessThanOrEqualTo(String value) {
            addCriterion("BROWNOUTSDIRECTIVE <=", value, "brownoutsdirective");
            return (Criteria) this;
        }

        public Criteria andBrownoutsdirectiveLike(String value) {
            addCriterion("BROWNOUTSDIRECTIVE like", value, "brownoutsdirective");
            return (Criteria) this;
        }

        public Criteria andBrownoutsdirectiveNotLike(String value) {
            addCriterion("BROWNOUTSDIRECTIVE not like", value, "brownoutsdirective");
            return (Criteria) this;
        }

        public Criteria andBrownoutsdirectiveIn(List<String> values) {
            addCriterion("BROWNOUTSDIRECTIVE in", values, "brownoutsdirective");
            return (Criteria) this;
        }

        public Criteria andBrownoutsdirectiveNotIn(List<String> values) {
            addCriterion("BROWNOUTSDIRECTIVE not in", values, "brownoutsdirective");
            return (Criteria) this;
        }

        public Criteria andBrownoutsdirectiveBetween(String value1, String value2) {
            addCriterion("BROWNOUTSDIRECTIVE between", value1, value2, "brownoutsdirective");
            return (Criteria) this;
        }

        public Criteria andBrownoutsdirectiveNotBetween(String value1, String value2) {
            addCriterion("BROWNOUTSDIRECTIVE not between", value1, value2, "brownoutsdirective");
            return (Criteria) this;
        }

        public Criteria andWindspeedIsNull() {
            addCriterion("WINDSPEED is null");
            return (Criteria) this;
        }

        public Criteria andWindspeedIsNotNull() {
            addCriterion("WINDSPEED is not null");
            return (Criteria) this;
        }

        public Criteria andWindspeedEqualTo(BigDecimal value) {
            addCriterion("WINDSPEED =", value, "windspeed");
            return (Criteria) this;
        }

        public Criteria andWindspeedNotEqualTo(BigDecimal value) {
            addCriterion("WINDSPEED <>", value, "windspeed");
            return (Criteria) this;
        }

        public Criteria andWindspeedGreaterThan(BigDecimal value) {
            addCriterion("WINDSPEED >", value, "windspeed");
            return (Criteria) this;
        }

        public Criteria andWindspeedGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("WINDSPEED >=", value, "windspeed");
            return (Criteria) this;
        }

        public Criteria andWindspeedLessThan(BigDecimal value) {
            addCriterion("WINDSPEED <", value, "windspeed");
            return (Criteria) this;
        }

        public Criteria andWindspeedLessThanOrEqualTo(BigDecimal value) {
            addCriterion("WINDSPEED <=", value, "windspeed");
            return (Criteria) this;
        }

        public Criteria andWindspeedIn(List<BigDecimal> values) {
            addCriterion("WINDSPEED in", values, "windspeed");
            return (Criteria) this;
        }

        public Criteria andWindspeedNotIn(List<BigDecimal> values) {
            addCriterion("WINDSPEED not in", values, "windspeed");
            return (Criteria) this;
        }

        public Criteria andWindspeedBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("WINDSPEED between", value1, value2, "windspeed");
            return (Criteria) this;
        }

        public Criteria andWindspeedNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("WINDSPEED not between", value1, value2, "windspeed");
            return (Criteria) this;
        }

        public Criteria andThisloadIsNull() {
            addCriterion("THISLOAD is null");
            return (Criteria) this;
        }

        public Criteria andThisloadIsNotNull() {
            addCriterion("THISLOAD is not null");
            return (Criteria) this;
        }

        public Criteria andThisloadEqualTo(BigDecimal value) {
            addCriterion("THISLOAD =", value, "thisload");
            return (Criteria) this;
        }

        public Criteria andThisloadNotEqualTo(BigDecimal value) {
            addCriterion("THISLOAD <>", value, "thisload");
            return (Criteria) this;
        }

        public Criteria andThisloadGreaterThan(BigDecimal value) {
            addCriterion("THISLOAD >", value, "thisload");
            return (Criteria) this;
        }

        public Criteria andThisloadGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("THISLOAD >=", value, "thisload");
            return (Criteria) this;
        }

        public Criteria andThisloadLessThan(BigDecimal value) {
            addCriterion("THISLOAD <", value, "thisload");
            return (Criteria) this;
        }

        public Criteria andThisloadLessThanOrEqualTo(BigDecimal value) {
            addCriterion("THISLOAD <=", value, "thisload");
            return (Criteria) this;
        }

        public Criteria andThisloadIn(List<BigDecimal> values) {
            addCriterion("THISLOAD in", values, "thisload");
            return (Criteria) this;
        }

        public Criteria andThisloadNotIn(List<BigDecimal> values) {
            addCriterion("THISLOAD not in", values, "thisload");
            return (Criteria) this;
        }

        public Criteria andThisloadBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("THISLOAD between", value1, value2, "thisload");
            return (Criteria) this;
        }

        public Criteria andThisloadNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("THISLOAD not between", value1, value2, "thisload");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidIsNull() {
            addCriterion("WINDPOWERSTATIONID is null");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidIsNotNull() {
            addCriterion("WINDPOWERSTATIONID is not null");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidEqualTo(String value) {
            addCriterion("WINDPOWERSTATIONID =", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidNotEqualTo(String value) {
            addCriterion("WINDPOWERSTATIONID <>", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidGreaterThan(String value) {
            addCriterion("WINDPOWERSTATIONID >", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidGreaterThanOrEqualTo(String value) {
            addCriterion("WINDPOWERSTATIONID >=", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidLessThan(String value) {
            addCriterion("WINDPOWERSTATIONID <", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidLessThanOrEqualTo(String value) {
            addCriterion("WINDPOWERSTATIONID <=", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidLike(String value) {
            addCriterion("WINDPOWERSTATIONID like", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidNotLike(String value) {
            addCriterion("WINDPOWERSTATIONID not like", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidIn(List<String> values) {
            addCriterion("WINDPOWERSTATIONID in", values, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidNotIn(List<String> values) {
            addCriterion("WINDPOWERSTATIONID not in", values, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidBetween(String value1, String value2) {
            addCriterion("WINDPOWERSTATIONID between", value1, value2, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidNotBetween(String value1, String value2) {
            addCriterion("WINDPOWERSTATIONID not between", value1, value2, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWpnameIsNull() {
            addCriterion("WPNAME is null");
            return (Criteria) this;
        }

        public Criteria andWpnameIsNotNull() {
            addCriterion("WPNAME is not null");
            return (Criteria) this;
        }

        public Criteria andWpnameEqualTo(String value) {
            addCriterion("WPNAME =", value, "wpname");
            return (Criteria) this;
        }

        public Criteria andWpnameNotEqualTo(String value) {
            addCriterion("WPNAME <>", value, "wpname");
            return (Criteria) this;
        }

        public Criteria andWpnameGreaterThan(String value) {
            addCriterion("WPNAME >", value, "wpname");
            return (Criteria) this;
        }

        public Criteria andWpnameGreaterThanOrEqualTo(String value) {
            addCriterion("WPNAME >=", value, "wpname");
            return (Criteria) this;
        }

        public Criteria andWpnameLessThan(String value) {
            addCriterion("WPNAME <", value, "wpname");
            return (Criteria) this;
        }

        public Criteria andWpnameLessThanOrEqualTo(String value) {
            addCriterion("WPNAME <=", value, "wpname");
            return (Criteria) this;
        }

        public Criteria andWpnameLike(String value) {
            addCriterion("WPNAME like", value, "wpname");
            return (Criteria) this;
        }

        public Criteria andWpnameNotLike(String value) {
            addCriterion("WPNAME not like", value, "wpname");
            return (Criteria) this;
        }

        public Criteria andWpnameIn(List<String> values) {
            addCriterion("WPNAME in", values, "wpname");
            return (Criteria) this;
        }

        public Criteria andWpnameNotIn(List<String> values) {
            addCriterion("WPNAME not in", values, "wpname");
            return (Criteria) this;
        }

        public Criteria andWpnameBetween(String value1, String value2) {
            addCriterion("WPNAME between", value1, value2, "wpname");
            return (Criteria) this;
        }

        public Criteria andWpnameNotBetween(String value1, String value2) {
            addCriterion("WPNAME not between", value1, value2, "wpname");
            return (Criteria) this;
        }

        public Criteria andLosspowerIsNull() {
            addCriterion("LOSSPOWER is null");
            return (Criteria) this;
        }

        public Criteria andLosspowerIsNotNull() {
            addCriterion("LOSSPOWER is not null");
            return (Criteria) this;
        }

        public Criteria andLosspowerEqualTo(BigDecimal value) {
            addCriterion("LOSSPOWER =", value, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerNotEqualTo(BigDecimal value) {
            addCriterion("LOSSPOWER <>", value, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerGreaterThan(BigDecimal value) {
            addCriterion("LOSSPOWER >", value, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("LOSSPOWER >=", value, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerLessThan(BigDecimal value) {
            addCriterion("LOSSPOWER <", value, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerLessThanOrEqualTo(BigDecimal value) {
            addCriterion("LOSSPOWER <=", value, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerIn(List<BigDecimal> values) {
            addCriterion("LOSSPOWER in", values, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerNotIn(List<BigDecimal> values) {
            addCriterion("LOSSPOWER not in", values, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LOSSPOWER between", value1, value2, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LOSSPOWER not between", value1, value2, "losspower");
            return (Criteria) this;
        }

        public Criteria andStophoursIsNull() {
            addCriterion("STOPHOURS is null");
            return (Criteria) this;
        }

        public Criteria andStophoursIsNotNull() {
            addCriterion("STOPHOURS is not null");
            return (Criteria) this;
        }

        public Criteria andStophoursEqualTo(BigDecimal value) {
            addCriterion("STOPHOURS =", value, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursNotEqualTo(BigDecimal value) {
            addCriterion("STOPHOURS <>", value, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursGreaterThan(BigDecimal value) {
            addCriterion("STOPHOURS >", value, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("STOPHOURS >=", value, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursLessThan(BigDecimal value) {
            addCriterion("STOPHOURS <", value, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursLessThanOrEqualTo(BigDecimal value) {
            addCriterion("STOPHOURS <=", value, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursIn(List<BigDecimal> values) {
            addCriterion("STOPHOURS in", values, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursNotIn(List<BigDecimal> values) {
            addCriterion("STOPHOURS not in", values, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("STOPHOURS between", value1, value2, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("STOPHOURS not between", value1, value2, "stophours");
            return (Criteria) this;
        }
    }

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