package com.goafanti.common.model;

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

public class AppConfigExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	public AppConfigExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 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 app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 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 app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 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 app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 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 app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 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(Integer value) {
			addCriterion("id =", value, "id");
			return (Criteria) this;
		}

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

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

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

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

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

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

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

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

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

		public Criteria andReleaseVersionIsNull() {
			addCriterion("release_version is null");
			return (Criteria) this;
		}

		public Criteria andReleaseVersionIsNotNull() {
			addCriterion("release_version is not null");
			return (Criteria) this;
		}

		public Criteria andReleaseVersionEqualTo(String value) {
			addCriterion("release_version =", value, "releaseVersion");
			return (Criteria) this;
		}

		public Criteria andReleaseVersionNotEqualTo(String value) {
			addCriterion("release_version <>", value, "releaseVersion");
			return (Criteria) this;
		}

		public Criteria andReleaseVersionGreaterThan(String value) {
			addCriterion("release_version >", value, "releaseVersion");
			return (Criteria) this;
		}

		public Criteria andReleaseVersionGreaterThanOrEqualTo(String value) {
			addCriterion("release_version >=", value, "releaseVersion");
			return (Criteria) this;
		}

		public Criteria andReleaseVersionLessThan(String value) {
			addCriterion("release_version <", value, "releaseVersion");
			return (Criteria) this;
		}

		public Criteria andReleaseVersionLessThanOrEqualTo(String value) {
			addCriterion("release_version <=", value, "releaseVersion");
			return (Criteria) this;
		}

		public Criteria andReleaseVersionLike(String value) {
			addCriterion("release_version like", value, "releaseVersion");
			return (Criteria) this;
		}

		public Criteria andReleaseVersionNotLike(String value) {
			addCriterion("release_version not like", value, "releaseVersion");
			return (Criteria) this;
		}

		public Criteria andReleaseVersionIn(List<String> values) {
			addCriterion("release_version in", values, "releaseVersion");
			return (Criteria) this;
		}

		public Criteria andReleaseVersionNotIn(List<String> values) {
			addCriterion("release_version not in", values, "releaseVersion");
			return (Criteria) this;
		}

		public Criteria andReleaseVersionBetween(String value1, String value2) {
			addCriterion("release_version between", value1, value2, "releaseVersion");
			return (Criteria) this;
		}

		public Criteria andReleaseVersionNotBetween(String value1, String value2) {
			addCriterion("release_version not between", value1, value2, "releaseVersion");
			return (Criteria) this;
		}

		public Criteria andReleaseDescIsNull() {
			addCriterion("release_desc is null");
			return (Criteria) this;
		}

		public Criteria andReleaseDescIsNotNull() {
			addCriterion("release_desc is not null");
			return (Criteria) this;
		}

		public Criteria andReleaseDescEqualTo(String value) {
			addCriterion("release_desc =", value, "releaseDesc");
			return (Criteria) this;
		}

		public Criteria andReleaseDescNotEqualTo(String value) {
			addCriterion("release_desc <>", value, "releaseDesc");
			return (Criteria) this;
		}

		public Criteria andReleaseDescGreaterThan(String value) {
			addCriterion("release_desc >", value, "releaseDesc");
			return (Criteria) this;
		}

		public Criteria andReleaseDescGreaterThanOrEqualTo(String value) {
			addCriterion("release_desc >=", value, "releaseDesc");
			return (Criteria) this;
		}

		public Criteria andReleaseDescLessThan(String value) {
			addCriterion("release_desc <", value, "releaseDesc");
			return (Criteria) this;
		}

		public Criteria andReleaseDescLessThanOrEqualTo(String value) {
			addCriterion("release_desc <=", value, "releaseDesc");
			return (Criteria) this;
		}

		public Criteria andReleaseDescLike(String value) {
			addCriterion("release_desc like", value, "releaseDesc");
			return (Criteria) this;
		}

		public Criteria andReleaseDescNotLike(String value) {
			addCriterion("release_desc not like", value, "releaseDesc");
			return (Criteria) this;
		}

		public Criteria andReleaseDescIn(List<String> values) {
			addCriterion("release_desc in", values, "releaseDesc");
			return (Criteria) this;
		}

		public Criteria andReleaseDescNotIn(List<String> values) {
			addCriterion("release_desc not in", values, "releaseDesc");
			return (Criteria) this;
		}

		public Criteria andReleaseDescBetween(String value1, String value2) {
			addCriterion("release_desc between", value1, value2, "releaseDesc");
			return (Criteria) this;
		}

		public Criteria andReleaseDescNotBetween(String value1, String value2) {
			addCriterion("release_desc not between", value1, value2, "releaseDesc");
			return (Criteria) this;
		}

		public Criteria andReleaseDateIsNull() {
			addCriterion("release_date is null");
			return (Criteria) this;
		}

		public Criteria andReleaseDateIsNotNull() {
			addCriterion("release_date is not null");
			return (Criteria) this;
		}

		public Criteria andReleaseDateEqualTo(Date value) {
			addCriterion("release_date =", value, "releaseDate");
			return (Criteria) this;
		}

		public Criteria andReleaseDateNotEqualTo(Date value) {
			addCriterion("release_date <>", value, "releaseDate");
			return (Criteria) this;
		}

		public Criteria andReleaseDateGreaterThan(Date value) {
			addCriterion("release_date >", value, "releaseDate");
			return (Criteria) this;
		}

		public Criteria andReleaseDateGreaterThanOrEqualTo(Date value) {
			addCriterion("release_date >=", value, "releaseDate");
			return (Criteria) this;
		}

		public Criteria andReleaseDateLessThan(Date value) {
			addCriterion("release_date <", value, "releaseDate");
			return (Criteria) this;
		}

		public Criteria andReleaseDateLessThanOrEqualTo(Date value) {
			addCriterion("release_date <=", value, "releaseDate");
			return (Criteria) this;
		}

		public Criteria andReleaseDateIn(List<Date> values) {
			addCriterion("release_date in", values, "releaseDate");
			return (Criteria) this;
		}

		public Criteria andReleaseDateNotIn(List<Date> values) {
			addCriterion("release_date not in", values, "releaseDate");
			return (Criteria) this;
		}

		public Criteria andReleaseDateBetween(Date value1, Date value2) {
			addCriterion("release_date between", value1, value2, "releaseDate");
			return (Criteria) this;
		}

		public Criteria andReleaseDateNotBetween(Date value1, Date value2) {
			addCriterion("release_date not between", value1, value2, "releaseDate");
			return (Criteria) this;
		}

		public Criteria andAppUrlIsNull() {
			addCriterion("app_url is null");
			return (Criteria) this;
		}

		public Criteria andAppUrlIsNotNull() {
			addCriterion("app_url is not null");
			return (Criteria) this;
		}

		public Criteria andAppUrlEqualTo(String value) {
			addCriterion("app_url =", value, "appUrl");
			return (Criteria) this;
		}

		public Criteria andAppUrlNotEqualTo(String value) {
			addCriterion("app_url <>", value, "appUrl");
			return (Criteria) this;
		}

		public Criteria andAppUrlGreaterThan(String value) {
			addCriterion("app_url >", value, "appUrl");
			return (Criteria) this;
		}

		public Criteria andAppUrlGreaterThanOrEqualTo(String value) {
			addCriterion("app_url >=", value, "appUrl");
			return (Criteria) this;
		}

		public Criteria andAppUrlLessThan(String value) {
			addCriterion("app_url <", value, "appUrl");
			return (Criteria) this;
		}

		public Criteria andAppUrlLessThanOrEqualTo(String value) {
			addCriterion("app_url <=", value, "appUrl");
			return (Criteria) this;
		}

		public Criteria andAppUrlLike(String value) {
			addCriterion("app_url like", value, "appUrl");
			return (Criteria) this;
		}

		public Criteria andAppUrlNotLike(String value) {
			addCriterion("app_url not like", value, "appUrl");
			return (Criteria) this;
		}

		public Criteria andAppUrlIn(List<String> values) {
			addCriterion("app_url in", values, "appUrl");
			return (Criteria) this;
		}

		public Criteria andAppUrlNotIn(List<String> values) {
			addCriterion("app_url not in", values, "appUrl");
			return (Criteria) this;
		}

		public Criteria andAppUrlBetween(String value1, String value2) {
			addCriterion("app_url between", value1, value2, "appUrl");
			return (Criteria) this;
		}

		public Criteria andAppUrlNotBetween(String value1, String value2) {
			addCriterion("app_url not between", value1, value2, "appUrl");
			return (Criteria) this;
		}

		public Criteria andForceUpdateIsNull() {
			addCriterion("force_update is null");
			return (Criteria) this;
		}

		public Criteria andForceUpdateIsNotNull() {
			addCriterion("force_update is not null");
			return (Criteria) this;
		}

		public Criteria andForceUpdateEqualTo(Integer value) {
			addCriterion("force_update =", value, "forceUpdate");
			return (Criteria) this;
		}

		public Criteria andForceUpdateNotEqualTo(Integer value) {
			addCriterion("force_update <>", value, "forceUpdate");
			return (Criteria) this;
		}

		public Criteria andForceUpdateGreaterThan(Integer value) {
			addCriterion("force_update >", value, "forceUpdate");
			return (Criteria) this;
		}

		public Criteria andForceUpdateGreaterThanOrEqualTo(Integer value) {
			addCriterion("force_update >=", value, "forceUpdate");
			return (Criteria) this;
		}

		public Criteria andForceUpdateLessThan(Integer value) {
			addCriterion("force_update <", value, "forceUpdate");
			return (Criteria) this;
		}

		public Criteria andForceUpdateLessThanOrEqualTo(Integer value) {
			addCriterion("force_update <=", value, "forceUpdate");
			return (Criteria) this;
		}

		public Criteria andForceUpdateIn(List<Integer> values) {
			addCriterion("force_update in", values, "forceUpdate");
			return (Criteria) this;
		}

		public Criteria andForceUpdateNotIn(List<Integer> values) {
			addCriterion("force_update not in", values, "forceUpdate");
			return (Criteria) this;
		}

		public Criteria andForceUpdateBetween(Integer value1, Integer value2) {
			addCriterion("force_update between", value1, value2, "forceUpdate");
			return (Criteria) this;
		}

		public Criteria andForceUpdateNotBetween(Integer value1, Integer value2) {
			addCriterion("force_update not between", value1, value2, "forceUpdate");
			return (Criteria) this;
		}

		public Criteria andReleaseCodeIsNull() {
			addCriterion("release_code is null");
			return (Criteria) this;
		}

		public Criteria andReleaseCodeIsNotNull() {
			addCriterion("release_code is not null");
			return (Criteria) this;
		}

		public Criteria andReleaseCodeEqualTo(Integer value) {
			addCriterion("release_code =", value, "releaseCode");
			return (Criteria) this;
		}

		public Criteria andReleaseCodeNotEqualTo(Integer value) {
			addCriterion("release_code <>", value, "releaseCode");
			return (Criteria) this;
		}

		public Criteria andReleaseCodeGreaterThan(Integer value) {
			addCriterion("release_code >", value, "releaseCode");
			return (Criteria) this;
		}

		public Criteria andReleaseCodeGreaterThanOrEqualTo(Integer value) {
			addCriterion("release_code >=", value, "releaseCode");
			return (Criteria) this;
		}

		public Criteria andReleaseCodeLessThan(Integer value) {
			addCriterion("release_code <", value, "releaseCode");
			return (Criteria) this;
		}

		public Criteria andReleaseCodeLessThanOrEqualTo(Integer value) {
			addCriterion("release_code <=", value, "releaseCode");
			return (Criteria) this;
		}

		public Criteria andReleaseCodeIn(List<Integer> values) {
			addCriterion("release_code in", values, "releaseCode");
			return (Criteria) this;
		}

		public Criteria andReleaseCodeNotIn(List<Integer> values) {
			addCriterion("release_code not in", values, "releaseCode");
			return (Criteria) this;
		}

		public Criteria andReleaseCodeBetween(Integer value1, Integer value2) {
			addCriterion("release_code between", value1, value2, "releaseCode");
			return (Criteria) this;
		}

		public Criteria andReleaseCodeNotBetween(Integer value1, Integer value2) {
			addCriterion("release_code not between", value1, value2, "releaseCode");
			return (Criteria) this;
		}
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 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 app_config
     *
     * @mbg.generated do_not_delete_during_merge Wed Jan 24 16:14:16 CST 2018
     */
    public static class Criteria extends GeneratedCriteria {

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