package com.goafanti.common.model;

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

public class PersonnelPromotionExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 CST 2020
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 CST 2020
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 CST 2020
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 CST 2020
	 */
	public PersonnelPromotionExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 CST 2020
	 */
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 CST 2020
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 CST 2020
	 */
	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 CST 2020
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 CST 2020
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 CST 2020
	 */
	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 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 personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 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 personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 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 personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 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 personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 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 andPdIdIsNull() {
			addCriterion("pd_id is null");
			return (Criteria) this;
		}

		public Criteria andPdIdIsNotNull() {
			addCriterion("pd_id is not null");
			return (Criteria) this;
		}

		public Criteria andPdIdEqualTo(Integer value) {
			addCriterion("pd_id =", value, "pdId");
			return (Criteria) this;
		}

		public Criteria andPdIdNotEqualTo(Integer value) {
			addCriterion("pd_id <>", value, "pdId");
			return (Criteria) this;
		}

		public Criteria andPdIdGreaterThan(Integer value) {
			addCriterion("pd_id >", value, "pdId");
			return (Criteria) this;
		}

		public Criteria andPdIdGreaterThanOrEqualTo(Integer value) {
			addCriterion("pd_id >=", value, "pdId");
			return (Criteria) this;
		}

		public Criteria andPdIdLessThan(Integer value) {
			addCriterion("pd_id <", value, "pdId");
			return (Criteria) this;
		}

		public Criteria andPdIdLessThanOrEqualTo(Integer value) {
			addCriterion("pd_id <=", value, "pdId");
			return (Criteria) this;
		}

		public Criteria andPdIdIn(List<Integer> values) {
			addCriterion("pd_id in", values, "pdId");
			return (Criteria) this;
		}

		public Criteria andPdIdNotIn(List<Integer> values) {
			addCriterion("pd_id not in", values, "pdId");
			return (Criteria) this;
		}

		public Criteria andPdIdBetween(Integer value1, Integer value2) {
			addCriterion("pd_id between", value1, value2, "pdId");
			return (Criteria) this;
		}

		public Criteria andPdIdNotBetween(Integer value1, Integer value2) {
			addCriterion("pd_id not between", value1, value2, "pdId");
			return (Criteria) this;
		}

		public Criteria andOldJobsIsNull() {
			addCriterion("old_jobs is null");
			return (Criteria) this;
		}

		public Criteria andOldJobsIsNotNull() {
			addCriterion("old_jobs is not null");
			return (Criteria) this;
		}

		public Criteria andOldJobsEqualTo(String value) {
			addCriterion("old_jobs =", value, "oldJobs");
			return (Criteria) this;
		}

		public Criteria andOldJobsNotEqualTo(String value) {
			addCriterion("old_jobs <>", value, "oldJobs");
			return (Criteria) this;
		}

		public Criteria andOldJobsGreaterThan(String value) {
			addCriterion("old_jobs >", value, "oldJobs");
			return (Criteria) this;
		}

		public Criteria andOldJobsGreaterThanOrEqualTo(String value) {
			addCriterion("old_jobs >=", value, "oldJobs");
			return (Criteria) this;
		}

		public Criteria andOldJobsLessThan(String value) {
			addCriterion("old_jobs <", value, "oldJobs");
			return (Criteria) this;
		}

		public Criteria andOldJobsLessThanOrEqualTo(String value) {
			addCriterion("old_jobs <=", value, "oldJobs");
			return (Criteria) this;
		}

		public Criteria andOldJobsLike(String value) {
			addCriterion("old_jobs like", value, "oldJobs");
			return (Criteria) this;
		}

		public Criteria andOldJobsNotLike(String value) {
			addCriterion("old_jobs not like", value, "oldJobs");
			return (Criteria) this;
		}

		public Criteria andOldJobsIn(List<String> values) {
			addCriterion("old_jobs in", values, "oldJobs");
			return (Criteria) this;
		}

		public Criteria andOldJobsNotIn(List<String> values) {
			addCriterion("old_jobs not in", values, "oldJobs");
			return (Criteria) this;
		}

		public Criteria andOldJobsBetween(String value1, String value2) {
			addCriterion("old_jobs between", value1, value2, "oldJobs");
			return (Criteria) this;
		}

		public Criteria andOldJobsNotBetween(String value1, String value2) {
			addCriterion("old_jobs not between", value1, value2, "oldJobs");
			return (Criteria) this;
		}

		public Criteria andOldLvlIsNull() {
			addCriterion("old_lvl is null");
			return (Criteria) this;
		}

		public Criteria andOldLvlIsNotNull() {
			addCriterion("old_lvl is not null");
			return (Criteria) this;
		}

		public Criteria andOldLvlEqualTo(String value) {
			addCriterion("old_lvl =", value, "oldLvl");
			return (Criteria) this;
		}

		public Criteria andOldLvlNotEqualTo(String value) {
			addCriterion("old_lvl <>", value, "oldLvl");
			return (Criteria) this;
		}

		public Criteria andOldLvlGreaterThan(String value) {
			addCriterion("old_lvl >", value, "oldLvl");
			return (Criteria) this;
		}

		public Criteria andOldLvlGreaterThanOrEqualTo(String value) {
			addCriterion("old_lvl >=", value, "oldLvl");
			return (Criteria) this;
		}

		public Criteria andOldLvlLessThan(String value) {
			addCriterion("old_lvl <", value, "oldLvl");
			return (Criteria) this;
		}

		public Criteria andOldLvlLessThanOrEqualTo(String value) {
			addCriterion("old_lvl <=", value, "oldLvl");
			return (Criteria) this;
		}

		public Criteria andOldLvlLike(String value) {
			addCriterion("old_lvl like", value, "oldLvl");
			return (Criteria) this;
		}

		public Criteria andOldLvlNotLike(String value) {
			addCriterion("old_lvl not like", value, "oldLvl");
			return (Criteria) this;
		}

		public Criteria andOldLvlIn(List<String> values) {
			addCriterion("old_lvl in", values, "oldLvl");
			return (Criteria) this;
		}

		public Criteria andOldLvlNotIn(List<String> values) {
			addCriterion("old_lvl not in", values, "oldLvl");
			return (Criteria) this;
		}

		public Criteria andOldLvlBetween(String value1, String value2) {
			addCriterion("old_lvl between", value1, value2, "oldLvl");
			return (Criteria) this;
		}

		public Criteria andOldLvlNotBetween(String value1, String value2) {
			addCriterion("old_lvl not between", value1, value2, "oldLvl");
			return (Criteria) this;
		}

		public Criteria andNewJobsIsNull() {
			addCriterion("new_jobs is null");
			return (Criteria) this;
		}

		public Criteria andNewJobsIsNotNull() {
			addCriterion("new_jobs is not null");
			return (Criteria) this;
		}

		public Criteria andNewJobsEqualTo(String value) {
			addCriterion("new_jobs =", value, "newJobs");
			return (Criteria) this;
		}

		public Criteria andNewJobsNotEqualTo(String value) {
			addCriterion("new_jobs <>", value, "newJobs");
			return (Criteria) this;
		}

		public Criteria andNewJobsGreaterThan(String value) {
			addCriterion("new_jobs >", value, "newJobs");
			return (Criteria) this;
		}

		public Criteria andNewJobsGreaterThanOrEqualTo(String value) {
			addCriterion("new_jobs >=", value, "newJobs");
			return (Criteria) this;
		}

		public Criteria andNewJobsLessThan(String value) {
			addCriterion("new_jobs <", value, "newJobs");
			return (Criteria) this;
		}

		public Criteria andNewJobsLessThanOrEqualTo(String value) {
			addCriterion("new_jobs <=", value, "newJobs");
			return (Criteria) this;
		}

		public Criteria andNewJobsLike(String value) {
			addCriterion("new_jobs like", value, "newJobs");
			return (Criteria) this;
		}

		public Criteria andNewJobsNotLike(String value) {
			addCriterion("new_jobs not like", value, "newJobs");
			return (Criteria) this;
		}

		public Criteria andNewJobsIn(List<String> values) {
			addCriterion("new_jobs in", values, "newJobs");
			return (Criteria) this;
		}

		public Criteria andNewJobsNotIn(List<String> values) {
			addCriterion("new_jobs not in", values, "newJobs");
			return (Criteria) this;
		}

		public Criteria andNewJobsBetween(String value1, String value2) {
			addCriterion("new_jobs between", value1, value2, "newJobs");
			return (Criteria) this;
		}

		public Criteria andNewJobsNotBetween(String value1, String value2) {
			addCriterion("new_jobs not between", value1, value2, "newJobs");
			return (Criteria) this;
		}

		public Criteria andNewLvlIsNull() {
			addCriterion("new_lvl is null");
			return (Criteria) this;
		}

		public Criteria andNewLvlIsNotNull() {
			addCriterion("new_lvl is not null");
			return (Criteria) this;
		}

		public Criteria andNewLvlEqualTo(String value) {
			addCriterion("new_lvl =", value, "newLvl");
			return (Criteria) this;
		}

		public Criteria andNewLvlNotEqualTo(String value) {
			addCriterion("new_lvl <>", value, "newLvl");
			return (Criteria) this;
		}

		public Criteria andNewLvlGreaterThan(String value) {
			addCriterion("new_lvl >", value, "newLvl");
			return (Criteria) this;
		}

		public Criteria andNewLvlGreaterThanOrEqualTo(String value) {
			addCriterion("new_lvl >=", value, "newLvl");
			return (Criteria) this;
		}

		public Criteria andNewLvlLessThan(String value) {
			addCriterion("new_lvl <", value, "newLvl");
			return (Criteria) this;
		}

		public Criteria andNewLvlLessThanOrEqualTo(String value) {
			addCriterion("new_lvl <=", value, "newLvl");
			return (Criteria) this;
		}

		public Criteria andNewLvlLike(String value) {
			addCriterion("new_lvl like", value, "newLvl");
			return (Criteria) this;
		}

		public Criteria andNewLvlNotLike(String value) {
			addCriterion("new_lvl not like", value, "newLvl");
			return (Criteria) this;
		}

		public Criteria andNewLvlIn(List<String> values) {
			addCriterion("new_lvl in", values, "newLvl");
			return (Criteria) this;
		}

		public Criteria andNewLvlNotIn(List<String> values) {
			addCriterion("new_lvl not in", values, "newLvl");
			return (Criteria) this;
		}

		public Criteria andNewLvlBetween(String value1, String value2) {
			addCriterion("new_lvl between", value1, value2, "newLvl");
			return (Criteria) this;
		}

		public Criteria andNewLvlNotBetween(String value1, String value2) {
			addCriterion("new_lvl not between", value1, value2, "newLvl");
			return (Criteria) this;
		}

		public Criteria andPromotionTimeIsNull() {
			addCriterion("promotion_time is null");
			return (Criteria) this;
		}

		public Criteria andPromotionTimeIsNotNull() {
			addCriterion("promotion_time is not null");
			return (Criteria) this;
		}

		public Criteria andPromotionTimeEqualTo(Date value) {
			addCriterion("promotion_time =", value, "promotionTime");
			return (Criteria) this;
		}

		public Criteria andPromotionTimeNotEqualTo(Date value) {
			addCriterion("promotion_time <>", value, "promotionTime");
			return (Criteria) this;
		}

		public Criteria andPromotionTimeGreaterThan(Date value) {
			addCriterion("promotion_time >", value, "promotionTime");
			return (Criteria) this;
		}

		public Criteria andPromotionTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("promotion_time >=", value, "promotionTime");
			return (Criteria) this;
		}

		public Criteria andPromotionTimeLessThan(Date value) {
			addCriterion("promotion_time <", value, "promotionTime");
			return (Criteria) this;
		}

		public Criteria andPromotionTimeLessThanOrEqualTo(Date value) {
			addCriterion("promotion_time <=", value, "promotionTime");
			return (Criteria) this;
		}

		public Criteria andPromotionTimeIn(List<Date> values) {
			addCriterion("promotion_time in", values, "promotionTime");
			return (Criteria) this;
		}

		public Criteria andPromotionTimeNotIn(List<Date> values) {
			addCriterion("promotion_time not in", values, "promotionTime");
			return (Criteria) this;
		}

		public Criteria andPromotionTimeBetween(Date value1, Date value2) {
			addCriterion("promotion_time between", value1, value2, "promotionTime");
			return (Criteria) this;
		}

		public Criteria andPromotionTimeNotBetween(Date value1, Date value2) {
			addCriterion("promotion_time not between", value1, value2, "promotionTime");
			return (Criteria) this;
		}

		public Criteria andPromotionRemarksIsNull() {
			addCriterion("promotion_remarks is null");
			return (Criteria) this;
		}

		public Criteria andPromotionRemarksIsNotNull() {
			addCriterion("promotion_remarks is not null");
			return (Criteria) this;
		}

		public Criteria andPromotionRemarksEqualTo(String value) {
			addCriterion("promotion_remarks =", value, "promotionRemarks");
			return (Criteria) this;
		}

		public Criteria andPromotionRemarksNotEqualTo(String value) {
			addCriterion("promotion_remarks <>", value, "promotionRemarks");
			return (Criteria) this;
		}

		public Criteria andPromotionRemarksGreaterThan(String value) {
			addCriterion("promotion_remarks >", value, "promotionRemarks");
			return (Criteria) this;
		}

		public Criteria andPromotionRemarksGreaterThanOrEqualTo(String value) {
			addCriterion("promotion_remarks >=", value, "promotionRemarks");
			return (Criteria) this;
		}

		public Criteria andPromotionRemarksLessThan(String value) {
			addCriterion("promotion_remarks <", value, "promotionRemarks");
			return (Criteria) this;
		}

		public Criteria andPromotionRemarksLessThanOrEqualTo(String value) {
			addCriterion("promotion_remarks <=", value, "promotionRemarks");
			return (Criteria) this;
		}

		public Criteria andPromotionRemarksLike(String value) {
			addCriterion("promotion_remarks like", value, "promotionRemarks");
			return (Criteria) this;
		}

		public Criteria andPromotionRemarksNotLike(String value) {
			addCriterion("promotion_remarks not like", value, "promotionRemarks");
			return (Criteria) this;
		}

		public Criteria andPromotionRemarksIn(List<String> values) {
			addCriterion("promotion_remarks in", values, "promotionRemarks");
			return (Criteria) this;
		}

		public Criteria andPromotionRemarksNotIn(List<String> values) {
			addCriterion("promotion_remarks not in", values, "promotionRemarks");
			return (Criteria) this;
		}

		public Criteria andPromotionRemarksBetween(String value1, String value2) {
			addCriterion("promotion_remarks between", value1, value2, "promotionRemarks");
			return (Criteria) this;
		}

		public Criteria andPromotionRemarksNotBetween(String value1, String value2) {
			addCriterion("promotion_remarks not between", value1, value2, "promotionRemarks");
			return (Criteria) this;
		}

		public Criteria andAnnexUrlIsNull() {
			addCriterion("annex_url is null");
			return (Criteria) this;
		}

		public Criteria andAnnexUrlIsNotNull() {
			addCriterion("annex_url is not null");
			return (Criteria) this;
		}

		public Criteria andAnnexUrlEqualTo(String value) {
			addCriterion("annex_url =", value, "annexUrl");
			return (Criteria) this;
		}

		public Criteria andAnnexUrlNotEqualTo(String value) {
			addCriterion("annex_url <>", value, "annexUrl");
			return (Criteria) this;
		}

		public Criteria andAnnexUrlGreaterThan(String value) {
			addCriterion("annex_url >", value, "annexUrl");
			return (Criteria) this;
		}

		public Criteria andAnnexUrlGreaterThanOrEqualTo(String value) {
			addCriterion("annex_url >=", value, "annexUrl");
			return (Criteria) this;
		}

		public Criteria andAnnexUrlLessThan(String value) {
			addCriterion("annex_url <", value, "annexUrl");
			return (Criteria) this;
		}

		public Criteria andAnnexUrlLessThanOrEqualTo(String value) {
			addCriterion("annex_url <=", value, "annexUrl");
			return (Criteria) this;
		}

		public Criteria andAnnexUrlLike(String value) {
			addCriterion("annex_url like", value, "annexUrl");
			return (Criteria) this;
		}

		public Criteria andAnnexUrlNotLike(String value) {
			addCriterion("annex_url not like", value, "annexUrl");
			return (Criteria) this;
		}

		public Criteria andAnnexUrlIn(List<String> values) {
			addCriterion("annex_url in", values, "annexUrl");
			return (Criteria) this;
		}

		public Criteria andAnnexUrlNotIn(List<String> values) {
			addCriterion("annex_url not in", values, "annexUrl");
			return (Criteria) this;
		}

		public Criteria andAnnexUrlBetween(String value1, String value2) {
			addCriterion("annex_url between", value1, value2, "annexUrl");
			return (Criteria) this;
		}

		public Criteria andAnnexUrlNotBetween(String value1, String value2) {
			addCriterion("annex_url not between", value1, value2, "annexUrl");
			return (Criteria) this;
		}

		public Criteria andAnnexNameIsNull() {
			addCriterion("annex_name is null");
			return (Criteria) this;
		}

		public Criteria andAnnexNameIsNotNull() {
			addCriterion("annex_name is not null");
			return (Criteria) this;
		}

		public Criteria andAnnexNameEqualTo(String value) {
			addCriterion("annex_name =", value, "annexName");
			return (Criteria) this;
		}

		public Criteria andAnnexNameNotEqualTo(String value) {
			addCriterion("annex_name <>", value, "annexName");
			return (Criteria) this;
		}

		public Criteria andAnnexNameGreaterThan(String value) {
			addCriterion("annex_name >", value, "annexName");
			return (Criteria) this;
		}

		public Criteria andAnnexNameGreaterThanOrEqualTo(String value) {
			addCriterion("annex_name >=", value, "annexName");
			return (Criteria) this;
		}

		public Criteria andAnnexNameLessThan(String value) {
			addCriterion("annex_name <", value, "annexName");
			return (Criteria) this;
		}

		public Criteria andAnnexNameLessThanOrEqualTo(String value) {
			addCriterion("annex_name <=", value, "annexName");
			return (Criteria) this;
		}

		public Criteria andAnnexNameLike(String value) {
			addCriterion("annex_name like", value, "annexName");
			return (Criteria) this;
		}

		public Criteria andAnnexNameNotLike(String value) {
			addCriterion("annex_name not like", value, "annexName");
			return (Criteria) this;
		}

		public Criteria andAnnexNameIn(List<String> values) {
			addCriterion("annex_name in", values, "annexName");
			return (Criteria) this;
		}

		public Criteria andAnnexNameNotIn(List<String> values) {
			addCriterion("annex_name not in", values, "annexName");
			return (Criteria) this;
		}

		public Criteria andAnnexNameBetween(String value1, String value2) {
			addCriterion("annex_name between", value1, value2, "annexName");
			return (Criteria) this;
		}

		public Criteria andAnnexNameNotBetween(String value1, String value2) {
			addCriterion("annex_name not between", value1, value2, "annexName");
			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;
		}
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table personnel_promotion
	 * @mbg.generated  Sun Apr 26 10:10:12 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 personnel_promotion
     *
     * @mbg.generated do_not_delete_during_merge Fri Apr 24 11:38:17 CST 2020
     */
    public static class Criteria extends GeneratedCriteria {

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