package com.gyee.frame.model.auto;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table equipmentmodel
     *
     * @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 equipmentmodel
     *
     * @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 equipmentmodel
     *
     * @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 equipmentmodel
     *
     * @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 equipmentmodel
     *
     * @mbg.generated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

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

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

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

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

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andPowerproductionIsNull() {
            addCriterion("powerProduction is null");
            return (Criteria) this;
        }

        public Criteria andPowerproductionIsNotNull() {
            addCriterion("powerProduction is not null");
            return (Criteria) this;
        }

        public Criteria andPowerproductionEqualTo(Double value) {
            addCriterion("powerProduction =", value, "powerproduction");
            return (Criteria) this;
        }

        public Criteria andPowerproductionNotEqualTo(Double value) {
            addCriterion("powerProduction <>", value, "powerproduction");
            return (Criteria) this;
        }

        public Criteria andPowerproductionGreaterThan(Double value) {
            addCriterion("powerProduction >", value, "powerproduction");
            return (Criteria) this;
        }

        public Criteria andPowerproductionGreaterThanOrEqualTo(Double value) {
            addCriterion("powerProduction >=", value, "powerproduction");
            return (Criteria) this;
        }

        public Criteria andPowerproductionLessThan(Double value) {
            addCriterion("powerProduction <", value, "powerproduction");
            return (Criteria) this;
        }

        public Criteria andPowerproductionLessThanOrEqualTo(Double value) {
            addCriterion("powerProduction <=", value, "powerproduction");
            return (Criteria) this;
        }

        public Criteria andPowerproductionIn(List<Double> values) {
            addCriterion("powerProduction in", values, "powerproduction");
            return (Criteria) this;
        }

        public Criteria andPowerproductionNotIn(List<Double> values) {
            addCriterion("powerProduction not in", values, "powerproduction");
            return (Criteria) this;
        }

        public Criteria andPowerproductionBetween(Double value1, Double value2) {
            addCriterion("powerProduction between", value1, value2, "powerproduction");
            return (Criteria) this;
        }

        public Criteria andPowerproductionNotBetween(Double value1, Double value2) {
            addCriterion("powerProduction not between", value1, value2, "powerproduction");
            return (Criteria) this;
        }

        public Criteria andCutinwindspeedIsNull() {
            addCriterion("cutinWindSpeed is null");
            return (Criteria) this;
        }

        public Criteria andCutinwindspeedIsNotNull() {
            addCriterion("cutinWindSpeed is not null");
            return (Criteria) this;
        }

        public Criteria andCutinwindspeedEqualTo(Double value) {
            addCriterion("cutinWindSpeed =", value, "cutinwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutinwindspeedNotEqualTo(Double value) {
            addCriterion("cutinWindSpeed <>", value, "cutinwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutinwindspeedGreaterThan(Double value) {
            addCriterion("cutinWindSpeed >", value, "cutinwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutinwindspeedGreaterThanOrEqualTo(Double value) {
            addCriterion("cutinWindSpeed >=", value, "cutinwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutinwindspeedLessThan(Double value) {
            addCriterion("cutinWindSpeed <", value, "cutinwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutinwindspeedLessThanOrEqualTo(Double value) {
            addCriterion("cutinWindSpeed <=", value, "cutinwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutinwindspeedIn(List<Double> values) {
            addCriterion("cutinWindSpeed in", values, "cutinwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutinwindspeedNotIn(List<Double> values) {
            addCriterion("cutinWindSpeed not in", values, "cutinwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutinwindspeedBetween(Double value1, Double value2) {
            addCriterion("cutinWindSpeed between", value1, value2, "cutinwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutinwindspeedNotBetween(Double value1, Double value2) {
            addCriterion("cutinWindSpeed not between", value1, value2, "cutinwindspeed");
            return (Criteria) this;
        }

        public Criteria andRatedwindspeedIsNull() {
            addCriterion("ratedWindSpeed is null");
            return (Criteria) this;
        }

        public Criteria andRatedwindspeedIsNotNull() {
            addCriterion("ratedWindSpeed is not null");
            return (Criteria) this;
        }

        public Criteria andRatedwindspeedEqualTo(Double value) {
            addCriterion("ratedWindSpeed =", value, "ratedwindspeed");
            return (Criteria) this;
        }

        public Criteria andRatedwindspeedNotEqualTo(Double value) {
            addCriterion("ratedWindSpeed <>", value, "ratedwindspeed");
            return (Criteria) this;
        }

        public Criteria andRatedwindspeedGreaterThan(Double value) {
            addCriterion("ratedWindSpeed >", value, "ratedwindspeed");
            return (Criteria) this;
        }

        public Criteria andRatedwindspeedGreaterThanOrEqualTo(Double value) {
            addCriterion("ratedWindSpeed >=", value, "ratedwindspeed");
            return (Criteria) this;
        }

        public Criteria andRatedwindspeedLessThan(Double value) {
            addCriterion("ratedWindSpeed <", value, "ratedwindspeed");
            return (Criteria) this;
        }

        public Criteria andRatedwindspeedLessThanOrEqualTo(Double value) {
            addCriterion("ratedWindSpeed <=", value, "ratedwindspeed");
            return (Criteria) this;
        }

        public Criteria andRatedwindspeedIn(List<Double> values) {
            addCriterion("ratedWindSpeed in", values, "ratedwindspeed");
            return (Criteria) this;
        }

        public Criteria andRatedwindspeedNotIn(List<Double> values) {
            addCriterion("ratedWindSpeed not in", values, "ratedwindspeed");
            return (Criteria) this;
        }

        public Criteria andRatedwindspeedBetween(Double value1, Double value2) {
            addCriterion("ratedWindSpeed between", value1, value2, "ratedwindspeed");
            return (Criteria) this;
        }

        public Criteria andRatedwindspeedNotBetween(Double value1, Double value2) {
            addCriterion("ratedWindSpeed not between", value1, value2, "ratedwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutoutwindspeedIsNull() {
            addCriterion("cutoutWindSpeed is null");
            return (Criteria) this;
        }

        public Criteria andCutoutwindspeedIsNotNull() {
            addCriterion("cutoutWindSpeed is not null");
            return (Criteria) this;
        }

        public Criteria andCutoutwindspeedEqualTo(String value) {
            addCriterion("cutoutWindSpeed =", value, "cutoutwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutoutwindspeedNotEqualTo(String value) {
            addCriterion("cutoutWindSpeed <>", value, "cutoutwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutoutwindspeedGreaterThan(String value) {
            addCriterion("cutoutWindSpeed >", value, "cutoutwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutoutwindspeedGreaterThanOrEqualTo(String value) {
            addCriterion("cutoutWindSpeed >=", value, "cutoutwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutoutwindspeedLessThan(String value) {
            addCriterion("cutoutWindSpeed <", value, "cutoutwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutoutwindspeedLessThanOrEqualTo(String value) {
            addCriterion("cutoutWindSpeed <=", value, "cutoutwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutoutwindspeedLike(String value) {
            addCriterion("cutoutWindSpeed like", value, "cutoutwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutoutwindspeedNotLike(String value) {
            addCriterion("cutoutWindSpeed not like", value, "cutoutwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutoutwindspeedIn(List<String> values) {
            addCriterion("cutoutWindSpeed in", values, "cutoutwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutoutwindspeedNotIn(List<String> values) {
            addCriterion("cutoutWindSpeed not in", values, "cutoutwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutoutwindspeedBetween(String value1, String value2) {
            addCriterion("cutoutWindSpeed between", value1, value2, "cutoutwindspeed");
            return (Criteria) this;
        }

        public Criteria andCutoutwindspeedNotBetween(String value1, String value2) {
            addCriterion("cutoutWindSpeed not between", value1, value2, "cutoutwindspeed");
            return (Criteria) this;
        }

        public Criteria andWindturbinemanufactureridIsNull() {
            addCriterion("windTurbineManufacturerId is null");
            return (Criteria) this;
        }

        public Criteria andWindturbinemanufactureridIsNotNull() {
            addCriterion("windTurbineManufacturerId is not null");
            return (Criteria) this;
        }

        public Criteria andWindturbinemanufactureridEqualTo(String value) {
            addCriterion("windTurbineManufacturerId =", value, "windturbinemanufacturerid");
            return (Criteria) this;
        }

        public Criteria andWindturbinemanufactureridNotEqualTo(String value) {
            addCriterion("windTurbineManufacturerId <>", value, "windturbinemanufacturerid");
            return (Criteria) this;
        }

        public Criteria andWindturbinemanufactureridGreaterThan(String value) {
            addCriterion("windTurbineManufacturerId >", value, "windturbinemanufacturerid");
            return (Criteria) this;
        }

        public Criteria andWindturbinemanufactureridGreaterThanOrEqualTo(String value) {
            addCriterion("windTurbineManufacturerId >=", value, "windturbinemanufacturerid");
            return (Criteria) this;
        }

        public Criteria andWindturbinemanufactureridLessThan(String value) {
            addCriterion("windTurbineManufacturerId <", value, "windturbinemanufacturerid");
            return (Criteria) this;
        }

        public Criteria andWindturbinemanufactureridLessThanOrEqualTo(String value) {
            addCriterion("windTurbineManufacturerId <=", value, "windturbinemanufacturerid");
            return (Criteria) this;
        }

        public Criteria andWindturbinemanufactureridLike(String value) {
            addCriterion("windTurbineManufacturerId like", value, "windturbinemanufacturerid");
            return (Criteria) this;
        }

        public Criteria andWindturbinemanufactureridNotLike(String value) {
            addCriterion("windTurbineManufacturerId not like", value, "windturbinemanufacturerid");
            return (Criteria) this;
        }

        public Criteria andWindturbinemanufactureridIn(List<String> values) {
            addCriterion("windTurbineManufacturerId in", values, "windturbinemanufacturerid");
            return (Criteria) this;
        }

        public Criteria andWindturbinemanufactureridNotIn(List<String> values) {
            addCriterion("windTurbineManufacturerId not in", values, "windturbinemanufacturerid");
            return (Criteria) this;
        }

        public Criteria andWindturbinemanufactureridBetween(String value1, String value2) {
            addCriterion("windTurbineManufacturerId between", value1, value2, "windturbinemanufacturerid");
            return (Criteria) this;
        }

        public Criteria andWindturbinemanufactureridNotBetween(String value1, String value2) {
            addCriterion("windTurbineManufacturerId not between", value1, value2, "windturbinemanufacturerid");
            return (Criteria) this;
        }

        public Criteria andPhotoIsNull() {
            addCriterion("photo is null");
            return (Criteria) this;
        }

        public Criteria andPhotoIsNotNull() {
            addCriterion("photo is not null");
            return (Criteria) this;
        }

        public Criteria andPhotoEqualTo(String value) {
            addCriterion("photo =", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoNotEqualTo(String value) {
            addCriterion("photo <>", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoGreaterThan(String value) {
            addCriterion("photo >", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoGreaterThanOrEqualTo(String value) {
            addCriterion("photo >=", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoLessThan(String value) {
            addCriterion("photo <", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoLessThanOrEqualTo(String value) {
            addCriterion("photo <=", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoLike(String value) {
            addCriterion("photo like", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoNotLike(String value) {
            addCriterion("photo not like", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoIn(List<String> values) {
            addCriterion("photo in", values, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoNotIn(List<String> values) {
            addCriterion("photo not in", values, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoBetween(String value1, String value2) {
            addCriterion("photo between", value1, value2, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoNotBetween(String value1, String value2) {
            addCriterion("photo not between", value1, value2, "photo");
            return (Criteria) this;
        }

        public Criteria andUnitIsNull() {
            addCriterion("unit is null");
            return (Criteria) this;
        }

        public Criteria andUnitIsNotNull() {
            addCriterion("unit is not null");
            return (Criteria) this;
        }

        public Criteria andUnitEqualTo(String value) {
            addCriterion("unit =", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotEqualTo(String value) {
            addCriterion("unit <>", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThan(String value) {
            addCriterion("unit >", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThanOrEqualTo(String value) {
            addCriterion("unit >=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThan(String value) {
            addCriterion("unit <", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThanOrEqualTo(String value) {
            addCriterion("unit <=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLike(String value) {
            addCriterion("unit like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotLike(String value) {
            addCriterion("unit not like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitIn(List<String> values) {
            addCriterion("unit in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotIn(List<String> values) {
            addCriterion("unit not in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitBetween(String value1, String value2) {
            addCriterion("unit between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotBetween(String value1, String value2) {
            addCriterion("unit not between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andSweptareaIsNull() {
            addCriterion("sweptArea is null");
            return (Criteria) this;
        }

        public Criteria andSweptareaIsNotNull() {
            addCriterion("sweptArea is not null");
            return (Criteria) this;
        }

        public Criteria andSweptareaEqualTo(Double value) {
            addCriterion("sweptArea =", value, "sweptarea");
            return (Criteria) this;
        }

        public Criteria andSweptareaNotEqualTo(Double value) {
            addCriterion("sweptArea <>", value, "sweptarea");
            return (Criteria) this;
        }

        public Criteria andSweptareaGreaterThan(Double value) {
            addCriterion("sweptArea >", value, "sweptarea");
            return (Criteria) this;
        }

        public Criteria andSweptareaGreaterThanOrEqualTo(Double value) {
            addCriterion("sweptArea >=", value, "sweptarea");
            return (Criteria) this;
        }

        public Criteria andSweptareaLessThan(Double value) {
            addCriterion("sweptArea <", value, "sweptarea");
            return (Criteria) this;
        }

        public Criteria andSweptareaLessThanOrEqualTo(Double value) {
            addCriterion("sweptArea <=", value, "sweptarea");
            return (Criteria) this;
        }

        public Criteria andSweptareaIn(List<Double> values) {
            addCriterion("sweptArea in", values, "sweptarea");
            return (Criteria) this;
        }

        public Criteria andSweptareaNotIn(List<Double> values) {
            addCriterion("sweptArea not in", values, "sweptarea");
            return (Criteria) this;
        }

        public Criteria andSweptareaBetween(Double value1, Double value2) {
            addCriterion("sweptArea between", value1, value2, "sweptarea");
            return (Criteria) this;
        }

        public Criteria andSweptareaNotBetween(Double value1, Double value2) {
            addCriterion("sweptArea not between", value1, value2, "sweptarea");
            return (Criteria) this;
        }

        public Criteria andEquipmentcategoryIsNull() {
            addCriterion("equipmentCategory is null");
            return (Criteria) this;
        }

        public Criteria andEquipmentcategoryIsNotNull() {
            addCriterion("equipmentCategory is not null");
            return (Criteria) this;
        }

        public Criteria andEquipmentcategoryEqualTo(Integer value) {
            addCriterion("equipmentCategory =", value, "equipmentcategory");
            return (Criteria) this;
        }

        public Criteria andEquipmentcategoryNotEqualTo(Integer value) {
            addCriterion("equipmentCategory <>", value, "equipmentcategory");
            return (Criteria) this;
        }

        public Criteria andEquipmentcategoryGreaterThan(Integer value) {
            addCriterion("equipmentCategory >", value, "equipmentcategory");
            return (Criteria) this;
        }

        public Criteria andEquipmentcategoryGreaterThanOrEqualTo(Integer value) {
            addCriterion("equipmentCategory >=", value, "equipmentcategory");
            return (Criteria) this;
        }

        public Criteria andEquipmentcategoryLessThan(Integer value) {
            addCriterion("equipmentCategory <", value, "equipmentcategory");
            return (Criteria) this;
        }

        public Criteria andEquipmentcategoryLessThanOrEqualTo(Integer value) {
            addCriterion("equipmentCategory <=", value, "equipmentcategory");
            return (Criteria) this;
        }

        public Criteria andEquipmentcategoryIn(List<Integer> values) {
            addCriterion("equipmentCategory in", values, "equipmentcategory");
            return (Criteria) this;
        }

        public Criteria andEquipmentcategoryNotIn(List<Integer> values) {
            addCriterion("equipmentCategory not in", values, "equipmentcategory");
            return (Criteria) this;
        }

        public Criteria andEquipmentcategoryBetween(Integer value1, Integer value2) {
            addCriterion("equipmentCategory between", value1, value2, "equipmentcategory");
            return (Criteria) this;
        }

        public Criteria andEquipmentcategoryNotBetween(Integer value1, Integer value2) {
            addCriterion("equipmentCategory not between", value1, value2, "equipmentcategory");
            return (Criteria) this;
        }
    }

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