package com.goafanti.common.model;

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

public class BannersExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	public BannersExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 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 banners
	 * @mbg.generated  Thu Aug 30 08:27:53 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 banners
	 * @mbg.generated  Thu Aug 30 08:27:53 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 banners
	 * @mbg.generated  Thu Aug 30 08:27:53 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 banners
	 * @mbg.generated  Thu Aug 30 08:27:53 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 andTextIsNull() {
			addCriterion("text is null");
			return (Criteria) this;
		}

		public Criteria andTextIsNotNull() {
			addCriterion("text is not null");
			return (Criteria) this;
		}

		public Criteria andTextEqualTo(String value) {
			addCriterion("text =", value, "text");
			return (Criteria) this;
		}

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

		public Criteria andTextGreaterThan(String value) {
			addCriterion("text >", value, "text");
			return (Criteria) this;
		}

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

		public Criteria andTextLessThan(String value) {
			addCriterion("text <", value, "text");
			return (Criteria) this;
		}

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

		public Criteria andTextLike(String value) {
			addCriterion("text like", value, "text");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andImgUrlIsNull() {
			addCriterion("img_url is null");
			return (Criteria) this;
		}

		public Criteria andImgUrlIsNotNull() {
			addCriterion("img_url is not null");
			return (Criteria) this;
		}

		public Criteria andImgUrlEqualTo(String value) {
			addCriterion("img_url =", value, "imgUrl");
			return (Criteria) this;
		}

		public Criteria andImgUrlNotEqualTo(String value) {
			addCriterion("img_url <>", value, "imgUrl");
			return (Criteria) this;
		}

		public Criteria andImgUrlGreaterThan(String value) {
			addCriterion("img_url >", value, "imgUrl");
			return (Criteria) this;
		}

		public Criteria andImgUrlGreaterThanOrEqualTo(String value) {
			addCriterion("img_url >=", value, "imgUrl");
			return (Criteria) this;
		}

		public Criteria andImgUrlLessThan(String value) {
			addCriterion("img_url <", value, "imgUrl");
			return (Criteria) this;
		}

		public Criteria andImgUrlLessThanOrEqualTo(String value) {
			addCriterion("img_url <=", value, "imgUrl");
			return (Criteria) this;
		}

		public Criteria andImgUrlLike(String value) {
			addCriterion("img_url like", value, "imgUrl");
			return (Criteria) this;
		}

		public Criteria andImgUrlNotLike(String value) {
			addCriterion("img_url not like", value, "imgUrl");
			return (Criteria) this;
		}

		public Criteria andImgUrlIn(List<String> values) {
			addCriterion("img_url in", values, "imgUrl");
			return (Criteria) this;
		}

		public Criteria andImgUrlNotIn(List<String> values) {
			addCriterion("img_url not in", values, "imgUrl");
			return (Criteria) this;
		}

		public Criteria andImgUrlBetween(String value1, String value2) {
			addCriterion("img_url between", value1, value2, "imgUrl");
			return (Criteria) this;
		}

		public Criteria andImgUrlNotBetween(String value1, String value2) {
			addCriterion("img_url not between", value1, value2, "imgUrl");
			return (Criteria) this;
		}

		public Criteria andApiUrlIsNull() {
			addCriterion("api_url is null");
			return (Criteria) this;
		}

		public Criteria andApiUrlIsNotNull() {
			addCriterion("api_url is not null");
			return (Criteria) this;
		}

		public Criteria andApiUrlEqualTo(String value) {
			addCriterion("api_url =", value, "apiUrl");
			return (Criteria) this;
		}

		public Criteria andApiUrlNotEqualTo(String value) {
			addCriterion("api_url <>", value, "apiUrl");
			return (Criteria) this;
		}

		public Criteria andApiUrlGreaterThan(String value) {
			addCriterion("api_url >", value, "apiUrl");
			return (Criteria) this;
		}

		public Criteria andApiUrlGreaterThanOrEqualTo(String value) {
			addCriterion("api_url >=", value, "apiUrl");
			return (Criteria) this;
		}

		public Criteria andApiUrlLessThan(String value) {
			addCriterion("api_url <", value, "apiUrl");
			return (Criteria) this;
		}

		public Criteria andApiUrlLessThanOrEqualTo(String value) {
			addCriterion("api_url <=", value, "apiUrl");
			return (Criteria) this;
		}

		public Criteria andApiUrlLike(String value) {
			addCriterion("api_url like", value, "apiUrl");
			return (Criteria) this;
		}

		public Criteria andApiUrlNotLike(String value) {
			addCriterion("api_url not like", value, "apiUrl");
			return (Criteria) this;
		}

		public Criteria andApiUrlIn(List<String> values) {
			addCriterion("api_url in", values, "apiUrl");
			return (Criteria) this;
		}

		public Criteria andApiUrlNotIn(List<String> values) {
			addCriterion("api_url not in", values, "apiUrl");
			return (Criteria) this;
		}

		public Criteria andApiUrlBetween(String value1, String value2) {
			addCriterion("api_url between", value1, value2, "apiUrl");
			return (Criteria) this;
		}

		public Criteria andApiUrlNotBetween(String value1, String value2) {
			addCriterion("api_url not between", value1, value2, "apiUrl");
			return (Criteria) this;
		}

		public Criteria andForwardUrlIsNull() {
			addCriterion("forward_url is null");
			return (Criteria) this;
		}

		public Criteria andForwardUrlIsNotNull() {
			addCriterion("forward_url is not null");
			return (Criteria) this;
		}

		public Criteria andForwardUrlEqualTo(String value) {
			addCriterion("forward_url =", value, "forwardUrl");
			return (Criteria) this;
		}

		public Criteria andForwardUrlNotEqualTo(String value) {
			addCriterion("forward_url <>", value, "forwardUrl");
			return (Criteria) this;
		}

		public Criteria andForwardUrlGreaterThan(String value) {
			addCriterion("forward_url >", value, "forwardUrl");
			return (Criteria) this;
		}

		public Criteria andForwardUrlGreaterThanOrEqualTo(String value) {
			addCriterion("forward_url >=", value, "forwardUrl");
			return (Criteria) this;
		}

		public Criteria andForwardUrlLessThan(String value) {
			addCriterion("forward_url <", value, "forwardUrl");
			return (Criteria) this;
		}

		public Criteria andForwardUrlLessThanOrEqualTo(String value) {
			addCriterion("forward_url <=", value, "forwardUrl");
			return (Criteria) this;
		}

		public Criteria andForwardUrlLike(String value) {
			addCriterion("forward_url like", value, "forwardUrl");
			return (Criteria) this;
		}

		public Criteria andForwardUrlNotLike(String value) {
			addCriterion("forward_url not like", value, "forwardUrl");
			return (Criteria) this;
		}

		public Criteria andForwardUrlIn(List<String> values) {
			addCriterion("forward_url in", values, "forwardUrl");
			return (Criteria) this;
		}

		public Criteria andForwardUrlNotIn(List<String> values) {
			addCriterion("forward_url not in", values, "forwardUrl");
			return (Criteria) this;
		}

		public Criteria andForwardUrlBetween(String value1, String value2) {
			addCriterion("forward_url between", value1, value2, "forwardUrl");
			return (Criteria) this;
		}

		public Criteria andForwardUrlNotBetween(String value1, String value2) {
			addCriterion("forward_url not between", value1, value2, "forwardUrl");
			return (Criteria) this;
		}

		public Criteria andWidthIsNull() {
			addCriterion("width is null");
			return (Criteria) this;
		}

		public Criteria andWidthIsNotNull() {
			addCriterion("width is not null");
			return (Criteria) this;
		}

		public Criteria andWidthEqualTo(Integer value) {
			addCriterion("width =", value, "width");
			return (Criteria) this;
		}

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

		public Criteria andWidthGreaterThan(Integer value) {
			addCriterion("width >", value, "width");
			return (Criteria) this;
		}

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

		public Criteria andWidthLessThan(Integer value) {
			addCriterion("width <", value, "width");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andHeightIsNull() {
			addCriterion("height is null");
			return (Criteria) this;
		}

		public Criteria andHeightIsNotNull() {
			addCriterion("height is not null");
			return (Criteria) this;
		}

		public Criteria andHeightEqualTo(Integer value) {
			addCriterion("height =", value, "height");
			return (Criteria) this;
		}

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

		public Criteria andHeightGreaterThan(Integer value) {
			addCriterion("height >", value, "height");
			return (Criteria) this;
		}

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

		public Criteria andHeightLessThan(Integer value) {
			addCriterion("height <", value, "height");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andClientIsNull() {
			addCriterion("client is null");
			return (Criteria) this;
		}

		public Criteria andClientIsNotNull() {
			addCriterion("client is not null");
			return (Criteria) this;
		}

		public Criteria andClientEqualTo(Integer value) {
			addCriterion("client =", value, "client");
			return (Criteria) this;
		}

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

		public Criteria andClientGreaterThan(Integer value) {
			addCriterion("client >", value, "client");
			return (Criteria) this;
		}

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

		public Criteria andClientLessThan(Integer value) {
			addCriterion("client <", value, "client");
			return (Criteria) this;
		}

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

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

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

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

		public Criteria andClientNotBetween(Integer value1, Integer value2) {
			addCriterion("client not between", value1, value2, "client");
			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(Boolean value) {
			addCriterion("delete_sign =", value, "deleteSign");
			return (Criteria) this;
		}

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

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

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

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

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

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

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

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

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

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 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 banners
     *
     * @mbg.generated do_not_delete_during_merge Thu Aug 30 08:14:36 CST 2018
     */
    public static class Criteria extends GeneratedCriteria {

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