package com.gyee.frame.model.auto;

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andCountttimeIsNotNull() {
            addCriterion("COUNTTTIME is not null");
            return (Criteria) this;
        }

        public Criteria andCountttimeEqualTo(Date value) {
            addCriterion("COUNTTTIME =", value, "countttime");
            return (Criteria) this;
        }

        public Criteria andCountttimeNotEqualTo(Date value) {
            addCriterion("COUNTTTIME <>", value, "countttime");
            return (Criteria) this;
        }

        public Criteria andCountttimeGreaterThan(Date value) {
            addCriterion("COUNTTTIME >", value, "countttime");
            return (Criteria) this;
        }

        public Criteria andCountttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("COUNTTTIME >=", value, "countttime");
            return (Criteria) this;
        }

        public Criteria andCountttimeLessThan(Date value) {
            addCriterion("COUNTTTIME <", value, "countttime");
            return (Criteria) this;
        }

        public Criteria andCountttimeLessThanOrEqualTo(Date value) {
            addCriterion("COUNTTTIME <=", value, "countttime");
            return (Criteria) this;
        }

        public Criteria andCountttimeIn(List<Date> values) {
            addCriterion("COUNTTTIME in", values, "countttime");
            return (Criteria) this;
        }

        public Criteria andCountttimeNotIn(List<Date> values) {
            addCriterion("COUNTTTIME not in", values, "countttime");
            return (Criteria) this;
        }

        public Criteria andCountttimeBetween(Date value1, Date value2) {
            addCriterion("COUNTTTIME between", value1, value2, "countttime");
            return (Criteria) this;
        }

        public Criteria andCountttimeNotBetween(Date value1, Date value2) {
            addCriterion("COUNTTTIME not between", value1, value2, "countttime");
            return (Criteria) this;
        }

        public Criteria andRecentfaulttimeIsNull() {
            addCriterion("RECENTFAULTTIME is null");
            return (Criteria) this;
        }

        public Criteria andRecentfaulttimeIsNotNull() {
            addCriterion("RECENTFAULTTIME is not null");
            return (Criteria) this;
        }

        public Criteria andRecentfaulttimeEqualTo(Date value) {
            addCriterion("RECENTFAULTTIME =", value, "recentfaulttime");
            return (Criteria) this;
        }

        public Criteria andRecentfaulttimeNotEqualTo(Date value) {
            addCriterion("RECENTFAULTTIME <>", value, "recentfaulttime");
            return (Criteria) this;
        }

        public Criteria andRecentfaulttimeGreaterThan(Date value) {
            addCriterion("RECENTFAULTTIME >", value, "recentfaulttime");
            return (Criteria) this;
        }

        public Criteria andRecentfaulttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("RECENTFAULTTIME >=", value, "recentfaulttime");
            return (Criteria) this;
        }

        public Criteria andRecentfaulttimeLessThan(Date value) {
            addCriterion("RECENTFAULTTIME <", value, "recentfaulttime");
            return (Criteria) this;
        }

        public Criteria andRecentfaulttimeLessThanOrEqualTo(Date value) {
            addCriterion("RECENTFAULTTIME <=", value, "recentfaulttime");
            return (Criteria) this;
        }

        public Criteria andRecentfaulttimeIn(List<Date> values) {
            addCriterion("RECENTFAULTTIME in", values, "recentfaulttime");
            return (Criteria) this;
        }

        public Criteria andRecentfaulttimeNotIn(List<Date> values) {
            addCriterion("RECENTFAULTTIME not in", values, "recentfaulttime");
            return (Criteria) this;
        }

        public Criteria andRecentfaulttimeBetween(Date value1, Date value2) {
            addCriterion("RECENTFAULTTIME between", value1, value2, "recentfaulttime");
            return (Criteria) this;
        }

        public Criteria andRecentfaulttimeNotBetween(Date value1, Date value2) {
            addCriterion("RECENTFAULTTIME not between", value1, value2, "recentfaulttime");
            return (Criteria) this;
        }

        public Criteria andDuraminuteIsNull() {
            addCriterion("DURAMINUTE is null");
            return (Criteria) this;
        }

        public Criteria andDuraminuteIsNotNull() {
            addCriterion("DURAMINUTE is not null");
            return (Criteria) this;
        }

        public Criteria andDuraminuteEqualTo(Long value) {
            addCriterion("DURAMINUTE =", value, "duraminute");
            return (Criteria) this;
        }

        public Criteria andDuraminuteNotEqualTo(Long value) {
            addCriterion("DURAMINUTE <>", value, "duraminute");
            return (Criteria) this;
        }

        public Criteria andDuraminuteGreaterThan(Long value) {
            addCriterion("DURAMINUTE >", value, "duraminute");
            return (Criteria) this;
        }

        public Criteria andDuraminuteGreaterThanOrEqualTo(Long value) {
            addCriterion("DURAMINUTE >=", value, "duraminute");
            return (Criteria) this;
        }

        public Criteria andDuraminuteLessThan(Long value) {
            addCriterion("DURAMINUTE <", value, "duraminute");
            return (Criteria) this;
        }

        public Criteria andDuraminuteLessThanOrEqualTo(Long value) {
            addCriterion("DURAMINUTE <=", value, "duraminute");
            return (Criteria) this;
        }

        public Criteria andDuraminuteIn(List<Long> values) {
            addCriterion("DURAMINUTE in", values, "duraminute");
            return (Criteria) this;
        }

        public Criteria andDuraminuteNotIn(List<Long> values) {
            addCriterion("DURAMINUTE not in", values, "duraminute");
            return (Criteria) this;
        }

        public Criteria andDuraminuteBetween(Long value1, Long value2) {
            addCriterion("DURAMINUTE between", value1, value2, "duraminute");
            return (Criteria) this;
        }

        public Criteria andDuraminuteNotBetween(Long value1, Long value2) {
            addCriterion("DURAMINUTE not between", value1, value2, "duraminute");
            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 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 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 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 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 andSnapidIsNull() {
            addCriterion("SNAPID is null");
            return (Criteria) this;
        }

        public Criteria andSnapidIsNotNull() {
            addCriterion("SNAPID is not null");
            return (Criteria) this;
        }

        public Criteria andSnapidEqualTo(BigDecimal value) {
            addCriterion("SNAPID =", value, "snapid");
            return (Criteria) this;
        }

        public Criteria andSnapidNotEqualTo(BigDecimal value) {
            addCriterion("SNAPID <>", value, "snapid");
            return (Criteria) this;
        }

        public Criteria andSnapidGreaterThan(BigDecimal value) {
            addCriterion("SNAPID >", value, "snapid");
            return (Criteria) this;
        }

        public Criteria andSnapidGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SNAPID >=", value, "snapid");
            return (Criteria) this;
        }

        public Criteria andSnapidLessThan(BigDecimal value) {
            addCriterion("SNAPID <", value, "snapid");
            return (Criteria) this;
        }

        public Criteria andSnapidLessThanOrEqualTo(BigDecimal value) {
            addCriterion("SNAPID <=", value, "snapid");
            return (Criteria) this;
        }

        public Criteria andSnapidIn(List<BigDecimal> values) {
            addCriterion("SNAPID in", values, "snapid");
            return (Criteria) this;
        }

        public Criteria andSnapidNotIn(List<BigDecimal> values) {
            addCriterion("SNAPID not in", values, "snapid");
            return (Criteria) this;
        }

        public Criteria andSnapidBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SNAPID between", value1, value2, "snapid");
            return (Criteria) this;
        }

        public Criteria andSnapidNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SNAPID not between", value1, value2, "snapid");
            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 STATEDURATIME
     *
     * @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 STATEDURATIME
     *
     * @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);
        }
    }
}