package com.goafanti.common.model;

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

public class TOrderPaymentExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public TOrderPaymentExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	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 t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	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 t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	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 andTidIsNull() {
			addCriterion("tid is null");
			return (Criteria) this;
		}

		public Criteria andTidIsNotNull() {
			addCriterion("tid is not null");
			return (Criteria) this;
		}

		public Criteria andTidEqualTo(Integer value) {
			addCriterion("tid =", value, "tid");
			return (Criteria) this;
		}

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

		public Criteria andTidGreaterThan(Integer value) {
			addCriterion("tid >", value, "tid");
			return (Criteria) this;
		}

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

		public Criteria andTidLessThan(Integer value) {
			addCriterion("tid <", value, "tid");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andNodeIdIsNull() {
			addCriterion("node_id is null");
			return (Criteria) this;
		}

		public Criteria andNodeIdIsNotNull() {
			addCriterion("node_id is not null");
			return (Criteria) this;
		}

		public Criteria andNodeIdEqualTo(Integer value) {
			addCriterion("node_id =", value, "nodeId");
			return (Criteria) this;
		}

		public Criteria andNodeIdNotEqualTo(Integer value) {
			addCriterion("node_id <>", value, "nodeId");
			return (Criteria) this;
		}

		public Criteria andNodeIdGreaterThan(Integer value) {
			addCriterion("node_id >", value, "nodeId");
			return (Criteria) this;
		}

		public Criteria andNodeIdGreaterThanOrEqualTo(Integer value) {
			addCriterion("node_id >=", value, "nodeId");
			return (Criteria) this;
		}

		public Criteria andNodeIdLessThan(Integer value) {
			addCriterion("node_id <", value, "nodeId");
			return (Criteria) this;
		}

		public Criteria andNodeIdLessThanOrEqualTo(Integer value) {
			addCriterion("node_id <=", value, "nodeId");
			return (Criteria) this;
		}

		public Criteria andNodeIdIn(List<Integer> values) {
			addCriterion("node_id in", values, "nodeId");
			return (Criteria) this;
		}

		public Criteria andNodeIdNotIn(List<Integer> values) {
			addCriterion("node_id not in", values, "nodeId");
			return (Criteria) this;
		}

		public Criteria andNodeIdBetween(Integer value1, Integer value2) {
			addCriterion("node_id between", value1, value2, "nodeId");
			return (Criteria) this;
		}

		public Criteria andNodeIdNotBetween(Integer value1, Integer value2) {
			addCriterion("node_id not between", value1, value2, "nodeId");
			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(Integer value) {
			addCriterion("payment_type =", value, "paymentType");
			return (Criteria) this;
		}

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

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

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

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

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

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

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

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

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

		public Criteria andCompanyNameIsNull() {
			addCriterion("company_name is null");
			return (Criteria) this;
		}

		public Criteria andCompanyNameIsNotNull() {
			addCriterion("company_name is not null");
			return (Criteria) this;
		}

		public Criteria andCompanyNameEqualTo(String value) {
			addCriterion("company_name =", value, "companyName");
			return (Criteria) this;
		}

		public Criteria andCompanyNameNotEqualTo(String value) {
			addCriterion("company_name <>", value, "companyName");
			return (Criteria) this;
		}

		public Criteria andCompanyNameGreaterThan(String value) {
			addCriterion("company_name >", value, "companyName");
			return (Criteria) this;
		}

		public Criteria andCompanyNameGreaterThanOrEqualTo(String value) {
			addCriterion("company_name >=", value, "companyName");
			return (Criteria) this;
		}

		public Criteria andCompanyNameLessThan(String value) {
			addCriterion("company_name <", value, "companyName");
			return (Criteria) this;
		}

		public Criteria andCompanyNameLessThanOrEqualTo(String value) {
			addCriterion("company_name <=", value, "companyName");
			return (Criteria) this;
		}

		public Criteria andCompanyNameLike(String value) {
			addCriterion("company_name like", value, "companyName");
			return (Criteria) this;
		}

		public Criteria andCompanyNameNotLike(String value) {
			addCriterion("company_name not like", value, "companyName");
			return (Criteria) this;
		}

		public Criteria andCompanyNameIn(List<String> values) {
			addCriterion("company_name in", values, "companyName");
			return (Criteria) this;
		}

		public Criteria andCompanyNameNotIn(List<String> values) {
			addCriterion("company_name not in", values, "companyName");
			return (Criteria) this;
		}

		public Criteria andCompanyNameBetween(String value1, String value2) {
			addCriterion("company_name between", value1, value2, "companyName");
			return (Criteria) this;
		}

		public Criteria andCompanyNameNotBetween(String value1, String value2) {
			addCriterion("company_name not between", value1, value2, "companyName");
			return (Criteria) this;
		}

		public Criteria andQuantityIsNull() {
			addCriterion("quantity is null");
			return (Criteria) this;
		}

		public Criteria andQuantityIsNotNull() {
			addCriterion("quantity is not null");
			return (Criteria) this;
		}

		public Criteria andQuantityEqualTo(Integer value) {
			addCriterion("quantity =", value, "quantity");
			return (Criteria) this;
		}

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

		public Criteria andQuantityGreaterThan(Integer value) {
			addCriterion("quantity >", value, "quantity");
			return (Criteria) this;
		}

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

		public Criteria andQuantityLessThan(Integer value) {
			addCriterion("quantity <", value, "quantity");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andPaymentStatusIsNull() {
			addCriterion("payment_status is null");
			return (Criteria) this;
		}

		public Criteria andPaymentStatusIsNotNull() {
			addCriterion("payment_status is not null");
			return (Criteria) this;
		}

		public Criteria andPaymentStatusEqualTo(Integer value) {
			addCriterion("payment_status =", value, "paymentStatus");
			return (Criteria) this;
		}

		public Criteria andPaymentStatusNotEqualTo(Integer value) {
			addCriterion("payment_status <>", value, "paymentStatus");
			return (Criteria) this;
		}

		public Criteria andPaymentStatusGreaterThan(Integer value) {
			addCriterion("payment_status >", value, "paymentStatus");
			return (Criteria) this;
		}

		public Criteria andPaymentStatusGreaterThanOrEqualTo(Integer value) {
			addCriterion("payment_status >=", value, "paymentStatus");
			return (Criteria) this;
		}

		public Criteria andPaymentStatusLessThan(Integer value) {
			addCriterion("payment_status <", value, "paymentStatus");
			return (Criteria) this;
		}

		public Criteria andPaymentStatusLessThanOrEqualTo(Integer value) {
			addCriterion("payment_status <=", value, "paymentStatus");
			return (Criteria) this;
		}

		public Criteria andPaymentStatusIn(List<Integer> values) {
			addCriterion("payment_status in", values, "paymentStatus");
			return (Criteria) this;
		}

		public Criteria andPaymentStatusNotIn(List<Integer> values) {
			addCriterion("payment_status not in", values, "paymentStatus");
			return (Criteria) this;
		}

		public Criteria andPaymentStatusBetween(Integer value1, Integer value2) {
			addCriterion("payment_status between", value1, value2, "paymentStatus");
			return (Criteria) this;
		}

		public Criteria andPaymentStatusNotBetween(Integer value1, Integer value2) {
			addCriterion("payment_status not between", value1, value2, "paymentStatus");
			return (Criteria) this;
		}

		public Criteria andStatusIsNull() {
			addCriterion("status is null");
			return (Criteria) this;
		}

		public Criteria andStatusIsNotNull() {
			addCriterion("status is not null");
			return (Criteria) this;
		}

		public Criteria andStatusEqualTo(Integer value) {
			addCriterion("status =", value, "status");
			return (Criteria) this;
		}

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

		public Criteria andStatusGreaterThan(Integer value) {
			addCriterion("status >", value, "status");
			return (Criteria) this;
		}

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

		public Criteria andStatusLessThan(Integer value) {
			addCriterion("status <", value, "status");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andPaymentAmountIsNull() {
			addCriterion("payment_amount is null");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountIsNotNull() {
			addCriterion("payment_amount is not null");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountEqualTo(BigDecimal value) {
			addCriterion("payment_amount =", value, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountNotEqualTo(BigDecimal value) {
			addCriterion("payment_amount <>", value, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountGreaterThan(BigDecimal value) {
			addCriterion("payment_amount >", value, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("payment_amount >=", value, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountLessThan(BigDecimal value) {
			addCriterion("payment_amount <", value, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountLessThanOrEqualTo(BigDecimal value) {
			addCriterion("payment_amount <=", value, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountIn(List<BigDecimal> values) {
			addCriterion("payment_amount in", values, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountNotIn(List<BigDecimal> values) {
			addCriterion("payment_amount not in", values, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("payment_amount between", value1, value2, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountNotBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("payment_amount not between", value1, value2, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andRemarksIsNull() {
			addCriterion("remarks is null");
			return (Criteria) this;
		}

		public Criteria andRemarksIsNotNull() {
			addCriterion("remarks is not null");
			return (Criteria) this;
		}

		public Criteria andRemarksEqualTo(String value) {
			addCriterion("remarks =", value, "remarks");
			return (Criteria) this;
		}

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

		public Criteria andRemarksGreaterThan(String value) {
			addCriterion("remarks >", value, "remarks");
			return (Criteria) this;
		}

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

		public Criteria andRemarksLessThan(String value) {
			addCriterion("remarks <", value, "remarks");
			return (Criteria) this;
		}

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

		public Criteria andRemarksLike(String value) {
			addCriterion("remarks like", value, "remarks");
			return (Criteria) this;
		}

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

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

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

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

		public Criteria andRemarksNotBetween(String value1, String value2) {
			addCriterion("remarks not between", value1, value2, "remarks");
			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 andTpcIdIsNull() {
			addCriterion("tpc_id is null");
			return (Criteria) this;
		}

		public Criteria andTpcIdIsNotNull() {
			addCriterion("tpc_id is not null");
			return (Criteria) this;
		}

		public Criteria andTpcIdEqualTo(Integer value) {
			addCriterion("tpc_id =", value, "tpcId");
			return (Criteria) this;
		}

		public Criteria andTpcIdNotEqualTo(Integer value) {
			addCriterion("tpc_id <>", value, "tpcId");
			return (Criteria) this;
		}

		public Criteria andTpcIdGreaterThan(Integer value) {
			addCriterion("tpc_id >", value, "tpcId");
			return (Criteria) this;
		}

		public Criteria andTpcIdGreaterThanOrEqualTo(Integer value) {
			addCriterion("tpc_id >=", value, "tpcId");
			return (Criteria) this;
		}

		public Criteria andTpcIdLessThan(Integer value) {
			addCriterion("tpc_id <", value, "tpcId");
			return (Criteria) this;
		}

		public Criteria andTpcIdLessThanOrEqualTo(Integer value) {
			addCriterion("tpc_id <=", value, "tpcId");
			return (Criteria) this;
		}

		public Criteria andTpcIdIn(List<Integer> values) {
			addCriterion("tpc_id in", values, "tpcId");
			return (Criteria) this;
		}

		public Criteria andTpcIdNotIn(List<Integer> values) {
			addCriterion("tpc_id not in", values, "tpcId");
			return (Criteria) this;
		}

		public Criteria andTpcIdBetween(Integer value1, Integer value2) {
			addCriterion("tpc_id between", value1, value2, "tpcId");
			return (Criteria) this;
		}

		public Criteria andTpcIdNotBetween(Integer value1, Integer value2) {
			addCriterion("tpc_id not between", value1, value2, "tpcId");
			return (Criteria) this;
		}

		public Criteria andApplicationAmountIsNull() {
			addCriterion("application_amount is null");
			return (Criteria) this;
		}

		public Criteria andApplicationAmountIsNotNull() {
			addCriterion("application_amount is not null");
			return (Criteria) this;
		}

		public Criteria andApplicationAmountEqualTo(BigDecimal value) {
			addCriterion("application_amount =", value, "applicationAmount");
			return (Criteria) this;
		}

		public Criteria andApplicationAmountNotEqualTo(BigDecimal value) {
			addCriterion("application_amount <>", value, "applicationAmount");
			return (Criteria) this;
		}

		public Criteria andApplicationAmountGreaterThan(BigDecimal value) {
			addCriterion("application_amount >", value, "applicationAmount");
			return (Criteria) this;
		}

		public Criteria andApplicationAmountGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("application_amount >=", value, "applicationAmount");
			return (Criteria) this;
		}

		public Criteria andApplicationAmountLessThan(BigDecimal value) {
			addCriterion("application_amount <", value, "applicationAmount");
			return (Criteria) this;
		}

		public Criteria andApplicationAmountLessThanOrEqualTo(BigDecimal value) {
			addCriterion("application_amount <=", value, "applicationAmount");
			return (Criteria) this;
		}

		public Criteria andApplicationAmountIn(List<BigDecimal> values) {
			addCriterion("application_amount in", values, "applicationAmount");
			return (Criteria) this;
		}

		public Criteria andApplicationAmountNotIn(List<BigDecimal> values) {
			addCriterion("application_amount not in", values, "applicationAmount");
			return (Criteria) this;
		}

		public Criteria andApplicationAmountBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("application_amount between", value1, value2, "applicationAmount");
			return (Criteria) this;
		}

		public Criteria andApplicationAmountNotBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("application_amount not between", value1, value2, "applicationAmount");
			return (Criteria) this;
		}

		public Criteria andChooseTypeIsNull() {
			addCriterion("choose_type is null");
			return (Criteria) this;
		}

		public Criteria andChooseTypeIsNotNull() {
			addCriterion("choose_type is not null");
			return (Criteria) this;
		}

		public Criteria andChooseTypeEqualTo(Integer value) {
			addCriterion("choose_type =", value, "chooseType");
			return (Criteria) this;
		}

		public Criteria andChooseTypeNotEqualTo(Integer value) {
			addCriterion("choose_type <>", value, "chooseType");
			return (Criteria) this;
		}

		public Criteria andChooseTypeGreaterThan(Integer value) {
			addCriterion("choose_type >", value, "chooseType");
			return (Criteria) this;
		}

		public Criteria andChooseTypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("choose_type >=", value, "chooseType");
			return (Criteria) this;
		}

		public Criteria andChooseTypeLessThan(Integer value) {
			addCriterion("choose_type <", value, "chooseType");
			return (Criteria) this;
		}

		public Criteria andChooseTypeLessThanOrEqualTo(Integer value) {
			addCriterion("choose_type <=", value, "chooseType");
			return (Criteria) this;
		}

		public Criteria andChooseTypeIn(List<Integer> values) {
			addCriterion("choose_type in", values, "chooseType");
			return (Criteria) this;
		}

		public Criteria andChooseTypeNotIn(List<Integer> values) {
			addCriterion("choose_type not in", values, "chooseType");
			return (Criteria) this;
		}

		public Criteria andChooseTypeBetween(Integer value1, Integer value2) {
			addCriterion("choose_type between", value1, value2, "chooseType");
			return (Criteria) this;
		}

		public Criteria andChooseTypeNotBetween(Integer value1, Integer value2) {
			addCriterion("choose_type not between", value1, value2, "chooseType");
			return (Criteria) this;
		}

		public Criteria andAidIsNull() {
			addCriterion("aid is null");
			return (Criteria) this;
		}

		public Criteria andAidIsNotNull() {
			addCriterion("aid is not null");
			return (Criteria) this;
		}

		public Criteria andAidEqualTo(String value) {
			addCriterion("aid =", value, "aid");
			return (Criteria) this;
		}

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

		public Criteria andAidGreaterThan(String value) {
			addCriterion("aid >", value, "aid");
			return (Criteria) this;
		}

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

		public Criteria andAidLessThan(String value) {
			addCriterion("aid <", value, "aid");
			return (Criteria) this;
		}

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

		public Criteria andAidLike(String value) {
			addCriterion("aid like", value, "aid");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andAnameIsNull() {
			addCriterion("aname is null");
			return (Criteria) this;
		}

		public Criteria andAnameIsNotNull() {
			addCriterion("aname is not null");
			return (Criteria) this;
		}

		public Criteria andAnameEqualTo(String value) {
			addCriterion("aname =", value, "aname");
			return (Criteria) this;
		}

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

		public Criteria andAnameGreaterThan(String value) {
			addCriterion("aname >", value, "aname");
			return (Criteria) this;
		}

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

		public Criteria andAnameLessThan(String value) {
			addCriterion("aname <", value, "aname");
			return (Criteria) this;
		}

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

		public Criteria andAnameLike(String value) {
			addCriterion("aname like", value, "aname");
			return (Criteria) this;
		}

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

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

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

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

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

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	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 t_order_payment
     *
     * @mbg.generated do_not_delete_during_merge Fri Jun 12 17:27:40 CST 2020
     */
    public static class Criteria extends GeneratedCriteria {

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