package com.gyee.frame.model.auto;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table STANDBYTIME
     *
     * @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 STANDBYTIME
     *
     * @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 STANDBYTIME
     *
     * @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 STANDBYTIME
     *
     * @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 STANDBYTIME
     *
     * @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(Short value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Short value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Short value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Short value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Short value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Short value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Short> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Short> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Short value1, Short value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Short value1, Short value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCountdayIsNull() {
            addCriterion("COUNTDAY is null");
            return (Criteria) this;
        }

        public Criteria andCountdayIsNotNull() {
            addCriterion("COUNTDAY is not null");
            return (Criteria) this;
        }

        public Criteria andCountdayEqualTo(Date value) {
            addCriterion("COUNTDAY =", value, "countday");
            return (Criteria) this;
        }

        public Criteria andCountdayNotEqualTo(Date value) {
            addCriterion("COUNTDAY <>", value, "countday");
            return (Criteria) this;
        }

        public Criteria andCountdayGreaterThan(Date value) {
            addCriterion("COUNTDAY >", value, "countday");
            return (Criteria) this;
        }

        public Criteria andCountdayGreaterThanOrEqualTo(Date value) {
            addCriterion("COUNTDAY >=", value, "countday");
            return (Criteria) this;
        }

        public Criteria andCountdayLessThan(Date value) {
            addCriterion("COUNTDAY <", value, "countday");
            return (Criteria) this;
        }

        public Criteria andCountdayLessThanOrEqualTo(Date value) {
            addCriterion("COUNTDAY <=", value, "countday");
            return (Criteria) this;
        }

        public Criteria andCountdayIn(List<Date> values) {
            addCriterion("COUNTDAY in", values, "countday");
            return (Criteria) this;
        }

        public Criteria andCountdayNotIn(List<Date> values) {
            addCriterion("COUNTDAY not in", values, "countday");
            return (Criteria) this;
        }

        public Criteria andCountdayBetween(Date value1, Date value2) {
            addCriterion("COUNTDAY between", value1, value2, "countday");
            return (Criteria) this;
        }

        public Criteria andCountdayNotBetween(Date value1, Date value2) {
            addCriterion("COUNTDAY not between", value1, value2, "countday");
            return (Criteria) this;
        }

        public Criteria andStandbyhoursIsNull() {
            addCriterion("STANDBYHOURS is null");
            return (Criteria) this;
        }

        public Criteria andStandbyhoursIsNotNull() {
            addCriterion("STANDBYHOURS is not null");
            return (Criteria) this;
        }

        public Criteria andStandbyhoursEqualTo(Long value) {
            addCriterion("STANDBYHOURS =", value, "standbyhours");
            return (Criteria) this;
        }

        public Criteria andStandbyhoursNotEqualTo(Long value) {
            addCriterion("STANDBYHOURS <>", value, "standbyhours");
            return (Criteria) this;
        }

        public Criteria andStandbyhoursGreaterThan(Long value) {
            addCriterion("STANDBYHOURS >", value, "standbyhours");
            return (Criteria) this;
        }

        public Criteria andStandbyhoursGreaterThanOrEqualTo(Long value) {
            addCriterion("STANDBYHOURS >=", value, "standbyhours");
            return (Criteria) this;
        }

        public Criteria andStandbyhoursLessThan(Long value) {
            addCriterion("STANDBYHOURS <", value, "standbyhours");
            return (Criteria) this;
        }

        public Criteria andStandbyhoursLessThanOrEqualTo(Long value) {
            addCriterion("STANDBYHOURS <=", value, "standbyhours");
            return (Criteria) this;
        }

        public Criteria andStandbyhoursIn(List<Long> values) {
            addCriterion("STANDBYHOURS in", values, "standbyhours");
            return (Criteria) this;
        }

        public Criteria andStandbyhoursNotIn(List<Long> values) {
            addCriterion("STANDBYHOURS not in", values, "standbyhours");
            return (Criteria) this;
        }

        public Criteria andStandbyhoursBetween(Long value1, Long value2) {
            addCriterion("STANDBYHOURS between", value1, value2, "standbyhours");
            return (Criteria) this;
        }

        public Criteria andStandbyhoursNotBetween(Long value1, Long value2) {
            addCriterion("STANDBYHOURS not between", value1, value2, "standbyhours");
            return (Criteria) this;
        }

        public Criteria andStationidIsNull() {
            addCriterion("STATIONID is null");
            return (Criteria) this;
        }

        public Criteria andStationidIsNotNull() {
            addCriterion("STATIONID is not null");
            return (Criteria) this;
        }

        public Criteria andStationidEqualTo(String value) {
            addCriterion("STATIONID =", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidNotEqualTo(String value) {
            addCriterion("STATIONID <>", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidGreaterThan(String value) {
            addCriterion("STATIONID >", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidGreaterThanOrEqualTo(String value) {
            addCriterion("STATIONID >=", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidLessThan(String value) {
            addCriterion("STATIONID <", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidLessThanOrEqualTo(String value) {
            addCriterion("STATIONID <=", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidLike(String value) {
            addCriterion("STATIONID like", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidNotLike(String value) {
            addCriterion("STATIONID not like", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidIn(List<String> values) {
            addCriterion("STATIONID in", values, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidNotIn(List<String> values) {
            addCriterion("STATIONID not in", values, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidBetween(String value1, String value2) {
            addCriterion("STATIONID between", value1, value2, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidNotBetween(String value1, String value2) {
            addCriterion("STATIONID not between", value1, value2, "stationid");
            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 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 andStatetypeIsNull() {
            addCriterion("STATETYPE is null");
            return (Criteria) this;
        }

        public Criteria andStatetypeIsNotNull() {
            addCriterion("STATETYPE is not null");
            return (Criteria) this;
        }

        public Criteria andStatetypeEqualTo(String value) {
            addCriterion("STATETYPE =", value, "statetype");
            return (Criteria) this;
        }

        public Criteria andStatetypeNotEqualTo(String value) {
            addCriterion("STATETYPE <>", value, "statetype");
            return (Criteria) this;
        }

        public Criteria andStatetypeGreaterThan(String value) {
            addCriterion("STATETYPE >", value, "statetype");
            return (Criteria) this;
        }

        public Criteria andStatetypeGreaterThanOrEqualTo(String value) {
            addCriterion("STATETYPE >=", value, "statetype");
            return (Criteria) this;
        }

        public Criteria andStatetypeLessThan(String value) {
            addCriterion("STATETYPE <", value, "statetype");
            return (Criteria) this;
        }

        public Criteria andStatetypeLessThanOrEqualTo(String value) {
            addCriterion("STATETYPE <=", value, "statetype");
            return (Criteria) this;
        }

        public Criteria andStatetypeLike(String value) {
            addCriterion("STATETYPE like", value, "statetype");
            return (Criteria) this;
        }

        public Criteria andStatetypeNotLike(String value) {
            addCriterion("STATETYPE not like", value, "statetype");
            return (Criteria) this;
        }

        public Criteria andStatetypeIn(List<String> values) {
            addCriterion("STATETYPE in", values, "statetype");
            return (Criteria) this;
        }

        public Criteria andStatetypeNotIn(List<String> values) {
            addCriterion("STATETYPE not in", values, "statetype");
            return (Criteria) this;
        }

        public Criteria andStatetypeBetween(String value1, String value2) {
            addCriterion("STATETYPE between", value1, value2, "statetype");
            return (Criteria) this;
        }

        public Criteria andStatetypeNotBetween(String value1, String value2) {
            addCriterion("STATETYPE not between", value1, value2, "statetype");
            return (Criteria) this;
        }

        public Criteria andMessageIsNull() {
            addCriterion("MESSAGE is null");
            return (Criteria) this;
        }

        public Criteria andMessageIsNotNull() {
            addCriterion("MESSAGE is not null");
            return (Criteria) this;
        }

        public Criteria andMessageEqualTo(String value) {
            addCriterion("MESSAGE =", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotEqualTo(String value) {
            addCriterion("MESSAGE <>", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageGreaterThan(String value) {
            addCriterion("MESSAGE >", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageGreaterThanOrEqualTo(String value) {
            addCriterion("MESSAGE >=", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLessThan(String value) {
            addCriterion("MESSAGE <", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLessThanOrEqualTo(String value) {
            addCriterion("MESSAGE <=", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLike(String value) {
            addCriterion("MESSAGE like", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotLike(String value) {
            addCriterion("MESSAGE not like", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageIn(List<String> values) {
            addCriterion("MESSAGE in", values, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotIn(List<String> values) {
            addCriterion("MESSAGE not in", values, "message");
            return (Criteria) this;
        }

        public Criteria andMessageBetween(String value1, String value2) {
            addCriterion("MESSAGE between", value1, value2, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotBetween(String value1, String value2) {
            addCriterion("MESSAGE not between", value1, value2, "message");
            return (Criteria) this;
        }
    }

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