package com.goafanti.common.model;

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

public class ThirdPartyCompanyExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public ThirdPartyCompanyExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 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 third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 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 third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 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 third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 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 third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 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 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 andUnitPriceIsNull() {
			addCriterion("unit_price is null");
			return (Criteria) this;
		}

		public Criteria andUnitPriceIsNotNull() {
			addCriterion("unit_price is not null");
			return (Criteria) this;
		}

		public Criteria andUnitPriceEqualTo(BigDecimal value) {
			addCriterion("unit_price =", value, "unitPrice");
			return (Criteria) this;
		}

		public Criteria andUnitPriceNotEqualTo(BigDecimal value) {
			addCriterion("unit_price <>", value, "unitPrice");
			return (Criteria) this;
		}

		public Criteria andUnitPriceGreaterThan(BigDecimal value) {
			addCriterion("unit_price >", value, "unitPrice");
			return (Criteria) this;
		}

		public Criteria andUnitPriceGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("unit_price >=", value, "unitPrice");
			return (Criteria) this;
		}

		public Criteria andUnitPriceLessThan(BigDecimal value) {
			addCriterion("unit_price <", value, "unitPrice");
			return (Criteria) this;
		}

		public Criteria andUnitPriceLessThanOrEqualTo(BigDecimal value) {
			addCriterion("unit_price <=", value, "unitPrice");
			return (Criteria) this;
		}

		public Criteria andUnitPriceIn(List<BigDecimal> values) {
			addCriterion("unit_price in", values, "unitPrice");
			return (Criteria) this;
		}

		public Criteria andUnitPriceNotIn(List<BigDecimal> values) {
			addCriterion("unit_price not in", values, "unitPrice");
			return (Criteria) this;
		}

		public Criteria andUnitPriceBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("unit_price between", value1, value2, "unitPrice");
			return (Criteria) this;
		}

		public Criteria andUnitPriceNotBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("unit_price not between", value1, value2, "unitPrice");
			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 andTotalAmountIsNull() {
			addCriterion("total_amount is null");
			return (Criteria) this;
		}

		public Criteria andTotalAmountIsNotNull() {
			addCriterion("total_amount is not null");
			return (Criteria) this;
		}

		public Criteria andTotalAmountEqualTo(BigDecimal value) {
			addCriterion("total_amount =", value, "totalAmount");
			return (Criteria) this;
		}

		public Criteria andTotalAmountNotEqualTo(BigDecimal value) {
			addCriterion("total_amount <>", value, "totalAmount");
			return (Criteria) this;
		}

		public Criteria andTotalAmountGreaterThan(BigDecimal value) {
			addCriterion("total_amount >", value, "totalAmount");
			return (Criteria) this;
		}

		public Criteria andTotalAmountGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("total_amount >=", value, "totalAmount");
			return (Criteria) this;
		}

		public Criteria andTotalAmountLessThan(BigDecimal value) {
			addCriterion("total_amount <", value, "totalAmount");
			return (Criteria) this;
		}

		public Criteria andTotalAmountLessThanOrEqualTo(BigDecimal value) {
			addCriterion("total_amount <=", value, "totalAmount");
			return (Criteria) this;
		}

		public Criteria andTotalAmountIn(List<BigDecimal> values) {
			addCriterion("total_amount in", values, "totalAmount");
			return (Criteria) this;
		}

		public Criteria andTotalAmountNotIn(List<BigDecimal> values) {
			addCriterion("total_amount not in", values, "totalAmount");
			return (Criteria) this;
		}

		public Criteria andTotalAmountBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("total_amount between", value1, value2, "totalAmount");
			return (Criteria) this;
		}

		public Criteria andTotalAmountNotBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("total_amount not between", value1, value2, "totalAmount");
			return (Criteria) this;
		}

		public Criteria andMaterialIsNull() {
			addCriterion("material is null");
			return (Criteria) this;
		}

		public Criteria andMaterialIsNotNull() {
			addCriterion("material is not null");
			return (Criteria) this;
		}

		public Criteria andMaterialEqualTo(Integer value) {
			addCriterion("material =", value, "material");
			return (Criteria) this;
		}

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

		public Criteria andMaterialGreaterThan(Integer value) {
			addCriterion("material >", value, "material");
			return (Criteria) this;
		}

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

		public Criteria andMaterialLessThan(Integer value) {
			addCriterion("material <", value, "material");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andUrgentIsNull() {
			addCriterion("urgent is null");
			return (Criteria) this;
		}

		public Criteria andUrgentIsNotNull() {
			addCriterion("urgent is not null");
			return (Criteria) this;
		}

		public Criteria andUrgentEqualTo(Integer value) {
			addCriterion("urgent =", value, "urgent");
			return (Criteria) this;
		}

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

		public Criteria andUrgentGreaterThan(Integer value) {
			addCriterion("urgent >", value, "urgent");
			return (Criteria) this;
		}

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

		public Criteria andUrgentLessThan(Integer value) {
			addCriterion("urgent <", value, "urgent");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andAuditIsNull() {
			addCriterion("audit is null");
			return (Criteria) this;
		}

		public Criteria andAuditIsNotNull() {
			addCriterion("audit is not null");
			return (Criteria) this;
		}

		public Criteria andAuditEqualTo(Integer value) {
			addCriterion("audit =", value, "audit");
			return (Criteria) this;
		}

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

		public Criteria andAuditGreaterThan(Integer value) {
			addCriterion("audit >", value, "audit");
			return (Criteria) this;
		}

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

		public Criteria andAuditLessThan(Integer value) {
			addCriterion("audit <", value, "audit");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andAssetsIsNull() {
			addCriterion("assets is null");
			return (Criteria) this;
		}

		public Criteria andAssetsIsNotNull() {
			addCriterion("assets is not null");
			return (Criteria) this;
		}

		public Criteria andAssetsEqualTo(String value) {
			addCriterion("assets =", value, "assets");
			return (Criteria) this;
		}

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

		public Criteria andAssetsGreaterThan(String value) {
			addCriterion("assets >", value, "assets");
			return (Criteria) this;
		}

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

		public Criteria andAssetsLessThan(String value) {
			addCriterion("assets <", value, "assets");
			return (Criteria) this;
		}

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

		public Criteria andAssetsLike(String value) {
			addCriterion("assets like", value, "assets");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andIncomeIsNull() {
			addCriterion("income is null");
			return (Criteria) this;
		}

		public Criteria andIncomeIsNotNull() {
			addCriterion("income is not null");
			return (Criteria) this;
		}

		public Criteria andIncomeEqualTo(String value) {
			addCriterion("income =", value, "income");
			return (Criteria) this;
		}

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

		public Criteria andIncomeGreaterThan(String value) {
			addCriterion("income >", value, "income");
			return (Criteria) this;
		}

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

		public Criteria andIncomeLessThan(String value) {
			addCriterion("income <", value, "income");
			return (Criteria) this;
		}

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

		public Criteria andIncomeLike(String value) {
			addCriterion("income like", value, "income");
			return (Criteria) this;
		}

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

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

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

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

		public Criteria andIncomeNotBetween(String value1, String value2) {
			addCriterion("income not between", value1, value2, "income");
			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 andCidIsNull() {
			addCriterion("cid is null");
			return (Criteria) this;
		}

		public Criteria andCidIsNotNull() {
			addCriterion("cid is not null");
			return (Criteria) this;
		}

		public Criteria andCidEqualTo(Integer value) {
			addCriterion("cid =", value, "cid");
			return (Criteria) this;
		}

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

		public Criteria andCidGreaterThan(Integer value) {
			addCriterion("cid >", value, "cid");
			return (Criteria) this;
		}

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

		public Criteria andCidLessThan(Integer value) {
			addCriterion("cid <", value, "cid");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andPartyAmountIsNull() {
			addCriterion("party_amount is null");
			return (Criteria) this;
		}

		public Criteria andPartyAmountIsNotNull() {
			addCriterion("party_amount is not null");
			return (Criteria) this;
		}

		public Criteria andPartyAmountEqualTo(BigDecimal value) {
			addCriterion("party_amount =", value, "partyAmount");
			return (Criteria) this;
		}

		public Criteria andPartyAmountNotEqualTo(BigDecimal value) {
			addCriterion("party_amount <>", value, "partyAmount");
			return (Criteria) this;
		}

		public Criteria andPartyAmountGreaterThan(BigDecimal value) {
			addCriterion("party_amount >", value, "partyAmount");
			return (Criteria) this;
		}

		public Criteria andPartyAmountGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("party_amount >=", value, "partyAmount");
			return (Criteria) this;
		}

		public Criteria andPartyAmountLessThan(BigDecimal value) {
			addCriterion("party_amount <", value, "partyAmount");
			return (Criteria) this;
		}

		public Criteria andPartyAmountLessThanOrEqualTo(BigDecimal value) {
			addCriterion("party_amount <=", value, "partyAmount");
			return (Criteria) this;
		}

		public Criteria andPartyAmountIn(List<BigDecimal> values) {
			addCriterion("party_amount in", values, "partyAmount");
			return (Criteria) this;
		}

		public Criteria andPartyAmountNotIn(List<BigDecimal> values) {
			addCriterion("party_amount not in", values, "partyAmount");
			return (Criteria) this;
		}

		public Criteria andPartyAmountBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("party_amount between", value1, value2, "partyAmount");
			return (Criteria) this;
		}

		public Criteria andPartyAmountNotBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("party_amount not between", value1, value2, "partyAmount");
			return (Criteria) this;
		}

		public Criteria andTypeIsNull() {
			addCriterion("type is null");
			return (Criteria) this;
		}

		public Criteria andTypeIsNotNull() {
			addCriterion("type is not null");
			return (Criteria) this;
		}

		public Criteria andTypeEqualTo(Integer value) {
			addCriterion("type =", value, "type");
			return (Criteria) this;
		}

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

		public Criteria andTypeGreaterThan(Integer value) {
			addCriterion("type >", value, "type");
			return (Criteria) this;
		}

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

		public Criteria andTypeLessThan(Integer value) {
			addCriterion("type <", value, "type");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andPatentNameTypeIsNull() {
			addCriterion("patent_name_type is null");
			return (Criteria) this;
		}

		public Criteria andPatentNameTypeIsNotNull() {
			addCriterion("patent_name_type is not null");
			return (Criteria) this;
		}

		public Criteria andPatentNameTypeEqualTo(Integer value) {
			addCriterion("patent_name_type =", value, "patentNameType");
			return (Criteria) this;
		}

		public Criteria andPatentNameTypeNotEqualTo(Integer value) {
			addCriterion("patent_name_type <>", value, "patentNameType");
			return (Criteria) this;
		}

		public Criteria andPatentNameTypeGreaterThan(Integer value) {
			addCriterion("patent_name_type >", value, "patentNameType");
			return (Criteria) this;
		}

		public Criteria andPatentNameTypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("patent_name_type >=", value, "patentNameType");
			return (Criteria) this;
		}

		public Criteria andPatentNameTypeLessThan(Integer value) {
			addCriterion("patent_name_type <", value, "patentNameType");
			return (Criteria) this;
		}

		public Criteria andPatentNameTypeLessThanOrEqualTo(Integer value) {
			addCriterion("patent_name_type <=", value, "patentNameType");
			return (Criteria) this;
		}

		public Criteria andPatentNameTypeIn(List<Integer> values) {
			addCriterion("patent_name_type in", values, "patentNameType");
			return (Criteria) this;
		}

		public Criteria andPatentNameTypeNotIn(List<Integer> values) {
			addCriterion("patent_name_type not in", values, "patentNameType");
			return (Criteria) this;
		}

		public Criteria andPatentNameTypeBetween(Integer value1, Integer value2) {
			addCriterion("patent_name_type between", value1, value2, "patentNameType");
			return (Criteria) this;
		}

		public Criteria andPatentNameTypeNotBetween(Integer value1, Integer value2) {
			addCriterion("patent_name_type not between", value1, value2, "patentNameType");
			return (Criteria) this;
		}

		public Criteria andOfficialAmountIsNull() {
			addCriterion("official_amount is null");
			return (Criteria) this;
		}

		public Criteria andOfficialAmountIsNotNull() {
			addCriterion("official_amount is not null");
			return (Criteria) this;
		}

		public Criteria andOfficialAmountEqualTo(BigDecimal value) {
			addCriterion("official_amount =", value, "officialAmount");
			return (Criteria) this;
		}

		public Criteria andOfficialAmountNotEqualTo(BigDecimal value) {
			addCriterion("official_amount <>", value, "officialAmount");
			return (Criteria) this;
		}

		public Criteria andOfficialAmountGreaterThan(BigDecimal value) {
			addCriterion("official_amount >", value, "officialAmount");
			return (Criteria) this;
		}

		public Criteria andOfficialAmountGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("official_amount >=", value, "officialAmount");
			return (Criteria) this;
		}

		public Criteria andOfficialAmountLessThan(BigDecimal value) {
			addCriterion("official_amount <", value, "officialAmount");
			return (Criteria) this;
		}

		public Criteria andOfficialAmountLessThanOrEqualTo(BigDecimal value) {
			addCriterion("official_amount <=", value, "officialAmount");
			return (Criteria) this;
		}

		public Criteria andOfficialAmountIn(List<BigDecimal> values) {
			addCriterion("official_amount in", values, "officialAmount");
			return (Criteria) this;
		}

		public Criteria andOfficialAmountNotIn(List<BigDecimal> values) {
			addCriterion("official_amount not in", values, "officialAmount");
			return (Criteria) this;
		}

		public Criteria andOfficialAmountBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("official_amount between", value1, value2, "officialAmount");
			return (Criteria) this;
		}

		public Criteria andOfficialAmountNotBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("official_amount not between", value1, value2, "officialAmount");
			return (Criteria) this;
		}

		public Criteria andStartTypeIsNull() {
			addCriterion("start_type is null");
			return (Criteria) this;
		}

		public Criteria andStartTypeIsNotNull() {
			addCriterion("start_type is not null");
			return (Criteria) this;
		}

		public Criteria andStartTypeEqualTo(Integer value) {
			addCriterion("start_type =", value, "startType");
			return (Criteria) this;
		}

		public Criteria andStartTypeNotEqualTo(Integer value) {
			addCriterion("start_type <>", value, "startType");
			return (Criteria) this;
		}

		public Criteria andStartTypeGreaterThan(Integer value) {
			addCriterion("start_type >", value, "startType");
			return (Criteria) this;
		}

		public Criteria andStartTypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("start_type >=", value, "startType");
			return (Criteria) this;
		}

		public Criteria andStartTypeLessThan(Integer value) {
			addCriterion("start_type <", value, "startType");
			return (Criteria) this;
		}

		public Criteria andStartTypeLessThanOrEqualTo(Integer value) {
			addCriterion("start_type <=", value, "startType");
			return (Criteria) this;
		}

		public Criteria andStartTypeIn(List<Integer> values) {
			addCriterion("start_type in", values, "startType");
			return (Criteria) this;
		}

		public Criteria andStartTypeNotIn(List<Integer> values) {
			addCriterion("start_type not in", values, "startType");
			return (Criteria) this;
		}

		public Criteria andStartTypeBetween(Integer value1, Integer value2) {
			addCriterion("start_type between", value1, value2, "startType");
			return (Criteria) this;
		}

		public Criteria andStartTypeNotBetween(Integer value1, Integer value2) {
			addCriterion("start_type not between", value1, value2, "startType");
			return (Criteria) this;
		}

		public Criteria andPatentTypeIsNull() {
			addCriterion("patent_type is null");
			return (Criteria) this;
		}

		public Criteria andPatentTypeIsNotNull() {
			addCriterion("patent_type is not null");
			return (Criteria) this;
		}

		public Criteria andPatentTypeEqualTo(Integer value) {
			addCriterion("patent_type =", value, "patentType");
			return (Criteria) this;
		}

		public Criteria andPatentTypeNotEqualTo(Integer value) {
			addCriterion("patent_type <>", value, "patentType");
			return (Criteria) this;
		}

		public Criteria andPatentTypeGreaterThan(Integer value) {
			addCriterion("patent_type >", value, "patentType");
			return (Criteria) this;
		}

		public Criteria andPatentTypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("patent_type >=", value, "patentType");
			return (Criteria) this;
		}

		public Criteria andPatentTypeLessThan(Integer value) {
			addCriterion("patent_type <", value, "patentType");
			return (Criteria) this;
		}

		public Criteria andPatentTypeLessThanOrEqualTo(Integer value) {
			addCriterion("patent_type <=", value, "patentType");
			return (Criteria) this;
		}

		public Criteria andPatentTypeIn(List<Integer> values) {
			addCriterion("patent_type in", values, "patentType");
			return (Criteria) this;
		}

		public Criteria andPatentTypeNotIn(List<Integer> values) {
			addCriterion("patent_type not in", values, "patentType");
			return (Criteria) this;
		}

		public Criteria andPatentTypeBetween(Integer value1, Integer value2) {
			addCriterion("patent_type between", value1, value2, "patentType");
			return (Criteria) this;
		}

		public Criteria andPatentTypeNotBetween(Integer value1, Integer value2) {
			addCriterion("patent_type not between", value1, value2, "patentType");
			return (Criteria) this;
		}
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 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 third_party_company
     *
     * @mbg.generated do_not_delete_during_merge Thu Jun 11 15:36:31 CST 2020
     */
    public static class Criteria extends GeneratedCriteria {

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