package com.goafanti.common.model;

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

public class ScDemandExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	public ScDemandExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 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 sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 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 sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 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 sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 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 sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 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 andNameIsNull() {
			addCriterion("name is null");
			return (Criteria) this;
		}

		public Criteria andNameIsNotNull() {
			addCriterion("name is not null");
			return (Criteria) this;
		}

		public Criteria andNameEqualTo(String value) {
			addCriterion("name =", value, "name");
			return (Criteria) this;
		}

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

		public Criteria andNameGreaterThan(String value) {
			addCriterion("name >", value, "name");
			return (Criteria) this;
		}

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

		public Criteria andNameLessThan(String value) {
			addCriterion("name <", value, "name");
			return (Criteria) this;
		}

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

		public Criteria andNameLike(String value) {
			addCriterion("name like", value, "name");
			return (Criteria) this;
		}

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

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

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

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

		public Criteria andNameNotBetween(String value1, String value2) {
			addCriterion("name not between", value1, value2, "name");
			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 andIndustryIsNull() {
			addCriterion("industry is null");
			return (Criteria) this;
		}

		public Criteria andIndustryIsNotNull() {
			addCriterion("industry is not null");
			return (Criteria) this;
		}

		public Criteria andIndustryEqualTo(Integer value) {
			addCriterion("industry =", value, "industry");
			return (Criteria) this;
		}

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

		public Criteria andIndustryGreaterThan(Integer value) {
			addCriterion("industry >", value, "industry");
			return (Criteria) this;
		}

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

		public Criteria andIndustryLessThan(Integer value) {
			addCriterion("industry <", value, "industry");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andSummaryIsNull() {
			addCriterion("summary is null");
			return (Criteria) this;
		}

		public Criteria andSummaryIsNotNull() {
			addCriterion("summary is not null");
			return (Criteria) this;
		}

		public Criteria andSummaryEqualTo(String value) {
			addCriterion("summary =", value, "summary");
			return (Criteria) this;
		}

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

		public Criteria andSummaryGreaterThan(String value) {
			addCriterion("summary >", value, "summary");
			return (Criteria) this;
		}

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

		public Criteria andSummaryLessThan(String value) {
			addCriterion("summary <", value, "summary");
			return (Criteria) this;
		}

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

		public Criteria andSummaryLike(String value) {
			addCriterion("summary like", value, "summary");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andIntroduceIsNull() {
			addCriterion("introduce is null");
			return (Criteria) this;
		}

		public Criteria andIntroduceIsNotNull() {
			addCriterion("introduce is not null");
			return (Criteria) this;
		}

		public Criteria andIntroduceEqualTo(String value) {
			addCriterion("introduce =", value, "introduce");
			return (Criteria) this;
		}

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

		public Criteria andIntroduceGreaterThan(String value) {
			addCriterion("introduce >", value, "introduce");
			return (Criteria) this;
		}

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

		public Criteria andIntroduceLessThan(String value) {
			addCriterion("introduce <", value, "introduce");
			return (Criteria) this;
		}

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

		public Criteria andIntroduceLike(String value) {
			addCriterion("introduce like", value, "introduce");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andPublisherIdIsNull() {
			addCriterion("publisher_id is null");
			return (Criteria) this;
		}

		public Criteria andPublisherIdIsNotNull() {
			addCriterion("publisher_id is not null");
			return (Criteria) this;
		}

		public Criteria andPublisherIdEqualTo(String value) {
			addCriterion("publisher_id =", value, "publisherId");
			return (Criteria) this;
		}

		public Criteria andPublisherIdNotEqualTo(String value) {
			addCriterion("publisher_id <>", value, "publisherId");
			return (Criteria) this;
		}

		public Criteria andPublisherIdGreaterThan(String value) {
			addCriterion("publisher_id >", value, "publisherId");
			return (Criteria) this;
		}

		public Criteria andPublisherIdGreaterThanOrEqualTo(String value) {
			addCriterion("publisher_id >=", value, "publisherId");
			return (Criteria) this;
		}

		public Criteria andPublisherIdLessThan(String value) {
			addCriterion("publisher_id <", value, "publisherId");
			return (Criteria) this;
		}

		public Criteria andPublisherIdLessThanOrEqualTo(String value) {
			addCriterion("publisher_id <=", value, "publisherId");
			return (Criteria) this;
		}

		public Criteria andPublisherIdLike(String value) {
			addCriterion("publisher_id like", value, "publisherId");
			return (Criteria) this;
		}

		public Criteria andPublisherIdNotLike(String value) {
			addCriterion("publisher_id not like", value, "publisherId");
			return (Criteria) this;
		}

		public Criteria andPublisherIdIn(List<String> values) {
			addCriterion("publisher_id in", values, "publisherId");
			return (Criteria) this;
		}

		public Criteria andPublisherIdNotIn(List<String> values) {
			addCriterion("publisher_id not in", values, "publisherId");
			return (Criteria) this;
		}

		public Criteria andPublisherIdBetween(String value1, String value2) {
			addCriterion("publisher_id between", value1, value2, "publisherId");
			return (Criteria) this;
		}

		public Criteria andPublisherIdNotBetween(String value1, String value2) {
			addCriterion("publisher_id not between", value1, value2, "publisherId");
			return (Criteria) this;
		}

		public Criteria andReserveButtModeIsNull() {
			addCriterion("reserve_butt_mode is null");
			return (Criteria) this;
		}

		public Criteria andReserveButtModeIsNotNull() {
			addCriterion("reserve_butt_mode is not null");
			return (Criteria) this;
		}

		public Criteria andReserveButtModeEqualTo(Integer value) {
			addCriterion("reserve_butt_mode =", value, "reserveButtMode");
			return (Criteria) this;
		}

		public Criteria andReserveButtModeNotEqualTo(Integer value) {
			addCriterion("reserve_butt_mode <>", value, "reserveButtMode");
			return (Criteria) this;
		}

		public Criteria andReserveButtModeGreaterThan(Integer value) {
			addCriterion("reserve_butt_mode >", value, "reserveButtMode");
			return (Criteria) this;
		}

		public Criteria andReserveButtModeGreaterThanOrEqualTo(Integer value) {
			addCriterion("reserve_butt_mode >=", value, "reserveButtMode");
			return (Criteria) this;
		}

		public Criteria andReserveButtModeLessThan(Integer value) {
			addCriterion("reserve_butt_mode <", value, "reserveButtMode");
			return (Criteria) this;
		}

		public Criteria andReserveButtModeLessThanOrEqualTo(Integer value) {
			addCriterion("reserve_butt_mode <=", value, "reserveButtMode");
			return (Criteria) this;
		}

		public Criteria andReserveButtModeIn(List<Integer> values) {
			addCriterion("reserve_butt_mode in", values, "reserveButtMode");
			return (Criteria) this;
		}

		public Criteria andReserveButtModeNotIn(List<Integer> values) {
			addCriterion("reserve_butt_mode not in", values, "reserveButtMode");
			return (Criteria) this;
		}

		public Criteria andReserveButtModeBetween(Integer value1, Integer value2) {
			addCriterion("reserve_butt_mode between", value1, value2, "reserveButtMode");
			return (Criteria) this;
		}

		public Criteria andReserveButtModeNotBetween(Integer value1, Integer value2) {
			addCriterion("reserve_butt_mode not between", value1, value2, "reserveButtMode");
			return (Criteria) this;
		}

		public Criteria andReserveButtUnitIsNull() {
			addCriterion("reserve_butt_unit is null");
			return (Criteria) this;
		}

		public Criteria andReserveButtUnitIsNotNull() {
			addCriterion("reserve_butt_unit is not null");
			return (Criteria) this;
		}

		public Criteria andReserveButtUnitEqualTo(String value) {
			addCriterion("reserve_butt_unit =", value, "reserveButtUnit");
			return (Criteria) this;
		}

		public Criteria andReserveButtUnitNotEqualTo(String value) {
			addCriterion("reserve_butt_unit <>", value, "reserveButtUnit");
			return (Criteria) this;
		}

		public Criteria andReserveButtUnitGreaterThan(String value) {
			addCriterion("reserve_butt_unit >", value, "reserveButtUnit");
			return (Criteria) this;
		}

		public Criteria andReserveButtUnitGreaterThanOrEqualTo(String value) {
			addCriterion("reserve_butt_unit >=", value, "reserveButtUnit");
			return (Criteria) this;
		}

		public Criteria andReserveButtUnitLessThan(String value) {
			addCriterion("reserve_butt_unit <", value, "reserveButtUnit");
			return (Criteria) this;
		}

		public Criteria andReserveButtUnitLessThanOrEqualTo(String value) {
			addCriterion("reserve_butt_unit <=", value, "reserveButtUnit");
			return (Criteria) this;
		}

		public Criteria andReserveButtUnitLike(String value) {
			addCriterion("reserve_butt_unit like", value, "reserveButtUnit");
			return (Criteria) this;
		}

		public Criteria andReserveButtUnitNotLike(String value) {
			addCriterion("reserve_butt_unit not like", value, "reserveButtUnit");
			return (Criteria) this;
		}

		public Criteria andReserveButtUnitIn(List<String> values) {
			addCriterion("reserve_butt_unit in", values, "reserveButtUnit");
			return (Criteria) this;
		}

		public Criteria andReserveButtUnitNotIn(List<String> values) {
			addCriterion("reserve_butt_unit not in", values, "reserveButtUnit");
			return (Criteria) this;
		}

		public Criteria andReserveButtUnitBetween(String value1, String value2) {
			addCriterion("reserve_butt_unit between", value1, value2, "reserveButtUnit");
			return (Criteria) this;
		}

		public Criteria andReserveButtUnitNotBetween(String value1, String value2) {
			addCriterion("reserve_butt_unit not between", value1, value2, "reserveButtUnit");
			return (Criteria) this;
		}

		public Criteria andReserveSolveModeIsNull() {
			addCriterion("reserve_solve_mode is null");
			return (Criteria) this;
		}

		public Criteria andReserveSolveModeIsNotNull() {
			addCriterion("reserve_solve_mode is not null");
			return (Criteria) this;
		}

		public Criteria andReserveSolveModeEqualTo(Integer value) {
			addCriterion("reserve_solve_mode =", value, "reserveSolveMode");
			return (Criteria) this;
		}

		public Criteria andReserveSolveModeNotEqualTo(Integer value) {
			addCriterion("reserve_solve_mode <>", value, "reserveSolveMode");
			return (Criteria) this;
		}

		public Criteria andReserveSolveModeGreaterThan(Integer value) {
			addCriterion("reserve_solve_mode >", value, "reserveSolveMode");
			return (Criteria) this;
		}

		public Criteria andReserveSolveModeGreaterThanOrEqualTo(Integer value) {
			addCriterion("reserve_solve_mode >=", value, "reserveSolveMode");
			return (Criteria) this;
		}

		public Criteria andReserveSolveModeLessThan(Integer value) {
			addCriterion("reserve_solve_mode <", value, "reserveSolveMode");
			return (Criteria) this;
		}

		public Criteria andReserveSolveModeLessThanOrEqualTo(Integer value) {
			addCriterion("reserve_solve_mode <=", value, "reserveSolveMode");
			return (Criteria) this;
		}

		public Criteria andReserveSolveModeIn(List<Integer> values) {
			addCriterion("reserve_solve_mode in", values, "reserveSolveMode");
			return (Criteria) this;
		}

		public Criteria andReserveSolveModeNotIn(List<Integer> values) {
			addCriterion("reserve_solve_mode not in", values, "reserveSolveMode");
			return (Criteria) this;
		}

		public Criteria andReserveSolveModeBetween(Integer value1, Integer value2) {
			addCriterion("reserve_solve_mode between", value1, value2, "reserveSolveMode");
			return (Criteria) this;
		}

		public Criteria andReserveSolveModeNotBetween(Integer value1, Integer value2) {
			addCriterion("reserve_solve_mode not between", value1, value2, "reserveSolveMode");
			return (Criteria) this;
		}

		public Criteria andInvestmentCostIsNull() {
			addCriterion("investment_cost is null");
			return (Criteria) this;
		}

		public Criteria andInvestmentCostIsNotNull() {
			addCriterion("investment_cost is not null");
			return (Criteria) this;
		}

		public Criteria andInvestmentCostEqualTo(String value) {
			addCriterion("investment_cost =", value, "investmentCost");
			return (Criteria) this;
		}

		public Criteria andInvestmentCostNotEqualTo(String value) {
			addCriterion("investment_cost <>", value, "investmentCost");
			return (Criteria) this;
		}

		public Criteria andInvestmentCostGreaterThan(String value) {
			addCriterion("investment_cost >", value, "investmentCost");
			return (Criteria) this;
		}

		public Criteria andInvestmentCostGreaterThanOrEqualTo(String value) {
			addCriterion("investment_cost >=", value, "investmentCost");
			return (Criteria) this;
		}

		public Criteria andInvestmentCostLessThan(String value) {
			addCriterion("investment_cost <", value, "investmentCost");
			return (Criteria) this;
		}

		public Criteria andInvestmentCostLessThanOrEqualTo(String value) {
			addCriterion("investment_cost <=", value, "investmentCost");
			return (Criteria) this;
		}

		public Criteria andInvestmentCostLike(String value) {
			addCriterion("investment_cost like", value, "investmentCost");
			return (Criteria) this;
		}

		public Criteria andInvestmentCostNotLike(String value) {
			addCriterion("investment_cost not like", value, "investmentCost");
			return (Criteria) this;
		}

		public Criteria andInvestmentCostIn(List<String> values) {
			addCriterion("investment_cost in", values, "investmentCost");
			return (Criteria) this;
		}

		public Criteria andInvestmentCostNotIn(List<String> values) {
			addCriterion("investment_cost not in", values, "investmentCost");
			return (Criteria) this;
		}

		public Criteria andInvestmentCostBetween(String value1, String value2) {
			addCriterion("investment_cost between", value1, value2, "investmentCost");
			return (Criteria) this;
		}

		public Criteria andInvestmentCostNotBetween(String value1, String value2) {
			addCriterion("investment_cost not between", value1, value2, "investmentCost");
			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 andDeleteSignIsNull() {
			addCriterion("delete_sign is null");
			return (Criteria) this;
		}

		public Criteria andDeleteSignIsNotNull() {
			addCriterion("delete_sign is not null");
			return (Criteria) this;
		}

		public Criteria andDeleteSignEqualTo(Integer value) {
			addCriterion("delete_sign =", value, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignNotEqualTo(Integer value) {
			addCriterion("delete_sign <>", value, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignGreaterThan(Integer value) {
			addCriterion("delete_sign >", value, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignGreaterThanOrEqualTo(Integer value) {
			addCriterion("delete_sign >=", value, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignLessThan(Integer value) {
			addCriterion("delete_sign <", value, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignLessThanOrEqualTo(Integer value) {
			addCriterion("delete_sign <=", value, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignIn(List<Integer> values) {
			addCriterion("delete_sign in", values, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignNotIn(List<Integer> values) {
			addCriterion("delete_sign not in", values, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignBetween(Integer value1, Integer value2) {
			addCriterion("delete_sign between", value1, value2, "deleteSign");
			return (Criteria) this;
		}

		public Criteria andDeleteSignNotBetween(Integer value1, Integer value2) {
			addCriterion("delete_sign not between", value1, value2, "deleteSign");
			return (Criteria) this;
		}
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 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 sc_demand
     *
     * @mbg.generated do_not_delete_during_merge Tue Jun 26 15:53:02 CST 2018
     */
    public static class Criteria extends GeneratedCriteria {

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