package com.gyee.frame.model.auto;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andStophoursNotBetween(Double value1, Double value2) {
            addCriterion("stopHours not between", value1, value2, "stophours");
            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(Double value) {
            addCriterion("lossPower =", value, "losspower");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

        public Criteria andLosspowerNotBetween(Double value1, Double value2) {
            addCriterion("lossPower not between", value1, value2, "losspower");
            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 andIshandleIsNull() {
            addCriterion("isHandle is null");
            return (Criteria) this;
        }

        public Criteria andIshandleIsNotNull() {
            addCriterion("isHandle is not null");
            return (Criteria) this;
        }

        public Criteria andIshandleEqualTo(Short value) {
            addCriterion("isHandle =", value, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleNotEqualTo(Short value) {
            addCriterion("isHandle <>", value, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleGreaterThan(Short value) {
            addCriterion("isHandle >", value, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleGreaterThanOrEqualTo(Short value) {
            addCriterion("isHandle >=", value, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleLessThan(Short value) {
            addCriterion("isHandle <", value, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleLessThanOrEqualTo(Short value) {
            addCriterion("isHandle <=", value, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleIn(List<Short> values) {
            addCriterion("isHandle in", values, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleNotIn(List<Short> values) {
            addCriterion("isHandle not in", values, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleBetween(Short value1, Short value2) {
            addCriterion("isHandle between", value1, value2, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleNotBetween(Short value1, Short value2) {
            addCriterion("isHandle not between", value1, value2, "ishandle");
            return (Criteria) this;
        }

        public Criteria andShutdowneventidIsNull() {
            addCriterion("shutdownEventId is null");
            return (Criteria) this;
        }

        public Criteria andShutdowneventidIsNotNull() {
            addCriterion("shutdownEventId is not null");
            return (Criteria) this;
        }

        public Criteria andShutdowneventidEqualTo(String value) {
            addCriterion("shutdownEventId =", value, "shutdowneventid");
            return (Criteria) this;
        }

        public Criteria andShutdowneventidNotEqualTo(String value) {
            addCriterion("shutdownEventId <>", value, "shutdowneventid");
            return (Criteria) this;
        }

        public Criteria andShutdowneventidGreaterThan(String value) {
            addCriterion("shutdownEventId >", value, "shutdowneventid");
            return (Criteria) this;
        }

        public Criteria andShutdowneventidGreaterThanOrEqualTo(String value) {
            addCriterion("shutdownEventId >=", value, "shutdowneventid");
            return (Criteria) this;
        }

        public Criteria andShutdowneventidLessThan(String value) {
            addCriterion("shutdownEventId <", value, "shutdowneventid");
            return (Criteria) this;
        }

        public Criteria andShutdowneventidLessThanOrEqualTo(String value) {
            addCriterion("shutdownEventId <=", value, "shutdowneventid");
            return (Criteria) this;
        }

        public Criteria andShutdowneventidLike(String value) {
            addCriterion("shutdownEventId like", value, "shutdowneventid");
            return (Criteria) this;
        }

        public Criteria andShutdowneventidNotLike(String value) {
            addCriterion("shutdownEventId not like", value, "shutdowneventid");
            return (Criteria) this;
        }

        public Criteria andShutdowneventidIn(List<String> values) {
            addCriterion("shutdownEventId in", values, "shutdowneventid");
            return (Criteria) this;
        }

        public Criteria andShutdowneventidNotIn(List<String> values) {
            addCriterion("shutdownEventId not in", values, "shutdowneventid");
            return (Criteria) this;
        }

        public Criteria andShutdowneventidBetween(String value1, String value2) {
            addCriterion("shutdownEventId between", value1, value2, "shutdowneventid");
            return (Criteria) this;
        }

        public Criteria andShutdowneventidNotBetween(String value1, String value2) {
            addCriterion("shutdownEventId not between", value1, value2, "shutdowneventid");
            return (Criteria) this;
        }

        public Criteria andProjectidIsNull() {
            addCriterion("projectId is null");
            return (Criteria) this;
        }

        public Criteria andProjectidIsNotNull() {
            addCriterion("projectId is not null");
            return (Criteria) this;
        }

        public Criteria andProjectidEqualTo(String value) {
            addCriterion("projectId =", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidNotEqualTo(String value) {
            addCriterion("projectId <>", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidGreaterThan(String value) {
            addCriterion("projectId >", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidGreaterThanOrEqualTo(String value) {
            addCriterion("projectId >=", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidLessThan(String value) {
            addCriterion("projectId <", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidLessThanOrEqualTo(String value) {
            addCriterion("projectId <=", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidLike(String value) {
            addCriterion("projectId like", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidNotLike(String value) {
            addCriterion("projectId not like", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidIn(List<String> values) {
            addCriterion("projectId in", values, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidNotIn(List<String> values) {
            addCriterion("projectId not in", values, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidBetween(String value1, String value2) {
            addCriterion("projectId between", value1, value2, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidNotBetween(String value1, String value2) {
            addCriterion("projectId not between", value1, value2, "projectid");
            return (Criteria) this;
        }

        public Criteria andMainidIsNull() {
            addCriterion("mainId is null");
            return (Criteria) this;
        }

        public Criteria andMainidIsNotNull() {
            addCriterion("mainId is not null");
            return (Criteria) this;
        }

        public Criteria andMainidEqualTo(String value) {
            addCriterion("mainId =", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidNotEqualTo(String value) {
            addCriterion("mainId <>", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidGreaterThan(String value) {
            addCriterion("mainId >", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidGreaterThanOrEqualTo(String value) {
            addCriterion("mainId >=", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidLessThan(String value) {
            addCriterion("mainId <", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidLessThanOrEqualTo(String value) {
            addCriterion("mainId <=", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidLike(String value) {
            addCriterion("mainId like", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidNotLike(String value) {
            addCriterion("mainId not like", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidIn(List<String> values) {
            addCriterion("mainId in", values, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidNotIn(List<String> values) {
            addCriterion("mainId not in", values, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidBetween(String value1, String value2) {
            addCriterion("mainId between", value1, value2, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidNotBetween(String value1, String value2) {
            addCriterion("mainId not between", value1, value2, "mainid");
            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(Double value) {
            addCriterion("limitload =", value, "limitload");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

        public Criteria andLimitloadNotBetween(Double value1, Double 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(Double value) {
            addCriterion("windspeed =", value, "windspeed");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

        public Criteria andWindspeedNotBetween(Double value1, Double 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(Double value) {
            addCriterion("thisload =", value, "thisload");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

        public Criteria andStopreasonIsNull() {
            addCriterion("stopReason is null");
            return (Criteria) this;
        }

        public Criteria andStopreasonIsNotNull() {
            addCriterion("stopReason is not null");
            return (Criteria) this;
        }

        public Criteria andStopreasonEqualTo(String value) {
            addCriterion("stopReason =", value, "stopreason");
            return (Criteria) this;
        }

        public Criteria andStopreasonNotEqualTo(String value) {
            addCriterion("stopReason <>", value, "stopreason");
            return (Criteria) this;
        }

        public Criteria andStopreasonGreaterThan(String value) {
            addCriterion("stopReason >", value, "stopreason");
            return (Criteria) this;
        }

        public Criteria andStopreasonGreaterThanOrEqualTo(String value) {
            addCriterion("stopReason >=", value, "stopreason");
            return (Criteria) this;
        }

        public Criteria andStopreasonLessThan(String value) {
            addCriterion("stopReason <", value, "stopreason");
            return (Criteria) this;
        }

        public Criteria andStopreasonLessThanOrEqualTo(String value) {
            addCriterion("stopReason <=", value, "stopreason");
            return (Criteria) this;
        }

        public Criteria andStopreasonLike(String value) {
            addCriterion("stopReason like", value, "stopreason");
            return (Criteria) this;
        }

        public Criteria andStopreasonNotLike(String value) {
            addCriterion("stopReason not like", value, "stopreason");
            return (Criteria) this;
        }

        public Criteria andStopreasonIn(List<String> values) {
            addCriterion("stopReason in", values, "stopreason");
            return (Criteria) this;
        }

        public Criteria andStopreasonNotIn(List<String> values) {
            addCriterion("stopReason not in", values, "stopreason");
            return (Criteria) this;
        }

        public Criteria andStopreasonBetween(String value1, String value2) {
            addCriterion("stopReason between", value1, value2, "stopreason");
            return (Criteria) this;
        }

        public Criteria andStopreasonNotBetween(String value1, String value2) {
            addCriterion("stopReason not between", value1, value2, "stopreason");
            return (Criteria) this;
        }

        public Criteria andLineidIsNull() {
            addCriterion("lineId is null");
            return (Criteria) this;
        }

        public Criteria andLineidIsNotNull() {
            addCriterion("lineId is not null");
            return (Criteria) this;
        }

        public Criteria andLineidEqualTo(String value) {
            addCriterion("lineId =", value, "lineid");
            return (Criteria) this;
        }

        public Criteria andLineidNotEqualTo(String value) {
            addCriterion("lineId <>", value, "lineid");
            return (Criteria) this;
        }

        public Criteria andLineidGreaterThan(String value) {
            addCriterion("lineId >", value, "lineid");
            return (Criteria) this;
        }

        public Criteria andLineidGreaterThanOrEqualTo(String value) {
            addCriterion("lineId >=", value, "lineid");
            return (Criteria) this;
        }

        public Criteria andLineidLessThan(String value) {
            addCriterion("lineId <", value, "lineid");
            return (Criteria) this;
        }

        public Criteria andLineidLessThanOrEqualTo(String value) {
            addCriterion("lineId <=", value, "lineid");
            return (Criteria) this;
        }

        public Criteria andLineidLike(String value) {
            addCriterion("lineId like", value, "lineid");
            return (Criteria) this;
        }

        public Criteria andLineidNotLike(String value) {
            addCriterion("lineId not like", value, "lineid");
            return (Criteria) this;
        }

        public Criteria andLineidIn(List<String> values) {
            addCriterion("lineId in", values, "lineid");
            return (Criteria) this;
        }

        public Criteria andLineidNotIn(List<String> values) {
            addCriterion("lineId not in", values, "lineid");
            return (Criteria) this;
        }

        public Criteria andLineidBetween(String value1, String value2) {
            addCriterion("lineId between", value1, value2, "lineid");
            return (Criteria) this;
        }

        public Criteria andLineidNotBetween(String value1, String value2) {
            addCriterion("lineId not between", value1, value2, "lineid");
            return (Criteria) this;
        }
    }

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