package com.gyee.frame.model.auto;

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andThingIsNotNull() {
            addCriterion("THING is not null");
            return (Criteria) this;
        }

        public Criteria andThingEqualTo(String value) {
            addCriterion("THING =", value, "thing");
            return (Criteria) this;
        }

        public Criteria andThingNotEqualTo(String value) {
            addCriterion("THING <>", value, "thing");
            return (Criteria) this;
        }

        public Criteria andThingGreaterThan(String value) {
            addCriterion("THING >", value, "thing");
            return (Criteria) this;
        }

        public Criteria andThingGreaterThanOrEqualTo(String value) {
            addCriterion("THING >=", value, "thing");
            return (Criteria) this;
        }

        public Criteria andThingLessThan(String value) {
            addCriterion("THING <", value, "thing");
            return (Criteria) this;
        }

        public Criteria andThingLessThanOrEqualTo(String value) {
            addCriterion("THING <=", value, "thing");
            return (Criteria) this;
        }

        public Criteria andThingLike(String value) {
            addCriterion("THING like", value, "thing");
            return (Criteria) this;
        }

        public Criteria andThingNotLike(String value) {
            addCriterion("THING not like", value, "thing");
            return (Criteria) this;
        }

        public Criteria andThingIn(List<String> values) {
            addCriterion("THING in", values, "thing");
            return (Criteria) this;
        }

        public Criteria andThingNotIn(List<String> values) {
            addCriterion("THING not in", values, "thing");
            return (Criteria) this;
        }

        public Criteria andThingBetween(String value1, String value2) {
            addCriterion("THING between", value1, value2, "thing");
            return (Criteria) this;
        }

        public Criteria andThingNotBetween(String value1, String value2) {
            addCriterion("THING not between", value1, value2, "thing");
            return (Criteria) this;
        }

        public Criteria andMetricidIsNull() {
            addCriterion("METRICID is null");
            return (Criteria) this;
        }

        public Criteria andMetricidIsNotNull() {
            addCriterion("METRICID is not null");
            return (Criteria) this;
        }

        public Criteria andMetricidEqualTo(String value) {
            addCriterion("METRICID =", value, "metricid");
            return (Criteria) this;
        }

        public Criteria andMetricidNotEqualTo(String value) {
            addCriterion("METRICID <>", value, "metricid");
            return (Criteria) this;
        }

        public Criteria andMetricidGreaterThan(String value) {
            addCriterion("METRICID >", value, "metricid");
            return (Criteria) this;
        }

        public Criteria andMetricidGreaterThanOrEqualTo(String value) {
            addCriterion("METRICID >=", value, "metricid");
            return (Criteria) this;
        }

        public Criteria andMetricidLessThan(String value) {
            addCriterion("METRICID <", value, "metricid");
            return (Criteria) this;
        }

        public Criteria andMetricidLessThanOrEqualTo(String value) {
            addCriterion("METRICID <=", value, "metricid");
            return (Criteria) this;
        }

        public Criteria andMetricidLike(String value) {
            addCriterion("METRICID like", value, "metricid");
            return (Criteria) this;
        }

        public Criteria andMetricidNotLike(String value) {
            addCriterion("METRICID not like", value, "metricid");
            return (Criteria) this;
        }

        public Criteria andMetricidIn(List<String> values) {
            addCriterion("METRICID in", values, "metricid");
            return (Criteria) this;
        }

        public Criteria andMetricidNotIn(List<String> values) {
            addCriterion("METRICID not in", values, "metricid");
            return (Criteria) this;
        }

        public Criteria andMetricidBetween(String value1, String value2) {
            addCriterion("METRICID between", value1, value2, "metricid");
            return (Criteria) this;
        }

        public Criteria andMetricidNotBetween(String value1, String value2) {
            addCriterion("METRICID not between", value1, value2, "metricid");
            return (Criteria) this;
        }

        public Criteria andModelIsNull() {
            addCriterion("MODEL is null");
            return (Criteria) this;
        }

        public Criteria andModelIsNotNull() {
            addCriterion("MODEL is not null");
            return (Criteria) this;
        }

        public Criteria andModelEqualTo(String value) {
            addCriterion("MODEL =", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelNotEqualTo(String value) {
            addCriterion("MODEL <>", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelGreaterThan(String value) {
            addCriterion("MODEL >", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelGreaterThanOrEqualTo(String value) {
            addCriterion("MODEL >=", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelLessThan(String value) {
            addCriterion("MODEL <", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelLessThanOrEqualTo(String value) {
            addCriterion("MODEL <=", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelLike(String value) {
            addCriterion("MODEL like", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelNotLike(String value) {
            addCriterion("MODEL not like", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelIn(List<String> values) {
            addCriterion("MODEL in", values, "model");
            return (Criteria) this;
        }

        public Criteria andModelNotIn(List<String> values) {
            addCriterion("MODEL not in", values, "model");
            return (Criteria) this;
        }

        public Criteria andModelBetween(String value1, String value2) {
            addCriterion("MODEL between", value1, value2, "model");
            return (Criteria) this;
        }

        public Criteria andModelNotBetween(String value1, String value2) {
            addCriterion("MODEL not between", value1, value2, "model");
            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 andUniformcodeIsNull() {
            addCriterion("UNIFORMCODE is null");
            return (Criteria) this;
        }

        public Criteria andUniformcodeIsNotNull() {
            addCriterion("UNIFORMCODE is not null");
            return (Criteria) this;
        }

        public Criteria andUniformcodeEqualTo(String value) {
            addCriterion("UNIFORMCODE =", value, "uniformcode");
            return (Criteria) this;
        }

        public Criteria andUniformcodeNotEqualTo(String value) {
            addCriterion("UNIFORMCODE <>", value, "uniformcode");
            return (Criteria) this;
        }

        public Criteria andUniformcodeGreaterThan(String value) {
            addCriterion("UNIFORMCODE >", value, "uniformcode");
            return (Criteria) this;
        }

        public Criteria andUniformcodeGreaterThanOrEqualTo(String value) {
            addCriterion("UNIFORMCODE >=", value, "uniformcode");
            return (Criteria) this;
        }

        public Criteria andUniformcodeLessThan(String value) {
            addCriterion("UNIFORMCODE <", value, "uniformcode");
            return (Criteria) this;
        }

        public Criteria andUniformcodeLessThanOrEqualTo(String value) {
            addCriterion("UNIFORMCODE <=", value, "uniformcode");
            return (Criteria) this;
        }

        public Criteria andUniformcodeLike(String value) {
            addCriterion("UNIFORMCODE like", value, "uniformcode");
            return (Criteria) this;
        }

        public Criteria andUniformcodeNotLike(String value) {
            addCriterion("UNIFORMCODE not like", value, "uniformcode");
            return (Criteria) this;
        }

        public Criteria andUniformcodeIn(List<String> values) {
            addCriterion("UNIFORMCODE in", values, "uniformcode");
            return (Criteria) this;
        }

        public Criteria andUniformcodeNotIn(List<String> values) {
            addCriterion("UNIFORMCODE not in", values, "uniformcode");
            return (Criteria) this;
        }

        public Criteria andUniformcodeBetween(String value1, String value2) {
            addCriterion("UNIFORMCODE between", value1, value2, "uniformcode");
            return (Criteria) this;
        }

        public Criteria andUniformcodeNotBetween(String value1, String value2) {
            addCriterion("UNIFORMCODE not between", value1, value2, "uniformcode");
            return (Criteria) this;
        }

        public Criteria andMultiplierIsNull() {
            addCriterion("MULTIPLIER is null");
            return (Criteria) this;
        }

        public Criteria andMultiplierIsNotNull() {
            addCriterion("MULTIPLIER is not null");
            return (Criteria) this;
        }

        public Criteria andMultiplierEqualTo(Short value) {
            addCriterion("MULTIPLIER =", value, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierNotEqualTo(Short value) {
            addCriterion("MULTIPLIER <>", value, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierGreaterThan(Short value) {
            addCriterion("MULTIPLIER >", value, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierGreaterThanOrEqualTo(Short value) {
            addCriterion("MULTIPLIER >=", value, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierLessThan(Short value) {
            addCriterion("MULTIPLIER <", value, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierLessThanOrEqualTo(Short value) {
            addCriterion("MULTIPLIER <=", value, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierIn(List<Short> values) {
            addCriterion("MULTIPLIER in", values, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierNotIn(List<Short> values) {
            addCriterion("MULTIPLIER not in", values, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierBetween(Short value1, Short value2) {
            addCriterion("MULTIPLIER between", value1, value2, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierNotBetween(Short value1, Short value2) {
            addCriterion("MULTIPLIER not between", value1, value2, "multiplier");
            return (Criteria) this;
        }
    }

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