package com.goafanti.common.model;

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

public class MessageFromBusinessExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	public MessageFromBusinessExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

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

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

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

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

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

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

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 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 message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 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 message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 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 message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 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 message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 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(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 andCreaterIsNull() {
			addCriterion("creater is null");
			return (Criteria) this;
		}

		public Criteria andCreaterIsNotNull() {
			addCriterion("creater is not null");
			return (Criteria) this;
		}

		public Criteria andCreaterEqualTo(String value) {
			addCriterion("creater =", value, "creater");
			return (Criteria) this;
		}

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

		public Criteria andCreaterGreaterThan(String value) {
			addCriterion("creater >", value, "creater");
			return (Criteria) this;
		}

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

		public Criteria andCreaterLessThan(String value) {
			addCriterion("creater <", value, "creater");
			return (Criteria) this;
		}

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

		public Criteria andCreaterLike(String value) {
			addCriterion("creater like", value, "creater");
			return (Criteria) this;
		}

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

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

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

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

		public Criteria andCreaterNotBetween(String value1, String value2) {
			addCriterion("creater not between", value1, value2, "creater");
			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 andSponsorIdIsNull() {
			addCriterion("sponsor_id is null");
			return (Criteria) this;
		}

		public Criteria andSponsorIdIsNotNull() {
			addCriterion("sponsor_id is not null");
			return (Criteria) this;
		}

		public Criteria andSponsorIdEqualTo(String value) {
			addCriterion("sponsor_id =", value, "sponsorId");
			return (Criteria) this;
		}

		public Criteria andSponsorIdNotEqualTo(String value) {
			addCriterion("sponsor_id <>", value, "sponsorId");
			return (Criteria) this;
		}

		public Criteria andSponsorIdGreaterThan(String value) {
			addCriterion("sponsor_id >", value, "sponsorId");
			return (Criteria) this;
		}

		public Criteria andSponsorIdGreaterThanOrEqualTo(String value) {
			addCriterion("sponsor_id >=", value, "sponsorId");
			return (Criteria) this;
		}

		public Criteria andSponsorIdLessThan(String value) {
			addCriterion("sponsor_id <", value, "sponsorId");
			return (Criteria) this;
		}

		public Criteria andSponsorIdLessThanOrEqualTo(String value) {
			addCriterion("sponsor_id <=", value, "sponsorId");
			return (Criteria) this;
		}

		public Criteria andSponsorIdLike(String value) {
			addCriterion("sponsor_id like", value, "sponsorId");
			return (Criteria) this;
		}

		public Criteria andSponsorIdNotLike(String value) {
			addCriterion("sponsor_id not like", value, "sponsorId");
			return (Criteria) this;
		}

		public Criteria andSponsorIdIn(List<String> values) {
			addCriterion("sponsor_id in", values, "sponsorId");
			return (Criteria) this;
		}

		public Criteria andSponsorIdNotIn(List<String> values) {
			addCriterion("sponsor_id not in", values, "sponsorId");
			return (Criteria) this;
		}

		public Criteria andSponsorIdBetween(String value1, String value2) {
			addCriterion("sponsor_id between", value1, value2, "sponsorId");
			return (Criteria) this;
		}

		public Criteria andSponsorIdNotBetween(String value1, String value2) {
			addCriterion("sponsor_id not between", value1, value2, "sponsorId");
			return (Criteria) this;
		}

		public Criteria andSponsorTypeIsNull() {
			addCriterion("sponsor_type is null");
			return (Criteria) this;
		}

		public Criteria andSponsorTypeIsNotNull() {
			addCriterion("sponsor_type is not null");
			return (Criteria) this;
		}

		public Criteria andSponsorTypeEqualTo(Integer value) {
			addCriterion("sponsor_type =", value, "sponsorType");
			return (Criteria) this;
		}

		public Criteria andSponsorTypeNotEqualTo(Integer value) {
			addCriterion("sponsor_type <>", value, "sponsorType");
			return (Criteria) this;
		}

		public Criteria andSponsorTypeGreaterThan(Integer value) {
			addCriterion("sponsor_type >", value, "sponsorType");
			return (Criteria) this;
		}

		public Criteria andSponsorTypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("sponsor_type >=", value, "sponsorType");
			return (Criteria) this;
		}

		public Criteria andSponsorTypeLessThan(Integer value) {
			addCriterion("sponsor_type <", value, "sponsorType");
			return (Criteria) this;
		}

		public Criteria andSponsorTypeLessThanOrEqualTo(Integer value) {
			addCriterion("sponsor_type <=", value, "sponsorType");
			return (Criteria) this;
		}

		public Criteria andSponsorTypeIn(List<Integer> values) {
			addCriterion("sponsor_type in", values, "sponsorType");
			return (Criteria) this;
		}

		public Criteria andSponsorTypeNotIn(List<Integer> values) {
			addCriterion("sponsor_type not in", values, "sponsorType");
			return (Criteria) this;
		}

		public Criteria andSponsorTypeBetween(Integer value1, Integer value2) {
			addCriterion("sponsor_type between", value1, value2, "sponsorType");
			return (Criteria) this;
		}

		public Criteria andSponsorTypeNotBetween(Integer value1, Integer value2) {
			addCriterion("sponsor_type not between", value1, value2, "sponsorType");
			return (Criteria) this;
		}

		public Criteria andSponsorReadIsNull() {
			addCriterion("sponsor_read is null");
			return (Criteria) this;
		}

		public Criteria andSponsorReadIsNotNull() {
			addCriterion("sponsor_read is not null");
			return (Criteria) this;
		}

		public Criteria andSponsorReadEqualTo(Boolean value) {
			addCriterion("sponsor_read =", value, "sponsorRead");
			return (Criteria) this;
		}

		public Criteria andSponsorReadNotEqualTo(Boolean value) {
			addCriterion("sponsor_read <>", value, "sponsorRead");
			return (Criteria) this;
		}

		public Criteria andSponsorReadGreaterThan(Boolean value) {
			addCriterion("sponsor_read >", value, "sponsorRead");
			return (Criteria) this;
		}

		public Criteria andSponsorReadGreaterThanOrEqualTo(Boolean value) {
			addCriterion("sponsor_read >=", value, "sponsorRead");
			return (Criteria) this;
		}

		public Criteria andSponsorReadLessThan(Boolean value) {
			addCriterion("sponsor_read <", value, "sponsorRead");
			return (Criteria) this;
		}

		public Criteria andSponsorReadLessThanOrEqualTo(Boolean value) {
			addCriterion("sponsor_read <=", value, "sponsorRead");
			return (Criteria) this;
		}

		public Criteria andSponsorReadIn(List<Boolean> values) {
			addCriterion("sponsor_read in", values, "sponsorRead");
			return (Criteria) this;
		}

		public Criteria andSponsorReadNotIn(List<Boolean> values) {
			addCriterion("sponsor_read not in", values, "sponsorRead");
			return (Criteria) this;
		}

		public Criteria andSponsorReadBetween(Boolean value1, Boolean value2) {
			addCriterion("sponsor_read between", value1, value2, "sponsorRead");
			return (Criteria) this;
		}

		public Criteria andSponsorReadNotBetween(Boolean value1, Boolean value2) {
			addCriterion("sponsor_read not between", value1, value2, "sponsorRead");
			return (Criteria) this;
		}

		public Criteria andSponsorReadTimeIsNull() {
			addCriterion("sponsor_read_time is null");
			return (Criteria) this;
		}

		public Criteria andSponsorReadTimeIsNotNull() {
			addCriterion("sponsor_read_time is not null");
			return (Criteria) this;
		}

		public Criteria andSponsorReadTimeEqualTo(Date value) {
			addCriterion("sponsor_read_time =", value, "sponsorReadTime");
			return (Criteria) this;
		}

		public Criteria andSponsorReadTimeNotEqualTo(Date value) {
			addCriterion("sponsor_read_time <>", value, "sponsorReadTime");
			return (Criteria) this;
		}

		public Criteria andSponsorReadTimeGreaterThan(Date value) {
			addCriterion("sponsor_read_time >", value, "sponsorReadTime");
			return (Criteria) this;
		}

		public Criteria andSponsorReadTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("sponsor_read_time >=", value, "sponsorReadTime");
			return (Criteria) this;
		}

		public Criteria andSponsorReadTimeLessThan(Date value) {
			addCriterion("sponsor_read_time <", value, "sponsorReadTime");
			return (Criteria) this;
		}

		public Criteria andSponsorReadTimeLessThanOrEqualTo(Date value) {
			addCriterion("sponsor_read_time <=", value, "sponsorReadTime");
			return (Criteria) this;
		}

		public Criteria andSponsorReadTimeIn(List<Date> values) {
			addCriterion("sponsor_read_time in", values, "sponsorReadTime");
			return (Criteria) this;
		}

		public Criteria andSponsorReadTimeNotIn(List<Date> values) {
			addCriterion("sponsor_read_time not in", values, "sponsorReadTime");
			return (Criteria) this;
		}

		public Criteria andSponsorReadTimeBetween(Date value1, Date value2) {
			addCriterion("sponsor_read_time between", value1, value2, "sponsorReadTime");
			return (Criteria) this;
		}

		public Criteria andSponsorReadTimeNotBetween(Date value1, Date value2) {
			addCriterion("sponsor_read_time not between", value1, value2, "sponsorReadTime");
			return (Criteria) this;
		}

		public Criteria andResourceIdIsNull() {
			addCriterion("resource_id is null");
			return (Criteria) this;
		}

		public Criteria andResourceIdIsNotNull() {
			addCriterion("resource_id is not null");
			return (Criteria) this;
		}

		public Criteria andResourceIdEqualTo(String value) {
			addCriterion("resource_id =", value, "resourceId");
			return (Criteria) this;
		}

		public Criteria andResourceIdNotEqualTo(String value) {
			addCriterion("resource_id <>", value, "resourceId");
			return (Criteria) this;
		}

		public Criteria andResourceIdGreaterThan(String value) {
			addCriterion("resource_id >", value, "resourceId");
			return (Criteria) this;
		}

		public Criteria andResourceIdGreaterThanOrEqualTo(String value) {
			addCriterion("resource_id >=", value, "resourceId");
			return (Criteria) this;
		}

		public Criteria andResourceIdLessThan(String value) {
			addCriterion("resource_id <", value, "resourceId");
			return (Criteria) this;
		}

		public Criteria andResourceIdLessThanOrEqualTo(String value) {
			addCriterion("resource_id <=", value, "resourceId");
			return (Criteria) this;
		}

		public Criteria andResourceIdLike(String value) {
			addCriterion("resource_id like", value, "resourceId");
			return (Criteria) this;
		}

		public Criteria andResourceIdNotLike(String value) {
			addCriterion("resource_id not like", value, "resourceId");
			return (Criteria) this;
		}

		public Criteria andResourceIdIn(List<String> values) {
			addCriterion("resource_id in", values, "resourceId");
			return (Criteria) this;
		}

		public Criteria andResourceIdNotIn(List<String> values) {
			addCriterion("resource_id not in", values, "resourceId");
			return (Criteria) this;
		}

		public Criteria andResourceIdBetween(String value1, String value2) {
			addCriterion("resource_id between", value1, value2, "resourceId");
			return (Criteria) this;
		}

		public Criteria andResourceIdNotBetween(String value1, String value2) {
			addCriterion("resource_id not between", value1, value2, "resourceId");
			return (Criteria) this;
		}

		public Criteria andResourceTypeIsNull() {
			addCriterion("resource_type is null");
			return (Criteria) this;
		}

		public Criteria andResourceTypeIsNotNull() {
			addCriterion("resource_type is not null");
			return (Criteria) this;
		}

		public Criteria andResourceTypeEqualTo(Integer value) {
			addCriterion("resource_type =", value, "resourceType");
			return (Criteria) this;
		}

		public Criteria andResourceTypeNotEqualTo(Integer value) {
			addCriterion("resource_type <>", value, "resourceType");
			return (Criteria) this;
		}

		public Criteria andResourceTypeGreaterThan(Integer value) {
			addCriterion("resource_type >", value, "resourceType");
			return (Criteria) this;
		}

		public Criteria andResourceTypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("resource_type >=", value, "resourceType");
			return (Criteria) this;
		}

		public Criteria andResourceTypeLessThan(Integer value) {
			addCriterion("resource_type <", value, "resourceType");
			return (Criteria) this;
		}

		public Criteria andResourceTypeLessThanOrEqualTo(Integer value) {
			addCriterion("resource_type <=", value, "resourceType");
			return (Criteria) this;
		}

		public Criteria andResourceTypeIn(List<Integer> values) {
			addCriterion("resource_type in", values, "resourceType");
			return (Criteria) this;
		}

		public Criteria andResourceTypeNotIn(List<Integer> values) {
			addCriterion("resource_type not in", values, "resourceType");
			return (Criteria) this;
		}

		public Criteria andResourceTypeBetween(Integer value1, Integer value2) {
			addCriterion("resource_type between", value1, value2, "resourceType");
			return (Criteria) this;
		}

		public Criteria andResourceTypeNotBetween(Integer value1, Integer value2) {
			addCriterion("resource_type not between", value1, value2, "resourceType");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerIdIsNull() {
			addCriterion("resource_owner_id is null");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerIdIsNotNull() {
			addCriterion("resource_owner_id is not null");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerIdEqualTo(String value) {
			addCriterion("resource_owner_id =", value, "resourceOwnerId");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerIdNotEqualTo(String value) {
			addCriterion("resource_owner_id <>", value, "resourceOwnerId");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerIdGreaterThan(String value) {
			addCriterion("resource_owner_id >", value, "resourceOwnerId");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerIdGreaterThanOrEqualTo(String value) {
			addCriterion("resource_owner_id >=", value, "resourceOwnerId");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerIdLessThan(String value) {
			addCriterion("resource_owner_id <", value, "resourceOwnerId");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerIdLessThanOrEqualTo(String value) {
			addCriterion("resource_owner_id <=", value, "resourceOwnerId");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerIdLike(String value) {
			addCriterion("resource_owner_id like", value, "resourceOwnerId");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerIdNotLike(String value) {
			addCriterion("resource_owner_id not like", value, "resourceOwnerId");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerIdIn(List<String> values) {
			addCriterion("resource_owner_id in", values, "resourceOwnerId");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerIdNotIn(List<String> values) {
			addCriterion("resource_owner_id not in", values, "resourceOwnerId");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerIdBetween(String value1, String value2) {
			addCriterion("resource_owner_id between", value1, value2, "resourceOwnerId");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerIdNotBetween(String value1, String value2) {
			addCriterion("resource_owner_id not between", value1, value2, "resourceOwnerId");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerTypeIsNull() {
			addCriterion("resource_owner_type is null");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerTypeIsNotNull() {
			addCriterion("resource_owner_type is not null");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerTypeEqualTo(Integer value) {
			addCriterion("resource_owner_type =", value, "resourceOwnerType");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerTypeNotEqualTo(Integer value) {
			addCriterion("resource_owner_type <>", value, "resourceOwnerType");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerTypeGreaterThan(Integer value) {
			addCriterion("resource_owner_type >", value, "resourceOwnerType");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerTypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("resource_owner_type >=", value, "resourceOwnerType");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerTypeLessThan(Integer value) {
			addCriterion("resource_owner_type <", value, "resourceOwnerType");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerTypeLessThanOrEqualTo(Integer value) {
			addCriterion("resource_owner_type <=", value, "resourceOwnerType");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerTypeIn(List<Integer> values) {
			addCriterion("resource_owner_type in", values, "resourceOwnerType");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerTypeNotIn(List<Integer> values) {
			addCriterion("resource_owner_type not in", values, "resourceOwnerType");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerTypeBetween(Integer value1, Integer value2) {
			addCriterion("resource_owner_type between", value1, value2, "resourceOwnerType");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerTypeNotBetween(Integer value1, Integer value2) {
			addCriterion("resource_owner_type not between", value1, value2, "resourceOwnerType");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadIsNull() {
			addCriterion("resource_owner_read is null");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadIsNotNull() {
			addCriterion("resource_owner_read is not null");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadEqualTo(Boolean value) {
			addCriterion("resource_owner_read =", value, "resourceOwnerRead");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadNotEqualTo(Boolean value) {
			addCriterion("resource_owner_read <>", value, "resourceOwnerRead");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadGreaterThan(Boolean value) {
			addCriterion("resource_owner_read >", value, "resourceOwnerRead");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadGreaterThanOrEqualTo(Boolean value) {
			addCriterion("resource_owner_read >=", value, "resourceOwnerRead");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadLessThan(Boolean value) {
			addCriterion("resource_owner_read <", value, "resourceOwnerRead");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadLessThanOrEqualTo(Boolean value) {
			addCriterion("resource_owner_read <=", value, "resourceOwnerRead");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadIn(List<Boolean> values) {
			addCriterion("resource_owner_read in", values, "resourceOwnerRead");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadNotIn(List<Boolean> values) {
			addCriterion("resource_owner_read not in", values, "resourceOwnerRead");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadBetween(Boolean value1, Boolean value2) {
			addCriterion("resource_owner_read between", value1, value2, "resourceOwnerRead");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadNotBetween(Boolean value1, Boolean value2) {
			addCriterion("resource_owner_read not between", value1, value2, "resourceOwnerRead");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadTimeIsNull() {
			addCriterion("resource_owner_read_time is null");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadTimeIsNotNull() {
			addCriterion("resource_owner_read_time is not null");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadTimeEqualTo(Date value) {
			addCriterion("resource_owner_read_time =", value, "resourceOwnerReadTime");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadTimeNotEqualTo(Date value) {
			addCriterion("resource_owner_read_time <>", value, "resourceOwnerReadTime");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadTimeGreaterThan(Date value) {
			addCriterion("resource_owner_read_time >", value, "resourceOwnerReadTime");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("resource_owner_read_time >=", value, "resourceOwnerReadTime");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadTimeLessThan(Date value) {
			addCriterion("resource_owner_read_time <", value, "resourceOwnerReadTime");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadTimeLessThanOrEqualTo(Date value) {
			addCriterion("resource_owner_read_time <=", value, "resourceOwnerReadTime");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadTimeIn(List<Date> values) {
			addCriterion("resource_owner_read_time in", values, "resourceOwnerReadTime");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadTimeNotIn(List<Date> values) {
			addCriterion("resource_owner_read_time not in", values, "resourceOwnerReadTime");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadTimeBetween(Date value1, Date value2) {
			addCriterion("resource_owner_read_time between", value1, value2, "resourceOwnerReadTime");
			return (Criteria) this;
		}

		public Criteria andResourceOwnerReadTimeNotBetween(Date value1, Date value2) {
			addCriterion("resource_owner_read_time not between", value1, value2, "resourceOwnerReadTime");
			return (Criteria) this;
		}

		public Criteria andAdminIdIsNull() {
			addCriterion("admin_id is null");
			return (Criteria) this;
		}

		public Criteria andAdminIdIsNotNull() {
			addCriterion("admin_id is not null");
			return (Criteria) this;
		}

		public Criteria andAdminIdEqualTo(String value) {
			addCriterion("admin_id =", value, "adminId");
			return (Criteria) this;
		}

		public Criteria andAdminIdNotEqualTo(String value) {
			addCriterion("admin_id <>", value, "adminId");
			return (Criteria) this;
		}

		public Criteria andAdminIdGreaterThan(String value) {
			addCriterion("admin_id >", value, "adminId");
			return (Criteria) this;
		}

		public Criteria andAdminIdGreaterThanOrEqualTo(String value) {
			addCriterion("admin_id >=", value, "adminId");
			return (Criteria) this;
		}

		public Criteria andAdminIdLessThan(String value) {
			addCriterion("admin_id <", value, "adminId");
			return (Criteria) this;
		}

		public Criteria andAdminIdLessThanOrEqualTo(String value) {
			addCriterion("admin_id <=", value, "adminId");
			return (Criteria) this;
		}

		public Criteria andAdminIdLike(String value) {
			addCriterion("admin_id like", value, "adminId");
			return (Criteria) this;
		}

		public Criteria andAdminIdNotLike(String value) {
			addCriterion("admin_id not like", value, "adminId");
			return (Criteria) this;
		}

		public Criteria andAdminIdIn(List<String> values) {
			addCriterion("admin_id in", values, "adminId");
			return (Criteria) this;
		}

		public Criteria andAdminIdNotIn(List<String> values) {
			addCriterion("admin_id not in", values, "adminId");
			return (Criteria) this;
		}

		public Criteria andAdminIdBetween(String value1, String value2) {
			addCriterion("admin_id between", value1, value2, "adminId");
			return (Criteria) this;
		}

		public Criteria andAdminIdNotBetween(String value1, String value2) {
			addCriterion("admin_id not between", value1, value2, "adminId");
			return (Criteria) this;
		}

		public Criteria andAdminReadTimeIsNull() {
			addCriterion("admin_read_time is null");
			return (Criteria) this;
		}

		public Criteria andAdminReadTimeIsNotNull() {
			addCriterion("admin_read_time is not null");
			return (Criteria) this;
		}

		public Criteria andAdminReadTimeEqualTo(Date value) {
			addCriterion("admin_read_time =", value, "adminReadTime");
			return (Criteria) this;
		}

		public Criteria andAdminReadTimeNotEqualTo(Date value) {
			addCriterion("admin_read_time <>", value, "adminReadTime");
			return (Criteria) this;
		}

		public Criteria andAdminReadTimeGreaterThan(Date value) {
			addCriterion("admin_read_time >", value, "adminReadTime");
			return (Criteria) this;
		}

		public Criteria andAdminReadTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("admin_read_time >=", value, "adminReadTime");
			return (Criteria) this;
		}

		public Criteria andAdminReadTimeLessThan(Date value) {
			addCriterion("admin_read_time <", value, "adminReadTime");
			return (Criteria) this;
		}

		public Criteria andAdminReadTimeLessThanOrEqualTo(Date value) {
			addCriterion("admin_read_time <=", value, "adminReadTime");
			return (Criteria) this;
		}

		public Criteria andAdminReadTimeIn(List<Date> values) {
			addCriterion("admin_read_time in", values, "adminReadTime");
			return (Criteria) this;
		}

		public Criteria andAdminReadTimeNotIn(List<Date> values) {
			addCriterion("admin_read_time not in", values, "adminReadTime");
			return (Criteria) this;
		}

		public Criteria andAdminReadTimeBetween(Date value1, Date value2) {
			addCriterion("admin_read_time between", value1, value2, "adminReadTime");
			return (Criteria) this;
		}

		public Criteria andAdminReadTimeNotBetween(Date value1, Date value2) {
			addCriterion("admin_read_time not between", value1, value2, "adminReadTime");
			return (Criteria) this;
		}

		public Criteria andOperatorTypeIsNull() {
			addCriterion("operator_type is null");
			return (Criteria) this;
		}

		public Criteria andOperatorTypeIsNotNull() {
			addCriterion("operator_type is not null");
			return (Criteria) this;
		}

		public Criteria andOperatorTypeEqualTo(Integer value) {
			addCriterion("operator_type =", value, "operatorType");
			return (Criteria) this;
		}

		public Criteria andOperatorTypeNotEqualTo(Integer value) {
			addCriterion("operator_type <>", value, "operatorType");
			return (Criteria) this;
		}

		public Criteria andOperatorTypeGreaterThan(Integer value) {
			addCriterion("operator_type >", value, "operatorType");
			return (Criteria) this;
		}

		public Criteria andOperatorTypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("operator_type >=", value, "operatorType");
			return (Criteria) this;
		}

		public Criteria andOperatorTypeLessThan(Integer value) {
			addCriterion("operator_type <", value, "operatorType");
			return (Criteria) this;
		}

		public Criteria andOperatorTypeLessThanOrEqualTo(Integer value) {
			addCriterion("operator_type <=", value, "operatorType");
			return (Criteria) this;
		}

		public Criteria andOperatorTypeIn(List<Integer> values) {
			addCriterion("operator_type in", values, "operatorType");
			return (Criteria) this;
		}

		public Criteria andOperatorTypeNotIn(List<Integer> values) {
			addCriterion("operator_type not in", values, "operatorType");
			return (Criteria) this;
		}

		public Criteria andOperatorTypeBetween(Integer value1, Integer value2) {
			addCriterion("operator_type between", value1, value2, "operatorType");
			return (Criteria) this;
		}

		public Criteria andOperatorTypeNotBetween(Integer value1, Integer value2) {
			addCriterion("operator_type not between", value1, value2, "operatorType");
			return (Criteria) this;
		}

		public Criteria andOperatorResultIsNull() {
			addCriterion("operator_result is null");
			return (Criteria) this;
		}

		public Criteria andOperatorResultIsNotNull() {
			addCriterion("operator_result is not null");
			return (Criteria) this;
		}

		public Criteria andOperatorResultEqualTo(String value) {
			addCriterion("operator_result =", value, "operatorResult");
			return (Criteria) this;
		}

		public Criteria andOperatorResultNotEqualTo(String value) {
			addCriterion("operator_result <>", value, "operatorResult");
			return (Criteria) this;
		}

		public Criteria andOperatorResultGreaterThan(String value) {
			addCriterion("operator_result >", value, "operatorResult");
			return (Criteria) this;
		}

		public Criteria andOperatorResultGreaterThanOrEqualTo(String value) {
			addCriterion("operator_result >=", value, "operatorResult");
			return (Criteria) this;
		}

		public Criteria andOperatorResultLessThan(String value) {
			addCriterion("operator_result <", value, "operatorResult");
			return (Criteria) this;
		}

		public Criteria andOperatorResultLessThanOrEqualTo(String value) {
			addCriterion("operator_result <=", value, "operatorResult");
			return (Criteria) this;
		}

		public Criteria andOperatorResultLike(String value) {
			addCriterion("operator_result like", value, "operatorResult");
			return (Criteria) this;
		}

		public Criteria andOperatorResultNotLike(String value) {
			addCriterion("operator_result not like", value, "operatorResult");
			return (Criteria) this;
		}

		public Criteria andOperatorResultIn(List<String> values) {
			addCriterion("operator_result in", values, "operatorResult");
			return (Criteria) this;
		}

		public Criteria andOperatorResultNotIn(List<String> values) {
			addCriterion("operator_result not in", values, "operatorResult");
			return (Criteria) this;
		}

		public Criteria andOperatorResultBetween(String value1, String value2) {
			addCriterion("operator_result between", value1, value2, "operatorResult");
			return (Criteria) this;
		}

		public Criteria andOperatorResultNotBetween(String value1, String value2) {
			addCriterion("operator_result not between", value1, value2, "operatorResult");
			return (Criteria) this;
		}

		public Criteria andTitleIsNull() {
			addCriterion("title is null");
			return (Criteria) this;
		}

		public Criteria andTitleIsNotNull() {
			addCriterion("title is not null");
			return (Criteria) this;
		}

		public Criteria andTitleEqualTo(String value) {
			addCriterion("title =", value, "title");
			return (Criteria) this;
		}

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

		public Criteria andTitleGreaterThan(String value) {
			addCriterion("title >", value, "title");
			return (Criteria) this;
		}

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

		public Criteria andTitleLessThan(String value) {
			addCriterion("title <", value, "title");
			return (Criteria) this;
		}

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

		public Criteria andTitleLike(String value) {
			addCriterion("title like", value, "title");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andBodyIsNull() {
			addCriterion("body is null");
			return (Criteria) this;
		}

		public Criteria andBodyIsNotNull() {
			addCriterion("body is not null");
			return (Criteria) this;
		}

		public Criteria andBodyEqualTo(String value) {
			addCriterion("body =", value, "body");
			return (Criteria) this;
		}

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

		public Criteria andBodyGreaterThan(String value) {
			addCriterion("body >", value, "body");
			return (Criteria) this;
		}

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

		public Criteria andBodyLessThan(String value) {
			addCriterion("body <", value, "body");
			return (Criteria) this;
		}

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

		public Criteria andBodyLike(String value) {
			addCriterion("body like", value, "body");
			return (Criteria) this;
		}

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

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

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

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

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

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 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 message_from_business
     *
     * @mbg.generated do_not_delete_during_merge Thu Dec 14 21:04:23 CST 2017
     */
    public static class Criteria extends GeneratedCriteria {

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