package com.goafanti.common.model;

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

public class JpushEasemobAccountExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	public JpushEasemobAccountExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	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 jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	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 jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	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 andUuidIsNull() {
			addCriterion("uuid is null");
			return (Criteria) this;
		}

		public Criteria andUuidIsNotNull() {
			addCriterion("uuid is not null");
			return (Criteria) this;
		}

		public Criteria andUuidEqualTo(String value) {
			addCriterion("uuid =", value, "uuid");
			return (Criteria) this;
		}

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

		public Criteria andUuidGreaterThan(String value) {
			addCriterion("uuid >", value, "uuid");
			return (Criteria) this;
		}

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

		public Criteria andUuidLessThan(String value) {
			addCriterion("uuid <", value, "uuid");
			return (Criteria) this;
		}

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

		public Criteria andUuidLike(String value) {
			addCriterion("uuid like", value, "uuid");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andRegistrationIdIsNull() {
			addCriterion("registration_id is null");
			return (Criteria) this;
		}

		public Criteria andRegistrationIdIsNotNull() {
			addCriterion("registration_id is not null");
			return (Criteria) this;
		}

		public Criteria andRegistrationIdEqualTo(String value) {
			addCriterion("registration_id =", value, "registrationId");
			return (Criteria) this;
		}

		public Criteria andRegistrationIdNotEqualTo(String value) {
			addCriterion("registration_id <>", value, "registrationId");
			return (Criteria) this;
		}

		public Criteria andRegistrationIdGreaterThan(String value) {
			addCriterion("registration_id >", value, "registrationId");
			return (Criteria) this;
		}

		public Criteria andRegistrationIdGreaterThanOrEqualTo(String value) {
			addCriterion("registration_id >=", value, "registrationId");
			return (Criteria) this;
		}

		public Criteria andRegistrationIdLessThan(String value) {
			addCriterion("registration_id <", value, "registrationId");
			return (Criteria) this;
		}

		public Criteria andRegistrationIdLessThanOrEqualTo(String value) {
			addCriterion("registration_id <=", value, "registrationId");
			return (Criteria) this;
		}

		public Criteria andRegistrationIdLike(String value) {
			addCriterion("registration_id like", value, "registrationId");
			return (Criteria) this;
		}

		public Criteria andRegistrationIdNotLike(String value) {
			addCriterion("registration_id not like", value, "registrationId");
			return (Criteria) this;
		}

		public Criteria andRegistrationIdIn(List<String> values) {
			addCriterion("registration_id in", values, "registrationId");
			return (Criteria) this;
		}

		public Criteria andRegistrationIdNotIn(List<String> values) {
			addCriterion("registration_id not in", values, "registrationId");
			return (Criteria) this;
		}

		public Criteria andRegistrationIdBetween(String value1, String value2) {
			addCriterion("registration_id between", value1, value2, "registrationId");
			return (Criteria) this;
		}

		public Criteria andRegistrationIdNotBetween(String value1, String value2) {
			addCriterion("registration_id not between", value1, value2, "registrationId");
			return (Criteria) this;
		}

		public Criteria andUidIsNull() {
			addCriterion("uid is null");
			return (Criteria) this;
		}

		public Criteria andUidIsNotNull() {
			addCriterion("uid is not null");
			return (Criteria) this;
		}

		public Criteria andUidEqualTo(String value) {
			addCriterion("uid =", value, "uid");
			return (Criteria) this;
		}

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

		public Criteria andUidGreaterThan(String value) {
			addCriterion("uid >", value, "uid");
			return (Criteria) this;
		}

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

		public Criteria andUidLessThan(String value) {
			addCriterion("uid <", value, "uid");
			return (Criteria) this;
		}

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

		public Criteria andUidLike(String value) {
			addCriterion("uid like", value, "uid");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andTagIsNull() {
			addCriterion("tag is null");
			return (Criteria) this;
		}

		public Criteria andTagIsNotNull() {
			addCriterion("tag is not null");
			return (Criteria) this;
		}

		public Criteria andTagEqualTo(String value) {
			addCriterion("tag =", value, "tag");
			return (Criteria) this;
		}

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

		public Criteria andTagGreaterThan(String value) {
			addCriterion("tag >", value, "tag");
			return (Criteria) this;
		}

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

		public Criteria andTagLessThan(String value) {
			addCriterion("tag <", value, "tag");
			return (Criteria) this;
		}

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

		public Criteria andTagLike(String value) {
			addCriterion("tag like", value, "tag");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andGroupIdIsNull() {
			addCriterion("group_id is null");
			return (Criteria) this;
		}

		public Criteria andGroupIdIsNotNull() {
			addCriterion("group_id is not null");
			return (Criteria) this;
		}

		public Criteria andGroupIdEqualTo(String value) {
			addCriterion("group_id =", value, "groupId");
			return (Criteria) this;
		}

		public Criteria andGroupIdNotEqualTo(String value) {
			addCriterion("group_id <>", value, "groupId");
			return (Criteria) this;
		}

		public Criteria andGroupIdGreaterThan(String value) {
			addCriterion("group_id >", value, "groupId");
			return (Criteria) this;
		}

		public Criteria andGroupIdGreaterThanOrEqualTo(String value) {
			addCriterion("group_id >=", value, "groupId");
			return (Criteria) this;
		}

		public Criteria andGroupIdLessThan(String value) {
			addCriterion("group_id <", value, "groupId");
			return (Criteria) this;
		}

		public Criteria andGroupIdLessThanOrEqualTo(String value) {
			addCriterion("group_id <=", value, "groupId");
			return (Criteria) this;
		}

		public Criteria andGroupIdLike(String value) {
			addCriterion("group_id like", value, "groupId");
			return (Criteria) this;
		}

		public Criteria andGroupIdNotLike(String value) {
			addCriterion("group_id not like", value, "groupId");
			return (Criteria) this;
		}

		public Criteria andGroupIdIn(List<String> values) {
			addCriterion("group_id in", values, "groupId");
			return (Criteria) this;
		}

		public Criteria andGroupIdNotIn(List<String> values) {
			addCriterion("group_id not in", values, "groupId");
			return (Criteria) this;
		}

		public Criteria andGroupIdBetween(String value1, String value2) {
			addCriterion("group_id between", value1, value2, "groupId");
			return (Criteria) this;
		}

		public Criteria andGroupIdNotBetween(String value1, String value2) {
			addCriterion("group_id not between", value1, value2, "groupId");
			return (Criteria) this;
		}

		public Criteria andLastLoginTimeIsNull() {
			addCriterion("last_login_time is null");
			return (Criteria) this;
		}

		public Criteria andLastLoginTimeIsNotNull() {
			addCriterion("last_login_time is not null");
			return (Criteria) this;
		}

		public Criteria andLastLoginTimeEqualTo(Date value) {
			addCriterion("last_login_time =", value, "lastLoginTime");
			return (Criteria) this;
		}

		public Criteria andLastLoginTimeNotEqualTo(Date value) {
			addCriterion("last_login_time <>", value, "lastLoginTime");
			return (Criteria) this;
		}

		public Criteria andLastLoginTimeGreaterThan(Date value) {
			addCriterion("last_login_time >", value, "lastLoginTime");
			return (Criteria) this;
		}

		public Criteria andLastLoginTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("last_login_time >=", value, "lastLoginTime");
			return (Criteria) this;
		}

		public Criteria andLastLoginTimeLessThan(Date value) {
			addCriterion("last_login_time <", value, "lastLoginTime");
			return (Criteria) this;
		}

		public Criteria andLastLoginTimeLessThanOrEqualTo(Date value) {
			addCriterion("last_login_time <=", value, "lastLoginTime");
			return (Criteria) this;
		}

		public Criteria andLastLoginTimeIn(List<Date> values) {
			addCriterion("last_login_time in", values, "lastLoginTime");
			return (Criteria) this;
		}

		public Criteria andLastLoginTimeNotIn(List<Date> values) {
			addCriterion("last_login_time not in", values, "lastLoginTime");
			return (Criteria) this;
		}

		public Criteria andLastLoginTimeBetween(Date value1, Date value2) {
			addCriterion("last_login_time between", value1, value2, "lastLoginTime");
			return (Criteria) this;
		}

		public Criteria andLastLoginTimeNotBetween(Date value1, Date value2) {
			addCriterion("last_login_time not between", value1, value2, "lastLoginTime");
			return (Criteria) this;
		}

		public Criteria andEasemobNameIsNull() {
			addCriterion("easemob_name is null");
			return (Criteria) this;
		}

		public Criteria andEasemobNameIsNotNull() {
			addCriterion("easemob_name is not null");
			return (Criteria) this;
		}

		public Criteria andEasemobNameEqualTo(String value) {
			addCriterion("easemob_name =", value, "easemobName");
			return (Criteria) this;
		}

		public Criteria andEasemobNameNotEqualTo(String value) {
			addCriterion("easemob_name <>", value, "easemobName");
			return (Criteria) this;
		}

		public Criteria andEasemobNameGreaterThan(String value) {
			addCriterion("easemob_name >", value, "easemobName");
			return (Criteria) this;
		}

		public Criteria andEasemobNameGreaterThanOrEqualTo(String value) {
			addCriterion("easemob_name >=", value, "easemobName");
			return (Criteria) this;
		}

		public Criteria andEasemobNameLessThan(String value) {
			addCriterion("easemob_name <", value, "easemobName");
			return (Criteria) this;
		}

		public Criteria andEasemobNameLessThanOrEqualTo(String value) {
			addCriterion("easemob_name <=", value, "easemobName");
			return (Criteria) this;
		}

		public Criteria andEasemobNameLike(String value) {
			addCriterion("easemob_name like", value, "easemobName");
			return (Criteria) this;
		}

		public Criteria andEasemobNameNotLike(String value) {
			addCriterion("easemob_name not like", value, "easemobName");
			return (Criteria) this;
		}

		public Criteria andEasemobNameIn(List<String> values) {
			addCriterion("easemob_name in", values, "easemobName");
			return (Criteria) this;
		}

		public Criteria andEasemobNameNotIn(List<String> values) {
			addCriterion("easemob_name not in", values, "easemobName");
			return (Criteria) this;
		}

		public Criteria andEasemobNameBetween(String value1, String value2) {
			addCriterion("easemob_name between", value1, value2, "easemobName");
			return (Criteria) this;
		}

		public Criteria andEasemobNameNotBetween(String value1, String value2) {
			addCriterion("easemob_name not between", value1, value2, "easemobName");
			return (Criteria) this;
		}

		public Criteria andEasemobPassIsNull() {
			addCriterion("easemob_pass is null");
			return (Criteria) this;
		}

		public Criteria andEasemobPassIsNotNull() {
			addCriterion("easemob_pass is not null");
			return (Criteria) this;
		}

		public Criteria andEasemobPassEqualTo(String value) {
			addCriterion("easemob_pass =", value, "easemobPass");
			return (Criteria) this;
		}

		public Criteria andEasemobPassNotEqualTo(String value) {
			addCriterion("easemob_pass <>", value, "easemobPass");
			return (Criteria) this;
		}

		public Criteria andEasemobPassGreaterThan(String value) {
			addCriterion("easemob_pass >", value, "easemobPass");
			return (Criteria) this;
		}

		public Criteria andEasemobPassGreaterThanOrEqualTo(String value) {
			addCriterion("easemob_pass >=", value, "easemobPass");
			return (Criteria) this;
		}

		public Criteria andEasemobPassLessThan(String value) {
			addCriterion("easemob_pass <", value, "easemobPass");
			return (Criteria) this;
		}

		public Criteria andEasemobPassLessThanOrEqualTo(String value) {
			addCriterion("easemob_pass <=", value, "easemobPass");
			return (Criteria) this;
		}

		public Criteria andEasemobPassLike(String value) {
			addCriterion("easemob_pass like", value, "easemobPass");
			return (Criteria) this;
		}

		public Criteria andEasemobPassNotLike(String value) {
			addCriterion("easemob_pass not like", value, "easemobPass");
			return (Criteria) this;
		}

		public Criteria andEasemobPassIn(List<String> values) {
			addCriterion("easemob_pass in", values, "easemobPass");
			return (Criteria) this;
		}

		public Criteria andEasemobPassNotIn(List<String> values) {
			addCriterion("easemob_pass not in", values, "easemobPass");
			return (Criteria) this;
		}

		public Criteria andEasemobPassBetween(String value1, String value2) {
			addCriterion("easemob_pass between", value1, value2, "easemobPass");
			return (Criteria) this;
		}

		public Criteria andEasemobPassNotBetween(String value1, String value2) {
			addCriterion("easemob_pass not between", value1, value2, "easemobPass");
			return (Criteria) this;
		}
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	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 jpush_easemob_account
     *
     * @mbg.generated do_not_delete_during_merge Mon Dec 18 19:12:58 CST 2017
     */
    public static class Criteria extends GeneratedCriteria {

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