package com.goafanti.common.model;

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

public class OrganizationAnnualReportExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	public OrganizationAnnualReportExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	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 organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	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 organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		public Criteria andIdIsNull() {
			addCriterion("id is null");
			return (Criteria) this;
		}

		public Criteria andIdIsNotNull() {
			addCriterion("id is not null");
			return (Criteria) this;
		}

		public Criteria andIdEqualTo(String value) {
			addCriterion("id =", value, "id");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andIdLike(String value) {
			addCriterion("id like", value, "id");
			return (Criteria) this;
		}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

		public Criteria andYearIsNull() {
			addCriterion("year is null");
			return (Criteria) this;
		}

		public Criteria andYearIsNotNull() {
			addCriterion("year is not null");
			return (Criteria) this;
		}

		public Criteria andYearEqualTo(Integer value) {
			addCriterion("year =", value, "year");
			return (Criteria) this;
		}

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

		public Criteria andYearGreaterThan(Integer value) {
			addCriterion("year >", value, "year");
			return (Criteria) this;
		}

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

		public Criteria andYearLessThan(Integer value) {
			addCriterion("year <", value, "year");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andSalesAmountIsNull() {
			addCriterion("sales_amount is null");
			return (Criteria) this;
		}

		public Criteria andSalesAmountIsNotNull() {
			addCriterion("sales_amount is not null");
			return (Criteria) this;
		}

		public Criteria andSalesAmountEqualTo(String value) {
			addCriterion("sales_amount =", value, "salesAmount");
			return (Criteria) this;
		}

		public Criteria andSalesAmountNotEqualTo(String value) {
			addCriterion("sales_amount <>", value, "salesAmount");
			return (Criteria) this;
		}

		public Criteria andSalesAmountGreaterThan(String value) {
			addCriterion("sales_amount >", value, "salesAmount");
			return (Criteria) this;
		}

		public Criteria andSalesAmountGreaterThanOrEqualTo(String value) {
			addCriterion("sales_amount >=", value, "salesAmount");
			return (Criteria) this;
		}

		public Criteria andSalesAmountLessThan(String value) {
			addCriterion("sales_amount <", value, "salesAmount");
			return (Criteria) this;
		}

		public Criteria andSalesAmountLessThanOrEqualTo(String value) {
			addCriterion("sales_amount <=", value, "salesAmount");
			return (Criteria) this;
		}

		public Criteria andSalesAmountLike(String value) {
			addCriterion("sales_amount like", value, "salesAmount");
			return (Criteria) this;
		}

		public Criteria andSalesAmountNotLike(String value) {
			addCriterion("sales_amount not like", value, "salesAmount");
			return (Criteria) this;
		}

		public Criteria andSalesAmountIn(List<String> values) {
			addCriterion("sales_amount in", values, "salesAmount");
			return (Criteria) this;
		}

		public Criteria andSalesAmountNotIn(List<String> values) {
			addCriterion("sales_amount not in", values, "salesAmount");
			return (Criteria) this;
		}

		public Criteria andSalesAmountBetween(String value1, String value2) {
			addCriterion("sales_amount between", value1, value2, "salesAmount");
			return (Criteria) this;
		}

		public Criteria andSalesAmountNotBetween(String value1, String value2) {
			addCriterion("sales_amount not between", value1, value2, "salesAmount");
			return (Criteria) this;
		}

		public Criteria andResearchAmountIsNull() {
			addCriterion("research_amount is null");
			return (Criteria) this;
		}

		public Criteria andResearchAmountIsNotNull() {
			addCriterion("research_amount is not null");
			return (Criteria) this;
		}

		public Criteria andResearchAmountEqualTo(String value) {
			addCriterion("research_amount =", value, "researchAmount");
			return (Criteria) this;
		}

		public Criteria andResearchAmountNotEqualTo(String value) {
			addCriterion("research_amount <>", value, "researchAmount");
			return (Criteria) this;
		}

		public Criteria andResearchAmountGreaterThan(String value) {
			addCriterion("research_amount >", value, "researchAmount");
			return (Criteria) this;
		}

		public Criteria andResearchAmountGreaterThanOrEqualTo(String value) {
			addCriterion("research_amount >=", value, "researchAmount");
			return (Criteria) this;
		}

		public Criteria andResearchAmountLessThan(String value) {
			addCriterion("research_amount <", value, "researchAmount");
			return (Criteria) this;
		}

		public Criteria andResearchAmountLessThanOrEqualTo(String value) {
			addCriterion("research_amount <=", value, "researchAmount");
			return (Criteria) this;
		}

		public Criteria andResearchAmountLike(String value) {
			addCriterion("research_amount like", value, "researchAmount");
			return (Criteria) this;
		}

		public Criteria andResearchAmountNotLike(String value) {
			addCriterion("research_amount not like", value, "researchAmount");
			return (Criteria) this;
		}

		public Criteria andResearchAmountIn(List<String> values) {
			addCriterion("research_amount in", values, "researchAmount");
			return (Criteria) this;
		}

		public Criteria andResearchAmountNotIn(List<String> values) {
			addCriterion("research_amount not in", values, "researchAmount");
			return (Criteria) this;
		}

		public Criteria andResearchAmountBetween(String value1, String value2) {
			addCriterion("research_amount between", value1, value2, "researchAmount");
			return (Criteria) this;
		}

		public Criteria andResearchAmountNotBetween(String value1, String value2) {
			addCriterion("research_amount not between", value1, value2, "researchAmount");
			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 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 andFixedAssetsIsNull() {
			addCriterion("fixed_assets is null");
			return (Criteria) this;
		}

		public Criteria andFixedAssetsIsNotNull() {
			addCriterion("fixed_assets is not null");
			return (Criteria) this;
		}

		public Criteria andFixedAssetsEqualTo(String value) {
			addCriterion("fixed_assets =", value, "fixedAssets");
			return (Criteria) this;
		}

		public Criteria andFixedAssetsNotEqualTo(String value) {
			addCriterion("fixed_assets <>", value, "fixedAssets");
			return (Criteria) this;
		}

		public Criteria andFixedAssetsGreaterThan(String value) {
			addCriterion("fixed_assets >", value, "fixedAssets");
			return (Criteria) this;
		}

		public Criteria andFixedAssetsGreaterThanOrEqualTo(String value) {
			addCriterion("fixed_assets >=", value, "fixedAssets");
			return (Criteria) this;
		}

		public Criteria andFixedAssetsLessThan(String value) {
			addCriterion("fixed_assets <", value, "fixedAssets");
			return (Criteria) this;
		}

		public Criteria andFixedAssetsLessThanOrEqualTo(String value) {
			addCriterion("fixed_assets <=", value, "fixedAssets");
			return (Criteria) this;
		}

		public Criteria andFixedAssetsLike(String value) {
			addCriterion("fixed_assets like", value, "fixedAssets");
			return (Criteria) this;
		}

		public Criteria andFixedAssetsNotLike(String value) {
			addCriterion("fixed_assets not like", value, "fixedAssets");
			return (Criteria) this;
		}

		public Criteria andFixedAssetsIn(List<String> values) {
			addCriterion("fixed_assets in", values, "fixedAssets");
			return (Criteria) this;
		}

		public Criteria andFixedAssetsNotIn(List<String> values) {
			addCriterion("fixed_assets not in", values, "fixedAssets");
			return (Criteria) this;
		}

		public Criteria andFixedAssetsBetween(String value1, String value2) {
			addCriterion("fixed_assets between", value1, value2, "fixedAssets");
			return (Criteria) this;
		}

		public Criteria andFixedAssetsNotBetween(String value1, String value2) {
			addCriterion("fixed_assets not between", value1, value2, "fixedAssets");
			return (Criteria) this;
		}
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table organization_annual_report
	 * @mbg.generated  Fri Jul 27 15:10:52 CST 2018
	 */
	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 organization_annual_report
     *
     * @mbg.generated do_not_delete_during_merge Fri Jul 20 16:32:29 CST 2018
     */
    public static class Criteria extends GeneratedCriteria {

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