package com.gyee.frame.model.auto;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria 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 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 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;
        }

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

        public Criteria andAlertvalueIsNotNull() {
            addCriterion("ALERTVALUE is not null");
            return (Criteria) this;
        }

        public Criteria andAlertvalueEqualTo(Integer value) {
            addCriterion("ALERTVALUE =", value, "alertvalue");
            return (Criteria) this;
        }

        public Criteria andAlertvalueNotEqualTo(Integer value) {
            addCriterion("ALERTVALUE <>", value, "alertvalue");
            return (Criteria) this;
        }

        public Criteria andAlertvalueGreaterThan(Integer value) {
            addCriterion("ALERTVALUE >", value, "alertvalue");
            return (Criteria) this;
        }

        public Criteria andAlertvalueGreaterThanOrEqualTo(Integer value) {
            addCriterion("ALERTVALUE >=", value, "alertvalue");
            return (Criteria) this;
        }

        public Criteria andAlertvalueLessThan(Integer value) {
            addCriterion("ALERTVALUE <", value, "alertvalue");
            return (Criteria) this;
        }

        public Criteria andAlertvalueLessThanOrEqualTo(Integer value) {
            addCriterion("ALERTVALUE <=", value, "alertvalue");
            return (Criteria) this;
        }

        public Criteria andAlertvalueIn(List<Integer> values) {
            addCriterion("ALERTVALUE in", values, "alertvalue");
            return (Criteria) this;
        }

        public Criteria andAlertvalueNotIn(List<Integer> values) {
            addCriterion("ALERTVALUE not in", values, "alertvalue");
            return (Criteria) this;
        }

        public Criteria andAlertvalueBetween(Integer value1, Integer value2) {
            addCriterion("ALERTVALUE between", value1, value2, "alertvalue");
            return (Criteria) this;
        }

        public Criteria andAlertvalueNotBetween(Integer value1, Integer value2) {
            addCriterion("ALERTVALUE not between", value1, value2, "alertvalue");
            return (Criteria) this;
        }

        public Criteria andCategory1IsNull() {
            addCriterion("CATEGORY1 is null");
            return (Criteria) this;
        }

        public Criteria andCategory1IsNotNull() {
            addCriterion("CATEGORY1 is not null");
            return (Criteria) this;
        }

        public Criteria andCategory1EqualTo(String value) {
            addCriterion("CATEGORY1 =", value, "category1");
            return (Criteria) this;
        }

        public Criteria andCategory1NotEqualTo(String value) {
            addCriterion("CATEGORY1 <>", value, "category1");
            return (Criteria) this;
        }

        public Criteria andCategory1GreaterThan(String value) {
            addCriterion("CATEGORY1 >", value, "category1");
            return (Criteria) this;
        }

        public Criteria andCategory1GreaterThanOrEqualTo(String value) {
            addCriterion("CATEGORY1 >=", value, "category1");
            return (Criteria) this;
        }

        public Criteria andCategory1LessThan(String value) {
            addCriterion("CATEGORY1 <", value, "category1");
            return (Criteria) this;
        }

        public Criteria andCategory1LessThanOrEqualTo(String value) {
            addCriterion("CATEGORY1 <=", value, "category1");
            return (Criteria) this;
        }

        public Criteria andCategory1Like(String value) {
            addCriterion("CATEGORY1 like", value, "category1");
            return (Criteria) this;
        }

        public Criteria andCategory1NotLike(String value) {
            addCriterion("CATEGORY1 not like", value, "category1");
            return (Criteria) this;
        }

        public Criteria andCategory1In(List<String> values) {
            addCriterion("CATEGORY1 in", values, "category1");
            return (Criteria) this;
        }

        public Criteria andCategory1NotIn(List<String> values) {
            addCriterion("CATEGORY1 not in", values, "category1");
            return (Criteria) this;
        }

        public Criteria andCategory1Between(String value1, String value2) {
            addCriterion("CATEGORY1 between", value1, value2, "category1");
            return (Criteria) this;
        }

        public Criteria andCategory1NotBetween(String value1, String value2) {
            addCriterion("CATEGORY1 not between", value1, value2, "category1");
            return (Criteria) this;
        }

        public Criteria andCategory2IsNull() {
            addCriterion("CATEGORY2 is null");
            return (Criteria) this;
        }

        public Criteria andCategory2IsNotNull() {
            addCriterion("CATEGORY2 is not null");
            return (Criteria) this;
        }

        public Criteria andCategory2EqualTo(String value) {
            addCriterion("CATEGORY2 =", value, "category2");
            return (Criteria) this;
        }

        public Criteria andCategory2NotEqualTo(String value) {
            addCriterion("CATEGORY2 <>", value, "category2");
            return (Criteria) this;
        }

        public Criteria andCategory2GreaterThan(String value) {
            addCriterion("CATEGORY2 >", value, "category2");
            return (Criteria) this;
        }

        public Criteria andCategory2GreaterThanOrEqualTo(String value) {
            addCriterion("CATEGORY2 >=", value, "category2");
            return (Criteria) this;
        }

        public Criteria andCategory2LessThan(String value) {
            addCriterion("CATEGORY2 <", value, "category2");
            return (Criteria) this;
        }

        public Criteria andCategory2LessThanOrEqualTo(String value) {
            addCriterion("CATEGORY2 <=", value, "category2");
            return (Criteria) this;
        }

        public Criteria andCategory2Like(String value) {
            addCriterion("CATEGORY2 like", value, "category2");
            return (Criteria) this;
        }

        public Criteria andCategory2NotLike(String value) {
            addCriterion("CATEGORY2 not like", value, "category2");
            return (Criteria) this;
        }

        public Criteria andCategory2In(List<String> values) {
            addCriterion("CATEGORY2 in", values, "category2");
            return (Criteria) this;
        }

        public Criteria andCategory2NotIn(List<String> values) {
            addCriterion("CATEGORY2 not in", values, "category2");
            return (Criteria) this;
        }

        public Criteria andCategory2Between(String value1, String value2) {
            addCriterion("CATEGORY2 between", value1, value2, "category2");
            return (Criteria) this;
        }

        public Criteria andCategory2NotBetween(String value1, String value2) {
            addCriterion("CATEGORY2 not between", value1, value2, "category2");
            return (Criteria) this;
        }

        public Criteria andCategory3IsNull() {
            addCriterion("CATEGORY3 is null");
            return (Criteria) this;
        }

        public Criteria andCategory3IsNotNull() {
            addCriterion("CATEGORY3 is not null");
            return (Criteria) this;
        }

        public Criteria andCategory3EqualTo(String value) {
            addCriterion("CATEGORY3 =", value, "category3");
            return (Criteria) this;
        }

        public Criteria andCategory3NotEqualTo(String value) {
            addCriterion("CATEGORY3 <>", value, "category3");
            return (Criteria) this;
        }

        public Criteria andCategory3GreaterThan(String value) {
            addCriterion("CATEGORY3 >", value, "category3");
            return (Criteria) this;
        }

        public Criteria andCategory3GreaterThanOrEqualTo(String value) {
            addCriterion("CATEGORY3 >=", value, "category3");
            return (Criteria) this;
        }

        public Criteria andCategory3LessThan(String value) {
            addCriterion("CATEGORY3 <", value, "category3");
            return (Criteria) this;
        }

        public Criteria andCategory3LessThanOrEqualTo(String value) {
            addCriterion("CATEGORY3 <=", value, "category3");
            return (Criteria) this;
        }

        public Criteria andCategory3Like(String value) {
            addCriterion("CATEGORY3 like", value, "category3");
            return (Criteria) this;
        }

        public Criteria andCategory3NotLike(String value) {
            addCriterion("CATEGORY3 not like", value, "category3");
            return (Criteria) this;
        }

        public Criteria andCategory3In(List<String> values) {
            addCriterion("CATEGORY3 in", values, "category3");
            return (Criteria) this;
        }

        public Criteria andCategory3NotIn(List<String> values) {
            addCriterion("CATEGORY3 not in", values, "category3");
            return (Criteria) this;
        }

        public Criteria andCategory3Between(String value1, String value2) {
            addCriterion("CATEGORY3 between", value1, value2, "category3");
            return (Criteria) this;
        }

        public Criteria andCategory3NotBetween(String value1, String value2) {
            addCriterion("CATEGORY3 not between", value1, value2, "category3");
            return (Criteria) this;
        }

        public Criteria andRankIsNull() {
            addCriterion("RANK is null");
            return (Criteria) this;
        }

        public Criteria andRankIsNotNull() {
            addCriterion("RANK is not null");
            return (Criteria) this;
        }

        public Criteria andRankEqualTo(String value) {
            addCriterion("RANK =", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankNotEqualTo(String value) {
            addCriterion("RANK <>", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankGreaterThan(String value) {
            addCriterion("RANK >", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankGreaterThanOrEqualTo(String value) {
            addCriterion("RANK >=", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankLessThan(String value) {
            addCriterion("RANK <", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankLessThanOrEqualTo(String value) {
            addCriterion("RANK <=", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankLike(String value) {
            addCriterion("RANK like", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankNotLike(String value) {
            addCriterion("RANK not like", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankIn(List<String> values) {
            addCriterion("RANK in", values, "rank");
            return (Criteria) this;
        }

        public Criteria andRankNotIn(List<String> values) {
            addCriterion("RANK not in", values, "rank");
            return (Criteria) this;
        }

        public Criteria andRankBetween(String value1, String value2) {
            addCriterion("RANK between", value1, value2, "rank");
            return (Criteria) this;
        }

        public Criteria andRankNotBetween(String value1, String value2) {
            addCriterion("RANK not between", value1, value2, "rank");
            return (Criteria) this;
        }

        public Criteria andIsopenedIsNull() {
            addCriterion("ISOPENED is null");
            return (Criteria) this;
        }

        public Criteria andIsopenedIsNotNull() {
            addCriterion("ISOPENED is not null");
            return (Criteria) this;
        }

        public Criteria andIsopenedEqualTo(Integer value) {
            addCriterion("ISOPENED =", value, "isopened");
            return (Criteria) this;
        }

        public Criteria andIsopenedNotEqualTo(Integer value) {
            addCriterion("ISOPENED <>", value, "isopened");
            return (Criteria) this;
        }

        public Criteria andIsopenedGreaterThan(Integer value) {
            addCriterion("ISOPENED >", value, "isopened");
            return (Criteria) this;
        }

        public Criteria andIsopenedGreaterThanOrEqualTo(Integer value) {
            addCriterion("ISOPENED >=", value, "isopened");
            return (Criteria) this;
        }

        public Criteria andIsopenedLessThan(Integer value) {
            addCriterion("ISOPENED <", value, "isopened");
            return (Criteria) this;
        }

        public Criteria andIsopenedLessThanOrEqualTo(Integer value) {
            addCriterion("ISOPENED <=", value, "isopened");
            return (Criteria) this;
        }

        public Criteria andIsopenedIn(List<Integer> values) {
            addCriterion("ISOPENED in", values, "isopened");
            return (Criteria) this;
        }

        public Criteria andIsopenedNotIn(List<Integer> values) {
            addCriterion("ISOPENED not in", values, "isopened");
            return (Criteria) this;
        }

        public Criteria andIsopenedBetween(Integer value1, Integer value2) {
            addCriterion("ISOPENED between", value1, value2, "isopened");
            return (Criteria) this;
        }

        public Criteria andIsopenedNotBetween(Integer value1, Integer value2) {
            addCriterion("ISOPENED not between", value1, value2, "isopened");
            return (Criteria) this;
        }

        public Criteria andStationnameIsNull() {
            addCriterion("STATIONNAME is null");
            return (Criteria) this;
        }

        public Criteria andStationnameIsNotNull() {
            addCriterion("STATIONNAME is not null");
            return (Criteria) this;
        }

        public Criteria andStationnameEqualTo(String value) {
            addCriterion("STATIONNAME =", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameNotEqualTo(String value) {
            addCriterion("STATIONNAME <>", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameGreaterThan(String value) {
            addCriterion("STATIONNAME >", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameGreaterThanOrEqualTo(String value) {
            addCriterion("STATIONNAME >=", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameLessThan(String value) {
            addCriterion("STATIONNAME <", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameLessThanOrEqualTo(String value) {
            addCriterion("STATIONNAME <=", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameLike(String value) {
            addCriterion("STATIONNAME like", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameNotLike(String value) {
            addCriterion("STATIONNAME not like", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameIn(List<String> values) {
            addCriterion("STATIONNAME in", values, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameNotIn(List<String> values) {
            addCriterion("STATIONNAME not in", values, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameBetween(String value1, String value2) {
            addCriterion("STATIONNAME between", value1, value2, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameNotBetween(String value1, String value2) {
            addCriterion("STATIONNAME not between", value1, value2, "stationname");
            return (Criteria) this;
        }

        public Criteria andProjectnameIsNull() {
            addCriterion("PROJECTNAME is null");
            return (Criteria) this;
        }

        public Criteria andProjectnameIsNotNull() {
            addCriterion("PROJECTNAME is not null");
            return (Criteria) this;
        }

        public Criteria andProjectnameEqualTo(String value) {
            addCriterion("PROJECTNAME =", value, "projectname");
            return (Criteria) this;
        }

        public Criteria andProjectnameNotEqualTo(String value) {
            addCriterion("PROJECTNAME <>", value, "projectname");
            return (Criteria) this;
        }

        public Criteria andProjectnameGreaterThan(String value) {
            addCriterion("PROJECTNAME >", value, "projectname");
            return (Criteria) this;
        }

        public Criteria andProjectnameGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECTNAME >=", value, "projectname");
            return (Criteria) this;
        }

        public Criteria andProjectnameLessThan(String value) {
            addCriterion("PROJECTNAME <", value, "projectname");
            return (Criteria) this;
        }

        public Criteria andProjectnameLessThanOrEqualTo(String value) {
            addCriterion("PROJECTNAME <=", value, "projectname");
            return (Criteria) this;
        }

        public Criteria andProjectnameLike(String value) {
            addCriterion("PROJECTNAME like", value, "projectname");
            return (Criteria) this;
        }

        public Criteria andProjectnameNotLike(String value) {
            addCriterion("PROJECTNAME not like", value, "projectname");
            return (Criteria) this;
        }

        public Criteria andProjectnameIn(List<String> values) {
            addCriterion("PROJECTNAME in", values, "projectname");
            return (Criteria) this;
        }

        public Criteria andProjectnameNotIn(List<String> values) {
            addCriterion("PROJECTNAME not in", values, "projectname");
            return (Criteria) this;
        }

        public Criteria andProjectnameBetween(String value1, String value2) {
            addCriterion("PROJECTNAME between", value1, value2, "projectname");
            return (Criteria) this;
        }

        public Criteria andProjectnameNotBetween(String value1, String value2) {
            addCriterion("PROJECTNAME not between", value1, value2, "projectname");
            return (Criteria) this;
        }

        public Criteria andLinenameIsNull() {
            addCriterion("LINENAME is null");
            return (Criteria) this;
        }

        public Criteria andLinenameIsNotNull() {
            addCriterion("LINENAME is not null");
            return (Criteria) this;
        }

        public Criteria andLinenameEqualTo(String value) {
            addCriterion("LINENAME =", value, "linename");
            return (Criteria) this;
        }

        public Criteria andLinenameNotEqualTo(String value) {
            addCriterion("LINENAME <>", value, "linename");
            return (Criteria) this;
        }

        public Criteria andLinenameGreaterThan(String value) {
            addCriterion("LINENAME >", value, "linename");
            return (Criteria) this;
        }

        public Criteria andLinenameGreaterThanOrEqualTo(String value) {
            addCriterion("LINENAME >=", value, "linename");
            return (Criteria) this;
        }

        public Criteria andLinenameLessThan(String value) {
            addCriterion("LINENAME <", value, "linename");
            return (Criteria) this;
        }

        public Criteria andLinenameLessThanOrEqualTo(String value) {
            addCriterion("LINENAME <=", value, "linename");
            return (Criteria) this;
        }

        public Criteria andLinenameLike(String value) {
            addCriterion("LINENAME like", value, "linename");
            return (Criteria) this;
        }

        public Criteria andLinenameNotLike(String value) {
            addCriterion("LINENAME not like", value, "linename");
            return (Criteria) this;
        }

        public Criteria andLinenameIn(List<String> values) {
            addCriterion("LINENAME in", values, "linename");
            return (Criteria) this;
        }

        public Criteria andLinenameNotIn(List<String> values) {
            addCriterion("LINENAME not in", values, "linename");
            return (Criteria) this;
        }

        public Criteria andLinenameBetween(String value1, String value2) {
            addCriterion("LINENAME between", value1, value2, "linename");
            return (Criteria) this;
        }

        public Criteria andLinenameNotBetween(String value1, String value2) {
            addCriterion("LINENAME not between", value1, value2, "linename");
            return (Criteria) this;
        }

        public Criteria andWindturbinenameIsNull() {
            addCriterion("WINDTURBINENAME is null");
            return (Criteria) this;
        }

        public Criteria andWindturbinenameIsNotNull() {
            addCriterion("WINDTURBINENAME is not null");
            return (Criteria) this;
        }

        public Criteria andWindturbinenameEqualTo(String value) {
            addCriterion("WINDTURBINENAME =", value, "windturbinename");
            return (Criteria) this;
        }

        public Criteria andWindturbinenameNotEqualTo(String value) {
            addCriterion("WINDTURBINENAME <>", value, "windturbinename");
            return (Criteria) this;
        }

        public Criteria andWindturbinenameGreaterThan(String value) {
            addCriterion("WINDTURBINENAME >", value, "windturbinename");
            return (Criteria) this;
        }

        public Criteria andWindturbinenameGreaterThanOrEqualTo(String value) {
            addCriterion("WINDTURBINENAME >=", value, "windturbinename");
            return (Criteria) this;
        }

        public Criteria andWindturbinenameLessThan(String value) {
            addCriterion("WINDTURBINENAME <", value, "windturbinename");
            return (Criteria) this;
        }

        public Criteria andWindturbinenameLessThanOrEqualTo(String value) {
            addCriterion("WINDTURBINENAME <=", value, "windturbinename");
            return (Criteria) this;
        }

        public Criteria andWindturbinenameLike(String value) {
            addCriterion("WINDTURBINENAME like", value, "windturbinename");
            return (Criteria) this;
        }

        public Criteria andWindturbinenameNotLike(String value) {
            addCriterion("WINDTURBINENAME not like", value, "windturbinename");
            return (Criteria) this;
        }

        public Criteria andWindturbinenameIn(List<String> values) {
            addCriterion("WINDTURBINENAME in", values, "windturbinename");
            return (Criteria) this;
        }

        public Criteria andWindturbinenameNotIn(List<String> values) {
            addCriterion("WINDTURBINENAME not in", values, "windturbinename");
            return (Criteria) this;
        }

        public Criteria andWindturbinenameBetween(String value1, String value2) {
            addCriterion("WINDTURBINENAME between", value1, value2, "windturbinename");
            return (Criteria) this;
        }

        public Criteria andWindturbinenameNotBetween(String value1, String value2) {
            addCriterion("WINDTURBINENAME not between", value1, value2, "windturbinename");
            return (Criteria) this;
        }

        public Criteria andAlerttextIsNull() {
            addCriterion("ALERTTEXT is null");
            return (Criteria) this;
        }

        public Criteria andAlerttextIsNotNull() {
            addCriterion("ALERTTEXT is not null");
            return (Criteria) this;
        }

        public Criteria andAlerttextEqualTo(String value) {
            addCriterion("ALERTTEXT =", value, "alerttext");
            return (Criteria) this;
        }

        public Criteria andAlerttextNotEqualTo(String value) {
            addCriterion("ALERTTEXT <>", value, "alerttext");
            return (Criteria) this;
        }

        public Criteria andAlerttextGreaterThan(String value) {
            addCriterion("ALERTTEXT >", value, "alerttext");
            return (Criteria) this;
        }

        public Criteria andAlerttextGreaterThanOrEqualTo(String value) {
            addCriterion("ALERTTEXT >=", value, "alerttext");
            return (Criteria) this;
        }

        public Criteria andAlerttextLessThan(String value) {
            addCriterion("ALERTTEXT <", value, "alerttext");
            return (Criteria) this;
        }

        public Criteria andAlerttextLessThanOrEqualTo(String value) {
            addCriterion("ALERTTEXT <=", value, "alerttext");
            return (Criteria) this;
        }

        public Criteria andAlerttextLike(String value) {
            addCriterion("ALERTTEXT like", value, "alerttext");
            return (Criteria) this;
        }

        public Criteria andAlerttextNotLike(String value) {
            addCriterion("ALERTTEXT not like", value, "alerttext");
            return (Criteria) this;
        }

        public Criteria andAlerttextIn(List<String> values) {
            addCriterion("ALERTTEXT in", values, "alerttext");
            return (Criteria) this;
        }

        public Criteria andAlerttextNotIn(List<String> values) {
            addCriterion("ALERTTEXT not in", values, "alerttext");
            return (Criteria) this;
        }

        public Criteria andAlerttextBetween(String value1, String value2) {
            addCriterion("ALERTTEXT between", value1, value2, "alerttext");
            return (Criteria) this;
        }

        public Criteria andAlerttextNotBetween(String value1, String value2) {
            addCriterion("ALERTTEXT not between", value1, value2, "alerttext");
            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 andTestingpointkeyIsNull() {
            addCriterion("TESTINGPOINTKEY is null");
            return (Criteria) this;
        }

        public Criteria andTestingpointkeyIsNotNull() {
            addCriterion("TESTINGPOINTKEY is not null");
            return (Criteria) this;
        }

        public Criteria andTestingpointkeyEqualTo(String value) {
            addCriterion("TESTINGPOINTKEY =", value, "testingpointkey");
            return (Criteria) this;
        }

        public Criteria andTestingpointkeyNotEqualTo(String value) {
            addCriterion("TESTINGPOINTKEY <>", value, "testingpointkey");
            return (Criteria) this;
        }

        public Criteria andTestingpointkeyGreaterThan(String value) {
            addCriterion("TESTINGPOINTKEY >", value, "testingpointkey");
            return (Criteria) this;
        }

        public Criteria andTestingpointkeyGreaterThanOrEqualTo(String value) {
            addCriterion("TESTINGPOINTKEY >=", value, "testingpointkey");
            return (Criteria) this;
        }

        public Criteria andTestingpointkeyLessThan(String value) {
            addCriterion("TESTINGPOINTKEY <", value, "testingpointkey");
            return (Criteria) this;
        }

        public Criteria andTestingpointkeyLessThanOrEqualTo(String value) {
            addCriterion("TESTINGPOINTKEY <=", value, "testingpointkey");
            return (Criteria) this;
        }

        public Criteria andTestingpointkeyLike(String value) {
            addCriterion("TESTINGPOINTKEY like", value, "testingpointkey");
            return (Criteria) this;
        }

        public Criteria andTestingpointkeyNotLike(String value) {
            addCriterion("TESTINGPOINTKEY not like", value, "testingpointkey");
            return (Criteria) this;
        }

        public Criteria andTestingpointkeyIn(List<String> values) {
            addCriterion("TESTINGPOINTKEY in", values, "testingpointkey");
            return (Criteria) this;
        }

        public Criteria andTestingpointkeyNotIn(List<String> values) {
            addCriterion("TESTINGPOINTKEY not in", values, "testingpointkey");
            return (Criteria) this;
        }

        public Criteria andTestingpointkeyBetween(String value1, String value2) {
            addCriterion("TESTINGPOINTKEY between", value1, value2, "testingpointkey");
            return (Criteria) this;
        }

        public Criteria andTestingpointkeyNotBetween(String value1, String value2) {
            addCriterion("TESTINGPOINTKEY not between", value1, value2, "testingpointkey");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeIsNull() {
            addCriterion("LASTUPDATETIME is null");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeIsNotNull() {
            addCriterion("LASTUPDATETIME is not null");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeEqualTo(Date value) {
            addCriterion("LASTUPDATETIME =", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeNotEqualTo(Date value) {
            addCriterion("LASTUPDATETIME <>", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeGreaterThan(Date value) {
            addCriterion("LASTUPDATETIME >", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("LASTUPDATETIME >=", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeLessThan(Date value) {
            addCriterion("LASTUPDATETIME <", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("LASTUPDATETIME <=", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeIn(List<Date> values) {
            addCriterion("LASTUPDATETIME in", values, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeNotIn(List<Date> values) {
            addCriterion("LASTUPDATETIME not in", values, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeBetween(Date value1, Date value2) {
            addCriterion("LASTUPDATETIME between", value1, value2, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("LASTUPDATETIME not between", value1, value2, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andDatainfoIsNull() {
            addCriterion("DATAINFO is null");
            return (Criteria) this;
        }

        public Criteria andDatainfoIsNotNull() {
            addCriterion("DATAINFO is not null");
            return (Criteria) this;
        }

        public Criteria andDatainfoEqualTo(String value) {
            addCriterion("DATAINFO =", value, "datainfo");
            return (Criteria) this;
        }

        public Criteria andDatainfoNotEqualTo(String value) {
            addCriterion("DATAINFO <>", value, "datainfo");
            return (Criteria) this;
        }

        public Criteria andDatainfoGreaterThan(String value) {
            addCriterion("DATAINFO >", value, "datainfo");
            return (Criteria) this;
        }

        public Criteria andDatainfoGreaterThanOrEqualTo(String value) {
            addCriterion("DATAINFO >=", value, "datainfo");
            return (Criteria) this;
        }

        public Criteria andDatainfoLessThan(String value) {
            addCriterion("DATAINFO <", value, "datainfo");
            return (Criteria) this;
        }

        public Criteria andDatainfoLessThanOrEqualTo(String value) {
            addCriterion("DATAINFO <=", value, "datainfo");
            return (Criteria) this;
        }

        public Criteria andDatainfoLike(String value) {
            addCriterion("DATAINFO like", value, "datainfo");
            return (Criteria) this;
        }

        public Criteria andDatainfoNotLike(String value) {
            addCriterion("DATAINFO not like", value, "datainfo");
            return (Criteria) this;
        }

        public Criteria andDatainfoIn(List<String> values) {
            addCriterion("DATAINFO in", values, "datainfo");
            return (Criteria) this;
        }

        public Criteria andDatainfoNotIn(List<String> values) {
            addCriterion("DATAINFO not in", values, "datainfo");
            return (Criteria) this;
        }

        public Criteria andDatainfoBetween(String value1, String value2) {
            addCriterion("DATAINFO between", value1, value2, "datainfo");
            return (Criteria) this;
        }

        public Criteria andDatainfoNotBetween(String value1, String value2) {
            addCriterion("DATAINFO not between", value1, value2, "datainfo");
            return (Criteria) this;
        }
    }

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