package com.gyee.frame.model.auto;

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

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

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

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

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

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

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

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

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

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

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

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

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

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

        public Criteria andAnameIsNotNull() {
            addCriterion("aname is not null");
            return (Criteria) this;
        }

        public Criteria andAnameEqualTo(String value) {
            addCriterion("aname =", value, "aname");
            return (Criteria) this;
        }

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

        public Criteria andAnameGreaterThan(String value) {
            addCriterion("aname >", value, "aname");
            return (Criteria) this;
        }

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

        public Criteria andAnameLessThan(String value) {
            addCriterion("aname <", value, "aname");
            return (Criteria) this;
        }

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

        public Criteria andAnameLike(String value) {
            addCriterion("aname like", value, "aname");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andWindpowerstationidIsNull() {
            addCriterion("windPowerStationId is null");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidIsNotNull() {
            addCriterion("windPowerStationId is not null");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidEqualTo(String value) {
            addCriterion("windPowerStationId =", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidNotEqualTo(String value) {
            addCriterion("windPowerStationId <>", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidGreaterThan(String value) {
            addCriterion("windPowerStationId >", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidGreaterThanOrEqualTo(String value) {
            addCriterion("windPowerStationId >=", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidLessThan(String value) {
            addCriterion("windPowerStationId <", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidLessThanOrEqualTo(String value) {
            addCriterion("windPowerStationId <=", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidLike(String value) {
            addCriterion("windPowerStationId like", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidNotLike(String value) {
            addCriterion("windPowerStationId not like", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidIn(List<String> values) {
            addCriterion("windPowerStationId in", values, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidNotIn(List<String> values) {
            addCriterion("windPowerStationId not in", values, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidBetween(String value1, String value2) {
            addCriterion("windPowerStationId between", value1, value2, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidNotBetween(String value1, String value2) {
            addCriterion("windPowerStationId not between", value1, value2, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andCapacityIsNull() {
            addCriterion("capacity is null");
            return (Criteria) this;
        }

        public Criteria andCapacityIsNotNull() {
            addCriterion("capacity is not null");
            return (Criteria) this;
        }

        public Criteria andCapacityEqualTo(Double value) {
            addCriterion("capacity =", value, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityNotEqualTo(Double value) {
            addCriterion("capacity <>", value, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityGreaterThan(Double value) {
            addCriterion("capacity >", value, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityGreaterThanOrEqualTo(Double value) {
            addCriterion("capacity >=", value, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityLessThan(Double value) {
            addCriterion("capacity <", value, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityLessThanOrEqualTo(Double value) {
            addCriterion("capacity <=", value, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityIn(List<Double> values) {
            addCriterion("capacity in", values, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityNotIn(List<Double> values) {
            addCriterion("capacity not in", values, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityBetween(Double value1, Double value2) {
            addCriterion("capacity between", value1, value2, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityNotBetween(Double value1, Double value2) {
            addCriterion("capacity not between", value1, value2, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityunitIsNull() {
            addCriterion("capacityUnit is null");
            return (Criteria) this;
        }

        public Criteria andCapacityunitIsNotNull() {
            addCriterion("capacityUnit is not null");
            return (Criteria) this;
        }

        public Criteria andCapacityunitEqualTo(String value) {
            addCriterion("capacityUnit =", value, "capacityunit");
            return (Criteria) this;
        }

        public Criteria andCapacityunitNotEqualTo(String value) {
            addCriterion("capacityUnit <>", value, "capacityunit");
            return (Criteria) this;
        }

        public Criteria andCapacityunitGreaterThan(String value) {
            addCriterion("capacityUnit >", value, "capacityunit");
            return (Criteria) this;
        }

        public Criteria andCapacityunitGreaterThanOrEqualTo(String value) {
            addCriterion("capacityUnit >=", value, "capacityunit");
            return (Criteria) this;
        }

        public Criteria andCapacityunitLessThan(String value) {
            addCriterion("capacityUnit <", value, "capacityunit");
            return (Criteria) this;
        }

        public Criteria andCapacityunitLessThanOrEqualTo(String value) {
            addCriterion("capacityUnit <=", value, "capacityunit");
            return (Criteria) this;
        }

        public Criteria andCapacityunitLike(String value) {
            addCriterion("capacityUnit like", value, "capacityunit");
            return (Criteria) this;
        }

        public Criteria andCapacityunitNotLike(String value) {
            addCriterion("capacityUnit not like", value, "capacityunit");
            return (Criteria) this;
        }

        public Criteria andCapacityunitIn(List<String> values) {
            addCriterion("capacityUnit in", values, "capacityunit");
            return (Criteria) this;
        }

        public Criteria andCapacityunitNotIn(List<String> values) {
            addCriterion("capacityUnit not in", values, "capacityunit");
            return (Criteria) this;
        }

        public Criteria andCapacityunitBetween(String value1, String value2) {
            addCriterion("capacityUnit between", value1, value2, "capacityunit");
            return (Criteria) this;
        }

        public Criteria andCapacityunitNotBetween(String value1, String value2) {
            addCriterion("capacityUnit not between", value1, value2, "capacityunit");
            return (Criteria) this;
        }

        public Criteria andQuantityIsNull() {
            addCriterion("quantity is null");
            return (Criteria) this;
        }

        public Criteria andQuantityIsNotNull() {
            addCriterion("quantity is not null");
            return (Criteria) this;
        }

        public Criteria andQuantityEqualTo(Integer value) {
            addCriterion("quantity =", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityNotEqualTo(Integer value) {
            addCriterion("quantity <>", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityGreaterThan(Integer value) {
            addCriterion("quantity >", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("quantity >=", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityLessThan(Integer value) {
            addCriterion("quantity <", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("quantity <=", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityIn(List<Integer> values) {
            addCriterion("quantity in", values, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityNotIn(List<Integer> values) {
            addCriterion("quantity not in", values, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityBetween(Integer value1, Integer value2) {
            addCriterion("quantity between", value1, value2, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("quantity not between", value1, value2, "quantity");
            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 andCommissiondateIsNull() {
            addCriterion("commissionDate is null");
            return (Criteria) this;
        }

        public Criteria andCommissiondateIsNotNull() {
            addCriterion("commissionDate is not null");
            return (Criteria) this;
        }

        public Criteria andCommissiondateEqualTo(Date value) {
            addCriterionForJDBCDate("commissionDate =", value, "commissiondate");
            return (Criteria) this;
        }

        public Criteria andCommissiondateNotEqualTo(Date value) {
            addCriterionForJDBCDate("commissionDate <>", value, "commissiondate");
            return (Criteria) this;
        }

        public Criteria andCommissiondateGreaterThan(Date value) {
            addCriterionForJDBCDate("commissionDate >", value, "commissiondate");
            return (Criteria) this;
        }

        public Criteria andCommissiondateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("commissionDate >=", value, "commissiondate");
            return (Criteria) this;
        }

        public Criteria andCommissiondateLessThan(Date value) {
            addCriterionForJDBCDate("commissionDate <", value, "commissiondate");
            return (Criteria) this;
        }

        public Criteria andCommissiondateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("commissionDate <=", value, "commissiondate");
            return (Criteria) this;
        }

        public Criteria andCommissiondateIn(List<Date> values) {
            addCriterionForJDBCDate("commissionDate in", values, "commissiondate");
            return (Criteria) this;
        }

        public Criteria andCommissiondateNotIn(List<Date> values) {
            addCriterionForJDBCDate("commissionDate not in", values, "commissiondate");
            return (Criteria) this;
        }

        public Criteria andCommissiondateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("commissionDate between", value1, value2, "commissiondate");
            return (Criteria) this;
        }

        public Criteria andCommissiondateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("commissionDate not between", value1, value2, "commissiondate");
            return (Criteria) this;
        }

        public Criteria andMasterphoneIsNull() {
            addCriterion("masterPhone is null");
            return (Criteria) this;
        }

        public Criteria andMasterphoneIsNotNull() {
            addCriterion("masterPhone is not null");
            return (Criteria) this;
        }

        public Criteria andMasterphoneEqualTo(String value) {
            addCriterion("masterPhone =", value, "masterphone");
            return (Criteria) this;
        }

        public Criteria andMasterphoneNotEqualTo(String value) {
            addCriterion("masterPhone <>", value, "masterphone");
            return (Criteria) this;
        }

        public Criteria andMasterphoneGreaterThan(String value) {
            addCriterion("masterPhone >", value, "masterphone");
            return (Criteria) this;
        }

        public Criteria andMasterphoneGreaterThanOrEqualTo(String value) {
            addCriterion("masterPhone >=", value, "masterphone");
            return (Criteria) this;
        }

        public Criteria andMasterphoneLessThan(String value) {
            addCriterion("masterPhone <", value, "masterphone");
            return (Criteria) this;
        }

        public Criteria andMasterphoneLessThanOrEqualTo(String value) {
            addCriterion("masterPhone <=", value, "masterphone");
            return (Criteria) this;
        }

        public Criteria andMasterphoneLike(String value) {
            addCriterion("masterPhone like", value, "masterphone");
            return (Criteria) this;
        }

        public Criteria andMasterphoneNotLike(String value) {
            addCriterion("masterPhone not like", value, "masterphone");
            return (Criteria) this;
        }

        public Criteria andMasterphoneIn(List<String> values) {
            addCriterion("masterPhone in", values, "masterphone");
            return (Criteria) this;
        }

        public Criteria andMasterphoneNotIn(List<String> values) {
            addCriterion("masterPhone not in", values, "masterphone");
            return (Criteria) this;
        }

        public Criteria andMasterphoneBetween(String value1, String value2) {
            addCriterion("masterPhone between", value1, value2, "masterphone");
            return (Criteria) this;
        }

        public Criteria andMasterphoneNotBetween(String value1, String value2) {
            addCriterion("masterPhone not between", value1, value2, "masterphone");
            return (Criteria) this;
        }

        public Criteria andShiftforemanIsNull() {
            addCriterion("shiftForeman is null");
            return (Criteria) this;
        }

        public Criteria andShiftforemanIsNotNull() {
            addCriterion("shiftForeman is not null");
            return (Criteria) this;
        }

        public Criteria andShiftforemanEqualTo(String value) {
            addCriterion("shiftForeman =", value, "shiftforeman");
            return (Criteria) this;
        }

        public Criteria andShiftforemanNotEqualTo(String value) {
            addCriterion("shiftForeman <>", value, "shiftforeman");
            return (Criteria) this;
        }

        public Criteria andShiftforemanGreaterThan(String value) {
            addCriterion("shiftForeman >", value, "shiftforeman");
            return (Criteria) this;
        }

        public Criteria andShiftforemanGreaterThanOrEqualTo(String value) {
            addCriterion("shiftForeman >=", value, "shiftforeman");
            return (Criteria) this;
        }

        public Criteria andShiftforemanLessThan(String value) {
            addCriterion("shiftForeman <", value, "shiftforeman");
            return (Criteria) this;
        }

        public Criteria andShiftforemanLessThanOrEqualTo(String value) {
            addCriterion("shiftForeman <=", value, "shiftforeman");
            return (Criteria) this;
        }

        public Criteria andShiftforemanLike(String value) {
            addCriterion("shiftForeman like", value, "shiftforeman");
            return (Criteria) this;
        }

        public Criteria andShiftforemanNotLike(String value) {
            addCriterion("shiftForeman not like", value, "shiftforeman");
            return (Criteria) this;
        }

        public Criteria andShiftforemanIn(List<String> values) {
            addCriterion("shiftForeman in", values, "shiftforeman");
            return (Criteria) this;
        }

        public Criteria andShiftforemanNotIn(List<String> values) {
            addCriterion("shiftForeman not in", values, "shiftforeman");
            return (Criteria) this;
        }

        public Criteria andShiftforemanBetween(String value1, String value2) {
            addCriterion("shiftForeman between", value1, value2, "shiftforeman");
            return (Criteria) this;
        }

        public Criteria andShiftforemanNotBetween(String value1, String value2) {
            addCriterion("shiftForeman not between", value1, value2, "shiftforeman");
            return (Criteria) this;
        }

        public Criteria andShiftforemanphoneIsNull() {
            addCriterion("shiftForemanPhone is null");
            return (Criteria) this;
        }

        public Criteria andShiftforemanphoneIsNotNull() {
            addCriterion("shiftForemanPhone is not null");
            return (Criteria) this;
        }

        public Criteria andShiftforemanphoneEqualTo(String value) {
            addCriterion("shiftForemanPhone =", value, "shiftforemanphone");
            return (Criteria) this;
        }

        public Criteria andShiftforemanphoneNotEqualTo(String value) {
            addCriterion("shiftForemanPhone <>", value, "shiftforemanphone");
            return (Criteria) this;
        }

        public Criteria andShiftforemanphoneGreaterThan(String value) {
            addCriterion("shiftForemanPhone >", value, "shiftforemanphone");
            return (Criteria) this;
        }

        public Criteria andShiftforemanphoneGreaterThanOrEqualTo(String value) {
            addCriterion("shiftForemanPhone >=", value, "shiftforemanphone");
            return (Criteria) this;
        }

        public Criteria andShiftforemanphoneLessThan(String value) {
            addCriterion("shiftForemanPhone <", value, "shiftforemanphone");
            return (Criteria) this;
        }

        public Criteria andShiftforemanphoneLessThanOrEqualTo(String value) {
            addCriterion("shiftForemanPhone <=", value, "shiftforemanphone");
            return (Criteria) this;
        }

        public Criteria andShiftforemanphoneLike(String value) {
            addCriterion("shiftForemanPhone like", value, "shiftforemanphone");
            return (Criteria) this;
        }

        public Criteria andShiftforemanphoneNotLike(String value) {
            addCriterion("shiftForemanPhone not like", value, "shiftforemanphone");
            return (Criteria) this;
        }

        public Criteria andShiftforemanphoneIn(List<String> values) {
            addCriterion("shiftForemanPhone in", values, "shiftforemanphone");
            return (Criteria) this;
        }

        public Criteria andShiftforemanphoneNotIn(List<String> values) {
            addCriterion("shiftForemanPhone not in", values, "shiftforemanphone");
            return (Criteria) this;
        }

        public Criteria andShiftforemanphoneBetween(String value1, String value2) {
            addCriterion("shiftForemanPhone between", value1, value2, "shiftforemanphone");
            return (Criteria) this;
        }

        public Criteria andShiftforemanphoneNotBetween(String value1, String value2) {
            addCriterion("shiftForemanPhone not between", value1, value2, "shiftforemanphone");
            return (Criteria) this;
        }

        public Criteria andOrdernumIsNull() {
            addCriterion("orderNum is null");
            return (Criteria) this;
        }

        public Criteria andOrdernumIsNotNull() {
            addCriterion("orderNum is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernumEqualTo(Integer value) {
            addCriterion("orderNum =", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotEqualTo(Integer value) {
            addCriterion("orderNum <>", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumGreaterThan(Integer value) {
            addCriterion("orderNum >", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumGreaterThanOrEqualTo(Integer value) {
            addCriterion("orderNum >=", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLessThan(Integer value) {
            addCriterion("orderNum <", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLessThanOrEqualTo(Integer value) {
            addCriterion("orderNum <=", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumIn(List<Integer> values) {
            addCriterion("orderNum in", values, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotIn(List<Integer> values) {
            addCriterion("orderNum not in", values, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumBetween(Integer value1, Integer value2) {
            addCriterion("orderNum between", value1, value2, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotBetween(Integer value1, Integer value2) {
            addCriterion("orderNum not between", value1, value2, "ordernum");
            return (Criteria) this;
        }
    }

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