package com.goafanti.common.model;

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

public class BusinessVarietiesExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	public BusinessVarietiesExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	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 business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	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 business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	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 andCreateIdIsNull() {
			addCriterion("create_id is null");
			return (Criteria) this;
		}

		public Criteria andCreateIdIsNotNull() {
			addCriterion("create_id is not null");
			return (Criteria) this;
		}

		public Criteria andCreateIdEqualTo(String value) {
			addCriterion("create_id =", value, "createId");
			return (Criteria) this;
		}

		public Criteria andCreateIdNotEqualTo(String value) {
			addCriterion("create_id <>", value, "createId");
			return (Criteria) this;
		}

		public Criteria andCreateIdGreaterThan(String value) {
			addCriterion("create_id >", value, "createId");
			return (Criteria) this;
		}

		public Criteria andCreateIdGreaterThanOrEqualTo(String value) {
			addCriterion("create_id >=", value, "createId");
			return (Criteria) this;
		}

		public Criteria andCreateIdLessThan(String value) {
			addCriterion("create_id <", value, "createId");
			return (Criteria) this;
		}

		public Criteria andCreateIdLessThanOrEqualTo(String value) {
			addCriterion("create_id <=", value, "createId");
			return (Criteria) this;
		}

		public Criteria andCreateIdLike(String value) {
			addCriterion("create_id like", value, "createId");
			return (Criteria) this;
		}

		public Criteria andCreateIdNotLike(String value) {
			addCriterion("create_id not like", value, "createId");
			return (Criteria) this;
		}

		public Criteria andCreateIdIn(List<String> values) {
			addCriterion("create_id in", values, "createId");
			return (Criteria) this;
		}

		public Criteria andCreateIdNotIn(List<String> values) {
			addCriterion("create_id not in", values, "createId");
			return (Criteria) this;
		}

		public Criteria andCreateIdBetween(String value1, String value2) {
			addCriterion("create_id between", value1, value2, "createId");
			return (Criteria) this;
		}

		public Criteria andCreateIdNotBetween(String value1, String value2) {
			addCriterion("create_id not between", value1, value2, "createId");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNull() {
			addCriterion("create_time is null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNotNull() {
			addCriterion("create_time is not null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeEqualTo(Date value) {
			addCriterion("create_time =", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotEqualTo(Date value) {
			addCriterion("create_time <>", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThan(Date value) {
			addCriterion("create_time >", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("create_time >=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThan(Date value) {
			addCriterion("create_time <", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
			addCriterion("create_time <=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIn(List<Date> values) {
			addCriterion("create_time in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotIn(List<Date> values) {
			addCriterion("create_time not in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeBetween(Date value1, Date value2) {
			addCriterion("create_time between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
			addCriterion("create_time not between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIsNull() {
			addCriterion("update_time is null");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIsNotNull() {
			addCriterion("update_time is not null");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeEqualTo(Date value) {
			addCriterion("update_time =", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotEqualTo(Date value) {
			addCriterion("update_time <>", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeGreaterThan(Date value) {
			addCriterion("update_time >", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("update_time >=", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeLessThan(Date value) {
			addCriterion("update_time <", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
			addCriterion("update_time <=", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIn(List<Date> values) {
			addCriterion("update_time in", values, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotIn(List<Date> values) {
			addCriterion("update_time not in", values, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeBetween(Date value1, Date value2) {
			addCriterion("update_time between", value1, value2, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
			addCriterion("update_time not between", value1, value2, "updateTime");
			return (Criteria) this;
		}

		public Criteria andDeleteSignIsNull() {
			addCriterion("delete_sign is null");
			return (Criteria) this;
		}

		public Criteria andDeleteSignIsNotNull() {
			addCriterion("delete_sign is not null");
			return (Criteria) this;
		}

		public Criteria andDeleteSignEqualTo(Integer value) {
			addCriterion("delete_sign =", value, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignNotEqualTo(Integer value) {
			addCriterion("delete_sign <>", value, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignGreaterThan(Integer value) {
			addCriterion("delete_sign >", value, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignGreaterThanOrEqualTo(Integer value) {
			addCriterion("delete_sign >=", value, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignLessThan(Integer value) {
			addCriterion("delete_sign <", value, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignLessThanOrEqualTo(Integer value) {
			addCriterion("delete_sign <=", value, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignIn(List<Integer> values) {
			addCriterion("delete_sign in", values, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignNotIn(List<Integer> values) {
			addCriterion("delete_sign not in", values, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignBetween(Integer value1, Integer value2) {
			addCriterion("delete_sign between", value1, value2, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignNotBetween(Integer value1, Integer value2) {
			addCriterion("delete_sign not between", value1, value2, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andCidIsNull() {
			addCriterion("cid is null");
			return (Criteria) this;
		}

		public Criteria andCidIsNotNull() {
			addCriterion("cid is not null");
			return (Criteria) this;
		}

		public Criteria andCidEqualTo(String value) {
			addCriterion("cid =", value, "cid");
			return (Criteria) this;
		}

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

		public Criteria andCidGreaterThan(String value) {
			addCriterion("cid >", value, "cid");
			return (Criteria) this;
		}

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

		public Criteria andCidLessThan(String value) {
			addCriterion("cid <", value, "cid");
			return (Criteria) this;
		}

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

		public Criteria andCidLike(String value) {
			addCriterion("cid like", value, "cid");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andCnameIsNull() {
			addCriterion("cname is null");
			return (Criteria) this;
		}

		public Criteria andCnameIsNotNull() {
			addCriterion("cname is not null");
			return (Criteria) this;
		}

		public Criteria andCnameEqualTo(String value) {
			addCriterion("cname =", value, "cname");
			return (Criteria) this;
		}

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

		public Criteria andCnameGreaterThan(String value) {
			addCriterion("cname >", value, "cname");
			return (Criteria) this;
		}

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

		public Criteria andCnameLessThan(String value) {
			addCriterion("cname <", value, "cname");
			return (Criteria) this;
		}

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

		public Criteria andCnameLike(String value) {
			addCriterion("cname like", value, "cname");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andSuperIdIsNull() {
			addCriterion("super_id is null");
			return (Criteria) this;
		}

		public Criteria andSuperIdIsNotNull() {
			addCriterion("super_id is not null");
			return (Criteria) this;
		}

		public Criteria andSuperIdEqualTo(String value) {
			addCriterion("super_id =", value, "superId");
			return (Criteria) this;
		}

		public Criteria andSuperIdNotEqualTo(String value) {
			addCriterion("super_id <>", value, "superId");
			return (Criteria) this;
		}

		public Criteria andSuperIdGreaterThan(String value) {
			addCriterion("super_id >", value, "superId");
			return (Criteria) this;
		}

		public Criteria andSuperIdGreaterThanOrEqualTo(String value) {
			addCriterion("super_id >=", value, "superId");
			return (Criteria) this;
		}

		public Criteria andSuperIdLessThan(String value) {
			addCriterion("super_id <", value, "superId");
			return (Criteria) this;
		}

		public Criteria andSuperIdLessThanOrEqualTo(String value) {
			addCriterion("super_id <=", value, "superId");
			return (Criteria) this;
		}

		public Criteria andSuperIdLike(String value) {
			addCriterion("super_id like", value, "superId");
			return (Criteria) this;
		}

		public Criteria andSuperIdNotLike(String value) {
			addCriterion("super_id not like", value, "superId");
			return (Criteria) this;
		}

		public Criteria andSuperIdIn(List<String> values) {
			addCriterion("super_id in", values, "superId");
			return (Criteria) this;
		}

		public Criteria andSuperIdNotIn(List<String> values) {
			addCriterion("super_id not in", values, "superId");
			return (Criteria) this;
		}

		public Criteria andSuperIdBetween(String value1, String value2) {
			addCriterion("super_id between", value1, value2, "superId");
			return (Criteria) this;
		}

		public Criteria andSuperIdNotBetween(String value1, String value2) {
			addCriterion("super_id not between", value1, value2, "superId");
			return (Criteria) this;
		}

		public Criteria andLayerIsNull() {
			addCriterion("layer is null");
			return (Criteria) this;
		}

		public Criteria andLayerIsNotNull() {
			addCriterion("layer is not null");
			return (Criteria) this;
		}

		public Criteria andLayerEqualTo(Integer value) {
			addCriterion("layer =", value, "layer");
			return (Criteria) this;
		}

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

		public Criteria andLayerGreaterThan(Integer value) {
			addCriterion("layer >", value, "layer");
			return (Criteria) this;
		}

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

		public Criteria andLayerLessThan(Integer value) {
			addCriterion("layer <", value, "layer");
			return (Criteria) this;
		}

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

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

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

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

		public Criteria andLayerNotBetween(Integer value1, Integer value2) {
			addCriterion("layer not between", value1, value2, "layer");
			return (Criteria) this;
		}

		public Criteria andStatusIsNull() {
			addCriterion("status is null");
			return (Criteria) this;
		}

		public Criteria andStatusIsNotNull() {
			addCriterion("status is not null");
			return (Criteria) this;
		}

		public Criteria andStatusEqualTo(String value) {
			addCriterion("status =", value, "status");
			return (Criteria) this;
		}

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

		public Criteria andStatusGreaterThan(String value) {
			addCriterion("status >", value, "status");
			return (Criteria) this;
		}

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

		public Criteria andStatusLessThan(String value) {
			addCriterion("status <", value, "status");
			return (Criteria) this;
		}

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

		public Criteria andStatusLike(String value) {
			addCriterion("status like", value, "status");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andVarietiesLogoIsNull() {
			addCriterion("varieties_logo is null");
			return (Criteria) this;
		}

		public Criteria andVarietiesLogoIsNotNull() {
			addCriterion("varieties_logo is not null");
			return (Criteria) this;
		}

		public Criteria andVarietiesLogoEqualTo(String value) {
			addCriterion("varieties_logo =", value, "varietiesLogo");
			return (Criteria) this;
		}

		public Criteria andVarietiesLogoNotEqualTo(String value) {
			addCriterion("varieties_logo <>", value, "varietiesLogo");
			return (Criteria) this;
		}

		public Criteria andVarietiesLogoGreaterThan(String value) {
			addCriterion("varieties_logo >", value, "varietiesLogo");
			return (Criteria) this;
		}

		public Criteria andVarietiesLogoGreaterThanOrEqualTo(String value) {
			addCriterion("varieties_logo >=", value, "varietiesLogo");
			return (Criteria) this;
		}

		public Criteria andVarietiesLogoLessThan(String value) {
			addCriterion("varieties_logo <", value, "varietiesLogo");
			return (Criteria) this;
		}

		public Criteria andVarietiesLogoLessThanOrEqualTo(String value) {
			addCriterion("varieties_logo <=", value, "varietiesLogo");
			return (Criteria) this;
		}

		public Criteria andVarietiesLogoLike(String value) {
			addCriterion("varieties_logo like", value, "varietiesLogo");
			return (Criteria) this;
		}

		public Criteria andVarietiesLogoNotLike(String value) {
			addCriterion("varieties_logo not like", value, "varietiesLogo");
			return (Criteria) this;
		}

		public Criteria andVarietiesLogoIn(List<String> values) {
			addCriterion("varieties_logo in", values, "varietiesLogo");
			return (Criteria) this;
		}

		public Criteria andVarietiesLogoNotIn(List<String> values) {
			addCriterion("varieties_logo not in", values, "varietiesLogo");
			return (Criteria) this;
		}

		public Criteria andVarietiesLogoBetween(String value1, String value2) {
			addCriterion("varieties_logo between", value1, value2, "varietiesLogo");
			return (Criteria) this;
		}

		public Criteria andVarietiesLogoNotBetween(String value1, String value2) {
			addCriterion("varieties_logo not between", value1, value2, "varietiesLogo");
			return (Criteria) this;
		}

		public Criteria andSortIsNull() {
			addCriterion("sort is null");
			return (Criteria) this;
		}

		public Criteria andSortIsNotNull() {
			addCriterion("sort is not null");
			return (Criteria) this;
		}

		public Criteria andSortEqualTo(Integer value) {
			addCriterion("sort =", value, "sort");
			return (Criteria) this;
		}

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

		public Criteria andSortGreaterThan(Integer value) {
			addCriterion("sort >", value, "sort");
			return (Criteria) this;
		}

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

		public Criteria andSortLessThan(Integer value) {
			addCriterion("sort <", value, "sort");
			return (Criteria) this;
		}

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

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

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

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

		public Criteria andSortNotBetween(Integer value1, Integer value2) {
			addCriterion("sort not between", value1, value2, "sort");
			return (Criteria) this;
		}
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table business_varieties
	 * @mbg.generated  Tue Jan 09 15:08:39 CST 2018
	 */
	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);
		}
	}

	/**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table business_varieties
     *
     * @mbg.generated do_not_delete_during_merge Thu Nov 30 10:03:07 CST 2017
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }
}