package com.goafanti.common.model;

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

public class MemberOrderExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 CST 2017
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 CST 2017
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 CST 2017
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 CST 2017
	 */
	public MemberOrderExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 CST 2017
	 */
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 CST 2017
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 CST 2017
	 */
	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 CST 2017
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 CST 2017
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 CST 2017
	 */
	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 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 member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 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 member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 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 member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 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 member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 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(Long value) {
			addCriterion("id =", value, "id");
			return (Criteria) this;
		}

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

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

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

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

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

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

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

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

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

		public Criteria andMenberTypeIsNull() {
			addCriterion("menber_type is null");
			return (Criteria) this;
		}

		public Criteria andMenberTypeIsNotNull() {
			addCriterion("menber_type is not null");
			return (Criteria) this;
		}

		public Criteria andMenberTypeEqualTo(Integer value) {
			addCriterion("menber_type =", value, "menberType");
			return (Criteria) this;
		}

		public Criteria andMenberTypeNotEqualTo(Integer value) {
			addCriterion("menber_type <>", value, "menberType");
			return (Criteria) this;
		}

		public Criteria andMenberTypeGreaterThan(Integer value) {
			addCriterion("menber_type >", value, "menberType");
			return (Criteria) this;
		}

		public Criteria andMenberTypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("menber_type >=", value, "menberType");
			return (Criteria) this;
		}

		public Criteria andMenberTypeLessThan(Integer value) {
			addCriterion("menber_type <", value, "menberType");
			return (Criteria) this;
		}

		public Criteria andMenberTypeLessThanOrEqualTo(Integer value) {
			addCriterion("menber_type <=", value, "menberType");
			return (Criteria) this;
		}

		public Criteria andMenberTypeIn(List<Integer> values) {
			addCriterion("menber_type in", values, "menberType");
			return (Criteria) this;
		}

		public Criteria andMenberTypeNotIn(List<Integer> values) {
			addCriterion("menber_type not in", values, "menberType");
			return (Criteria) this;
		}

		public Criteria andMenberTypeBetween(Integer value1, Integer value2) {
			addCriterion("menber_type between", value1, value2, "menberType");
			return (Criteria) this;
		}

		public Criteria andMenberTypeNotBetween(Integer value1, Integer value2) {
			addCriterion("menber_type not between", value1, value2, "menberType");
			return (Criteria) this;
		}

		public Criteria andPriceIsNull() {
			addCriterion("price is null");
			return (Criteria) this;
		}

		public Criteria andPriceIsNotNull() {
			addCriterion("price is not null");
			return (Criteria) this;
		}

		public Criteria andPriceEqualTo(Double value) {
			addCriterion("price =", value, "price");
			return (Criteria) this;
		}

		public Criteria andPriceNotEqualTo(Double value) {
			addCriterion("price <>", value, "price");
			return (Criteria) this;
		}

		public Criteria andPriceGreaterThan(Double value) {
			addCriterion("price >", value, "price");
			return (Criteria) this;
		}

		public Criteria andPriceGreaterThanOrEqualTo(Double value) {
			addCriterion("price >=", value, "price");
			return (Criteria) this;
		}

		public Criteria andPriceLessThan(Double value) {
			addCriterion("price <", value, "price");
			return (Criteria) this;
		}

		public Criteria andPriceLessThanOrEqualTo(Double value) {
			addCriterion("price <=", value, "price");
			return (Criteria) this;
		}

		public Criteria andPriceIn(List<Double> values) {
			addCriterion("price in", values, "price");
			return (Criteria) this;
		}

		public Criteria andPriceNotIn(List<Double> values) {
			addCriterion("price not in", values, "price");
			return (Criteria) this;
		}

		public Criteria andPriceBetween(Double value1, Double value2) {
			addCriterion("price between", value1, value2, "price");
			return (Criteria) this;
		}

		public Criteria andPriceNotBetween(Double value1, Double value2) {
			addCriterion("price not between", value1, value2, "price");
			return (Criteria) this;
		}

		public Criteria andValidMonthIsNull() {
			addCriterion("valid_month is null");
			return (Criteria) this;
		}

		public Criteria andValidMonthIsNotNull() {
			addCriterion("valid_month is not null");
			return (Criteria) this;
		}

		public Criteria andValidMonthEqualTo(Integer value) {
			addCriterion("valid_month =", value, "validMonth");
			return (Criteria) this;
		}

		public Criteria andValidMonthNotEqualTo(Integer value) {
			addCriterion("valid_month <>", value, "validMonth");
			return (Criteria) this;
		}

		public Criteria andValidMonthGreaterThan(Integer value) {
			addCriterion("valid_month >", value, "validMonth");
			return (Criteria) this;
		}

		public Criteria andValidMonthGreaterThanOrEqualTo(Integer value) {
			addCriterion("valid_month >=", value, "validMonth");
			return (Criteria) this;
		}

		public Criteria andValidMonthLessThan(Integer value) {
			addCriterion("valid_month <", value, "validMonth");
			return (Criteria) this;
		}

		public Criteria andValidMonthLessThanOrEqualTo(Integer value) {
			addCriterion("valid_month <=", value, "validMonth");
			return (Criteria) this;
		}

		public Criteria andValidMonthIn(List<Integer> values) {
			addCriterion("valid_month in", values, "validMonth");
			return (Criteria) this;
		}

		public Criteria andValidMonthNotIn(List<Integer> values) {
			addCriterion("valid_month not in", values, "validMonth");
			return (Criteria) this;
		}

		public Criteria andValidMonthBetween(Integer value1, Integer value2) {
			addCriterion("valid_month between", value1, value2, "validMonth");
			return (Criteria) this;
		}

		public Criteria andValidMonthNotBetween(Integer value1, Integer value2) {
			addCriterion("valid_month not between", value1, value2, "validMonth");
			return (Criteria) this;
		}

		public Criteria andOrderStateIsNull() {
			addCriterion("order_state is null");
			return (Criteria) this;
		}

		public Criteria andOrderStateIsNotNull() {
			addCriterion("order_state is not null");
			return (Criteria) this;
		}

		public Criteria andOrderStateEqualTo(Integer value) {
			addCriterion("order_state =", value, "orderState");
			return (Criteria) this;
		}

		public Criteria andOrderStateNotEqualTo(Integer value) {
			addCriterion("order_state <>", value, "orderState");
			return (Criteria) this;
		}

		public Criteria andOrderStateGreaterThan(Integer value) {
			addCriterion("order_state >", value, "orderState");
			return (Criteria) this;
		}

		public Criteria andOrderStateGreaterThanOrEqualTo(Integer value) {
			addCriterion("order_state >=", value, "orderState");
			return (Criteria) this;
		}

		public Criteria andOrderStateLessThan(Integer value) {
			addCriterion("order_state <", value, "orderState");
			return (Criteria) this;
		}

		public Criteria andOrderStateLessThanOrEqualTo(Integer value) {
			addCriterion("order_state <=", value, "orderState");
			return (Criteria) this;
		}

		public Criteria andOrderStateIn(List<Integer> values) {
			addCriterion("order_state in", values, "orderState");
			return (Criteria) this;
		}

		public Criteria andOrderStateNotIn(List<Integer> values) {
			addCriterion("order_state not in", values, "orderState");
			return (Criteria) this;
		}

		public Criteria andOrderStateBetween(Integer value1, Integer value2) {
			addCriterion("order_state between", value1, value2, "orderState");
			return (Criteria) this;
		}

		public Criteria andOrderStateNotBetween(Integer value1, Integer value2) {
			addCriterion("order_state not between", value1, value2, "orderState");
			return (Criteria) this;
		}

		public Criteria andOrderTimeIsNull() {
			addCriterion("order_time is null");
			return (Criteria) this;
		}

		public Criteria andOrderTimeIsNotNull() {
			addCriterion("order_time is not null");
			return (Criteria) this;
		}

		public Criteria andOrderTimeEqualTo(Date value) {
			addCriterion("order_time =", value, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeNotEqualTo(Date value) {
			addCriterion("order_time <>", value, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeGreaterThan(Date value) {
			addCriterion("order_time >", value, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("order_time >=", value, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeLessThan(Date value) {
			addCriterion("order_time <", value, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeLessThanOrEqualTo(Date value) {
			addCriterion("order_time <=", value, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeIn(List<Date> values) {
			addCriterion("order_time in", values, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeNotIn(List<Date> values) {
			addCriterion("order_time not in", values, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeBetween(Date value1, Date value2) {
			addCriterion("order_time between", value1, value2, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeNotBetween(Date value1, Date value2) {
			addCriterion("order_time not between", value1, value2, "orderTime");
			return (Criteria) this;
		}

		public Criteria andUserIdIsNull() {
			addCriterion("user_id is null");
			return (Criteria) this;
		}

		public Criteria andUserIdIsNotNull() {
			addCriterion("user_id is not null");
			return (Criteria) this;
		}

		public Criteria andUserIdEqualTo(String value) {
			addCriterion("user_id =", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotEqualTo(String value) {
			addCriterion("user_id <>", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdGreaterThan(String value) {
			addCriterion("user_id >", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdGreaterThanOrEqualTo(String value) {
			addCriterion("user_id >=", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdLessThan(String value) {
			addCriterion("user_id <", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdLessThanOrEqualTo(String value) {
			addCriterion("user_id <=", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdLike(String value) {
			addCriterion("user_id like", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotLike(String value) {
			addCriterion("user_id not like", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdIn(List<String> values) {
			addCriterion("user_id in", values, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotIn(List<String> values) {
			addCriterion("user_id not in", values, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdBetween(String value1, String value2) {
			addCriterion("user_id between", value1, value2, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotBetween(String value1, String value2) {
			addCriterion("user_id not between", value1, value2, "userId");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeIsNull() {
			addCriterion("payment_time is null");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeIsNotNull() {
			addCriterion("payment_time is not null");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeEqualTo(Date value) {
			addCriterion("payment_time =", value, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeNotEqualTo(Date value) {
			addCriterion("payment_time <>", value, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeGreaterThan(Date value) {
			addCriterion("payment_time >", value, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("payment_time >=", value, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeLessThan(Date value) {
			addCriterion("payment_time <", value, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeLessThanOrEqualTo(Date value) {
			addCriterion("payment_time <=", value, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeIn(List<Date> values) {
			addCriterion("payment_time in", values, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeNotIn(List<Date> values) {
			addCriterion("payment_time not in", values, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeBetween(Date value1, Date value2) {
			addCriterion("payment_time between", value1, value2, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeNotBetween(Date value1, Date value2) {
			addCriterion("payment_time not between", value1, value2, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentValueIsNull() {
			addCriterion("payment_value is null");
			return (Criteria) this;
		}

		public Criteria andPaymentValueIsNotNull() {
			addCriterion("payment_value is not null");
			return (Criteria) this;
		}

		public Criteria andPaymentValueEqualTo(Double value) {
			addCriterion("payment_value =", value, "paymentValue");
			return (Criteria) this;
		}

		public Criteria andPaymentValueNotEqualTo(Double value) {
			addCriterion("payment_value <>", value, "paymentValue");
			return (Criteria) this;
		}

		public Criteria andPaymentValueGreaterThan(Double value) {
			addCriterion("payment_value >", value, "paymentValue");
			return (Criteria) this;
		}

		public Criteria andPaymentValueGreaterThanOrEqualTo(Double value) {
			addCriterion("payment_value >=", value, "paymentValue");
			return (Criteria) this;
		}

		public Criteria andPaymentValueLessThan(Double value) {
			addCriterion("payment_value <", value, "paymentValue");
			return (Criteria) this;
		}

		public Criteria andPaymentValueLessThanOrEqualTo(Double value) {
			addCriterion("payment_value <=", value, "paymentValue");
			return (Criteria) this;
		}

		public Criteria andPaymentValueIn(List<Double> values) {
			addCriterion("payment_value in", values, "paymentValue");
			return (Criteria) this;
		}

		public Criteria andPaymentValueNotIn(List<Double> values) {
			addCriterion("payment_value not in", values, "paymentValue");
			return (Criteria) this;
		}

		public Criteria andPaymentValueBetween(Double value1, Double value2) {
			addCriterion("payment_value between", value1, value2, "paymentValue");
			return (Criteria) this;
		}

		public Criteria andPaymentValueNotBetween(Double value1, Double value2) {
			addCriterion("payment_value not between", value1, value2, "paymentValue");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeIsNull() {
			addCriterion("payment_type is null");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeIsNotNull() {
			addCriterion("payment_type is not null");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeEqualTo(String value) {
			addCriterion("payment_type =", value, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeNotEqualTo(String value) {
			addCriterion("payment_type <>", value, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeGreaterThan(String value) {
			addCriterion("payment_type >", value, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeGreaterThanOrEqualTo(String value) {
			addCriterion("payment_type >=", value, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeLessThan(String value) {
			addCriterion("payment_type <", value, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeLessThanOrEqualTo(String value) {
			addCriterion("payment_type <=", value, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeLike(String value) {
			addCriterion("payment_type like", value, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeNotLike(String value) {
			addCriterion("payment_type not like", value, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeIn(List<String> values) {
			addCriterion("payment_type in", values, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeNotIn(List<String> values) {
			addCriterion("payment_type not in", values, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeBetween(String value1, String value2) {
			addCriterion("payment_type between", value1, value2, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeNotBetween(String value1, String value2) {
			addCriterion("payment_type not between", value1, value2, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentIdIsNull() {
			addCriterion("payment_id is null");
			return (Criteria) this;
		}

		public Criteria andPaymentIdIsNotNull() {
			addCriterion("payment_id is not null");
			return (Criteria) this;
		}

		public Criteria andPaymentIdEqualTo(String value) {
			addCriterion("payment_id =", value, "paymentId");
			return (Criteria) this;
		}

		public Criteria andPaymentIdNotEqualTo(String value) {
			addCriterion("payment_id <>", value, "paymentId");
			return (Criteria) this;
		}

		public Criteria andPaymentIdGreaterThan(String value) {
			addCriterion("payment_id >", value, "paymentId");
			return (Criteria) this;
		}

		public Criteria andPaymentIdGreaterThanOrEqualTo(String value) {
			addCriterion("payment_id >=", value, "paymentId");
			return (Criteria) this;
		}

		public Criteria andPaymentIdLessThan(String value) {
			addCriterion("payment_id <", value, "paymentId");
			return (Criteria) this;
		}

		public Criteria andPaymentIdLessThanOrEqualTo(String value) {
			addCriterion("payment_id <=", value, "paymentId");
			return (Criteria) this;
		}

		public Criteria andPaymentIdLike(String value) {
			addCriterion("payment_id like", value, "paymentId");
			return (Criteria) this;
		}

		public Criteria andPaymentIdNotLike(String value) {
			addCriterion("payment_id not like", value, "paymentId");
			return (Criteria) this;
		}

		public Criteria andPaymentIdIn(List<String> values) {
			addCriterion("payment_id in", values, "paymentId");
			return (Criteria) this;
		}

		public Criteria andPaymentIdNotIn(List<String> values) {
			addCriterion("payment_id not in", values, "paymentId");
			return (Criteria) this;
		}

		public Criteria andPaymentIdBetween(String value1, String value2) {
			addCriterion("payment_id between", value1, value2, "paymentId");
			return (Criteria) this;
		}

		public Criteria andPaymentIdNotBetween(String value1, String value2) {
			addCriterion("payment_id not between", value1, value2, "paymentId");
			return (Criteria) this;
		}

		public Criteria andValidTimeIsNull() {
			addCriterion("valid_time is null");
			return (Criteria) this;
		}

		public Criteria andValidTimeIsNotNull() {
			addCriterion("valid_time is not null");
			return (Criteria) this;
		}

		public Criteria andValidTimeEqualTo(Date value) {
			addCriterion("valid_time =", value, "validTime");
			return (Criteria) this;
		}

		public Criteria andValidTimeNotEqualTo(Date value) {
			addCriterion("valid_time <>", value, "validTime");
			return (Criteria) this;
		}

		public Criteria andValidTimeGreaterThan(Date value) {
			addCriterion("valid_time >", value, "validTime");
			return (Criteria) this;
		}

		public Criteria andValidTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("valid_time >=", value, "validTime");
			return (Criteria) this;
		}

		public Criteria andValidTimeLessThan(Date value) {
			addCriterion("valid_time <", value, "validTime");
			return (Criteria) this;
		}

		public Criteria andValidTimeLessThanOrEqualTo(Date value) {
			addCriterion("valid_time <=", value, "validTime");
			return (Criteria) this;
		}

		public Criteria andValidTimeIn(List<Date> values) {
			addCriterion("valid_time in", values, "validTime");
			return (Criteria) this;
		}

		public Criteria andValidTimeNotIn(List<Date> values) {
			addCriterion("valid_time not in", values, "validTime");
			return (Criteria) this;
		}

		public Criteria andValidTimeBetween(Date value1, Date value2) {
			addCriterion("valid_time between", value1, value2, "validTime");
			return (Criteria) this;
		}

		public Criteria andValidTimeNotBetween(Date value1, Date value2) {
			addCriterion("valid_time not between", value1, value2, "validTime");
			return (Criteria) this;
		}

		public Criteria andSourceChannelIsNull() {
			addCriterion("source_channel is null");
			return (Criteria) this;
		}

		public Criteria andSourceChannelIsNotNull() {
			addCriterion("source_channel is not null");
			return (Criteria) this;
		}

		public Criteria andSourceChannelEqualTo(Integer value) {
			addCriterion("source_channel =", value, "sourceChannel");
			return (Criteria) this;
		}

		public Criteria andSourceChannelNotEqualTo(Integer value) {
			addCriterion("source_channel <>", value, "sourceChannel");
			return (Criteria) this;
		}

		public Criteria andSourceChannelGreaterThan(Integer value) {
			addCriterion("source_channel >", value, "sourceChannel");
			return (Criteria) this;
		}

		public Criteria andSourceChannelGreaterThanOrEqualTo(Integer value) {
			addCriterion("source_channel >=", value, "sourceChannel");
			return (Criteria) this;
		}

		public Criteria andSourceChannelLessThan(Integer value) {
			addCriterion("source_channel <", value, "sourceChannel");
			return (Criteria) this;
		}

		public Criteria andSourceChannelLessThanOrEqualTo(Integer value) {
			addCriterion("source_channel <=", value, "sourceChannel");
			return (Criteria) this;
		}

		public Criteria andSourceChannelIn(List<Integer> values) {
			addCriterion("source_channel in", values, "sourceChannel");
			return (Criteria) this;
		}

		public Criteria andSourceChannelNotIn(List<Integer> values) {
			addCriterion("source_channel not in", values, "sourceChannel");
			return (Criteria) this;
		}

		public Criteria andSourceChannelBetween(Integer value1, Integer value2) {
			addCriterion("source_channel between", value1, value2, "sourceChannel");
			return (Criteria) this;
		}

		public Criteria andSourceChannelNotBetween(Integer value1, Integer value2) {
			addCriterion("source_channel not between", value1, value2, "sourceChannel");
			return (Criteria) this;
		}

		public Criteria andPayStateIsNull() {
			addCriterion("pay_state is null");
			return (Criteria) this;
		}

		public Criteria andPayStateIsNotNull() {
			addCriterion("pay_state is not null");
			return (Criteria) this;
		}

		public Criteria andPayStateEqualTo(Integer value) {
			addCriterion("pay_state =", value, "payState");
			return (Criteria) this;
		}

		public Criteria andPayStateNotEqualTo(Integer value) {
			addCriterion("pay_state <>", value, "payState");
			return (Criteria) this;
		}

		public Criteria andPayStateGreaterThan(Integer value) {
			addCriterion("pay_state >", value, "payState");
			return (Criteria) this;
		}

		public Criteria andPayStateGreaterThanOrEqualTo(Integer value) {
			addCriterion("pay_state >=", value, "payState");
			return (Criteria) this;
		}

		public Criteria andPayStateLessThan(Integer value) {
			addCriterion("pay_state <", value, "payState");
			return (Criteria) this;
		}

		public Criteria andPayStateLessThanOrEqualTo(Integer value) {
			addCriterion("pay_state <=", value, "payState");
			return (Criteria) this;
		}

		public Criteria andPayStateIn(List<Integer> values) {
			addCriterion("pay_state in", values, "payState");
			return (Criteria) this;
		}

		public Criteria andPayStateNotIn(List<Integer> values) {
			addCriterion("pay_state not in", values, "payState");
			return (Criteria) this;
		}

		public Criteria andPayStateBetween(Integer value1, Integer value2) {
			addCriterion("pay_state between", value1, value2, "payState");
			return (Criteria) this;
		}

		public Criteria andPayStateNotBetween(Integer value1, Integer value2) {
			addCriterion("pay_state not between", value1, value2, "payState");
			return (Criteria) this;
		}
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table member_order
	 * @mbg.generated  Fri Nov 10 19:10:10 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 member_order
     *
     * @mbg.generated do_not_delete_during_merge Fri Nov 10 19:06:48 CST 2017
     */
    public static class Criteria extends GeneratedCriteria {

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