package com.goafanti.common.model;

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

public class PersonnelMidExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table personnel_mid
	 * @mbg.generated  Thu May 07 14:15:57 CST 2020
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table personnel_mid
	 * @mbg.generated  Thu May 07 14:15:57 CST 2020
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table personnel_mid
	 * @mbg.generated  Thu May 07 14:15:57 CST 2020
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_mid
	 * @mbg.generated  Thu May 07 14:15:57 CST 2020
	 */
	public PersonnelMidExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_mid
	 * @mbg.generated  Thu May 07 14:15:57 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_mid
	 * @mbg.generated  Thu May 07 14:15:57 CST 2020
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_mid
	 * @mbg.generated  Thu May 07 14:15:57 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_mid
	 * @mbg.generated  Thu May 07 14:15:57 CST 2020
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_mid
	 * @mbg.generated  Thu May 07 14:15:57 CST 2020
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_mid
	 * @mbg.generated  Thu May 07 14:15:57 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_mid
	 * @mbg.generated  Thu May 07 14:15:57 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_mid
	 * @mbg.generated  Thu May 07 14:15:57 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_mid
	 * @mbg.generated  Thu May 07 14:15:57 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_mid
	 * @mbg.generated  Thu May 07 14:15:57 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_mid
	 * @mbg.generated  Thu May 07 14:15:57 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 andWelfareAnnexUrlIsNull() {
			addCriterion("welfare_annex_url is null");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexUrlIsNotNull() {
			addCriterion("welfare_annex_url is not null");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexUrlEqualTo(String value) {
			addCriterion("welfare_annex_url =", value, "welfareAnnexUrl");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexUrlNotEqualTo(String value) {
			addCriterion("welfare_annex_url <>", value, "welfareAnnexUrl");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexUrlGreaterThan(String value) {
			addCriterion("welfare_annex_url >", value, "welfareAnnexUrl");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexUrlGreaterThanOrEqualTo(String value) {
			addCriterion("welfare_annex_url >=", value, "welfareAnnexUrl");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexUrlLessThan(String value) {
			addCriterion("welfare_annex_url <", value, "welfareAnnexUrl");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexUrlLessThanOrEqualTo(String value) {
			addCriterion("welfare_annex_url <=", value, "welfareAnnexUrl");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexUrlLike(String value) {
			addCriterion("welfare_annex_url like", value, "welfareAnnexUrl");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexUrlNotLike(String value) {
			addCriterion("welfare_annex_url not like", value, "welfareAnnexUrl");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexUrlIn(List<String> values) {
			addCriterion("welfare_annex_url in", values, "welfareAnnexUrl");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexUrlNotIn(List<String> values) {
			addCriterion("welfare_annex_url not in", values, "welfareAnnexUrl");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexUrlBetween(String value1, String value2) {
			addCriterion("welfare_annex_url between", value1, value2, "welfareAnnexUrl");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexUrlNotBetween(String value1, String value2) {
			addCriterion("welfare_annex_url not between", value1, value2, "welfareAnnexUrl");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexNameIsNull() {
			addCriterion("welfare_annex_name is null");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexNameIsNotNull() {
			addCriterion("welfare_annex_name is not null");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexNameEqualTo(String value) {
			addCriterion("welfare_annex_name =", value, "welfareAnnexName");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexNameNotEqualTo(String value) {
			addCriterion("welfare_annex_name <>", value, "welfareAnnexName");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexNameGreaterThan(String value) {
			addCriterion("welfare_annex_name >", value, "welfareAnnexName");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexNameGreaterThanOrEqualTo(String value) {
			addCriterion("welfare_annex_name >=", value, "welfareAnnexName");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexNameLessThan(String value) {
			addCriterion("welfare_annex_name <", value, "welfareAnnexName");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexNameLessThanOrEqualTo(String value) {
			addCriterion("welfare_annex_name <=", value, "welfareAnnexName");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexNameLike(String value) {
			addCriterion("welfare_annex_name like", value, "welfareAnnexName");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexNameNotLike(String value) {
			addCriterion("welfare_annex_name not like", value, "welfareAnnexName");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexNameIn(List<String> values) {
			addCriterion("welfare_annex_name in", values, "welfareAnnexName");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexNameNotIn(List<String> values) {
			addCriterion("welfare_annex_name not in", values, "welfareAnnexName");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexNameBetween(String value1, String value2) {
			addCriterion("welfare_annex_name between", value1, value2, "welfareAnnexName");
			return (Criteria) this;
		}

		public Criteria andWelfareAnnexNameNotBetween(String value1, String value2) {
			addCriterion("welfare_annex_name not between", value1, value2, "welfareAnnexName");
			return (Criteria) this;
		}

		public Criteria andInsuranceStartTimeIsNull() {
			addCriterion("insurance_start_time is null");
			return (Criteria) this;
		}

		public Criteria andInsuranceStartTimeIsNotNull() {
			addCriterion("insurance_start_time is not null");
			return (Criteria) this;
		}

		public Criteria andInsuranceStartTimeEqualTo(Date value) {
			addCriterion("insurance_start_time =", value, "insuranceStartTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceStartTimeNotEqualTo(Date value) {
			addCriterion("insurance_start_time <>", value, "insuranceStartTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceStartTimeGreaterThan(Date value) {
			addCriterion("insurance_start_time >", value, "insuranceStartTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceStartTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("insurance_start_time >=", value, "insuranceStartTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceStartTimeLessThan(Date value) {
			addCriterion("insurance_start_time <", value, "insuranceStartTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceStartTimeLessThanOrEqualTo(Date value) {
			addCriterion("insurance_start_time <=", value, "insuranceStartTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceStartTimeIn(List<Date> values) {
			addCriterion("insurance_start_time in", values, "insuranceStartTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceStartTimeNotIn(List<Date> values) {
			addCriterion("insurance_start_time not in", values, "insuranceStartTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceStartTimeBetween(Date value1, Date value2) {
			addCriterion("insurance_start_time between", value1, value2, "insuranceStartTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceStartTimeNotBetween(Date value1, Date value2) {
			addCriterion("insurance_start_time not between", value1, value2, "insuranceStartTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceEndTimeIsNull() {
			addCriterion("insurance_end_time is null");
			return (Criteria) this;
		}

		public Criteria andInsuranceEndTimeIsNotNull() {
			addCriterion("insurance_end_time is not null");
			return (Criteria) this;
		}

		public Criteria andInsuranceEndTimeEqualTo(Date value) {
			addCriterion("insurance_end_time =", value, "insuranceEndTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceEndTimeNotEqualTo(Date value) {
			addCriterion("insurance_end_time <>", value, "insuranceEndTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceEndTimeGreaterThan(Date value) {
			addCriterion("insurance_end_time >", value, "insuranceEndTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceEndTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("insurance_end_time >=", value, "insuranceEndTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceEndTimeLessThan(Date value) {
			addCriterion("insurance_end_time <", value, "insuranceEndTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceEndTimeLessThanOrEqualTo(Date value) {
			addCriterion("insurance_end_time <=", value, "insuranceEndTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceEndTimeIn(List<Date> values) {
			addCriterion("insurance_end_time in", values, "insuranceEndTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceEndTimeNotIn(List<Date> values) {
			addCriterion("insurance_end_time not in", values, "insuranceEndTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceEndTimeBetween(Date value1, Date value2) {
			addCriterion("insurance_end_time between", value1, value2, "insuranceEndTime");
			return (Criteria) this;
		}

		public Criteria andInsuranceEndTimeNotBetween(Date value1, Date value2) {
			addCriterion("insurance_end_time not between", value1, value2, "insuranceEndTime");
			return (Criteria) this;
		}

		public Criteria andFundStartTimeIsNull() {
			addCriterion("fund_start_time is null");
			return (Criteria) this;
		}

		public Criteria andFundStartTimeIsNotNull() {
			addCriterion("fund_start_time is not null");
			return (Criteria) this;
		}

		public Criteria andFundStartTimeEqualTo(Date value) {
			addCriterion("fund_start_time =", value, "fundStartTime");
			return (Criteria) this;
		}

		public Criteria andFundStartTimeNotEqualTo(Date value) {
			addCriterion("fund_start_time <>", value, "fundStartTime");
			return (Criteria) this;
		}

		public Criteria andFundStartTimeGreaterThan(Date value) {
			addCriterion("fund_start_time >", value, "fundStartTime");
			return (Criteria) this;
		}

		public Criteria andFundStartTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("fund_start_time >=", value, "fundStartTime");
			return (Criteria) this;
		}

		public Criteria andFundStartTimeLessThan(Date value) {
			addCriterion("fund_start_time <", value, "fundStartTime");
			return (Criteria) this;
		}

		public Criteria andFundStartTimeLessThanOrEqualTo(Date value) {
			addCriterion("fund_start_time <=", value, "fundStartTime");
			return (Criteria) this;
		}

		public Criteria andFundStartTimeIn(List<Date> values) {
			addCriterion("fund_start_time in", values, "fundStartTime");
			return (Criteria) this;
		}

		public Criteria andFundStartTimeNotIn(List<Date> values) {
			addCriterion("fund_start_time not in", values, "fundStartTime");
			return (Criteria) this;
		}

		public Criteria andFundStartTimeBetween(Date value1, Date value2) {
			addCriterion("fund_start_time between", value1, value2, "fundStartTime");
			return (Criteria) this;
		}

		public Criteria andFundStartTimeNotBetween(Date value1, Date value2) {
			addCriterion("fund_start_time not between", value1, value2, "fundStartTime");
			return (Criteria) this;
		}

		public Criteria andFundEndTimeIsNull() {
			addCriterion("fund_end_time is null");
			return (Criteria) this;
		}

		public Criteria andFundEndTimeIsNotNull() {
			addCriterion("fund_end_time is not null");
			return (Criteria) this;
		}

		public Criteria andFundEndTimeEqualTo(Date value) {
			addCriterion("fund_end_time =", value, "fundEndTime");
			return (Criteria) this;
		}

		public Criteria andFundEndTimeNotEqualTo(Date value) {
			addCriterion("fund_end_time <>", value, "fundEndTime");
			return (Criteria) this;
		}

		public Criteria andFundEndTimeGreaterThan(Date value) {
			addCriterion("fund_end_time >", value, "fundEndTime");
			return (Criteria) this;
		}

		public Criteria andFundEndTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("fund_end_time >=", value, "fundEndTime");
			return (Criteria) this;
		}

		public Criteria andFundEndTimeLessThan(Date value) {
			addCriterion("fund_end_time <", value, "fundEndTime");
			return (Criteria) this;
		}

		public Criteria andFundEndTimeLessThanOrEqualTo(Date value) {
			addCriterion("fund_end_time <=", value, "fundEndTime");
			return (Criteria) this;
		}

		public Criteria andFundEndTimeIn(List<Date> values) {
			addCriterion("fund_end_time in", values, "fundEndTime");
			return (Criteria) this;
		}

		public Criteria andFundEndTimeNotIn(List<Date> values) {
			addCriterion("fund_end_time not in", values, "fundEndTime");
			return (Criteria) this;
		}

		public Criteria andFundEndTimeBetween(Date value1, Date value2) {
			addCriterion("fund_end_time between", value1, value2, "fundEndTime");
			return (Criteria) this;
		}

		public Criteria andFundEndTimeNotBetween(Date value1, Date value2) {
			addCriterion("fund_end_time not between", value1, value2, "fundEndTime");
			return (Criteria) this;
		}

		public Criteria andEmployerStartTimeIsNull() {
			addCriterion("employer_start_time is null");
			return (Criteria) this;
		}

		public Criteria andEmployerStartTimeIsNotNull() {
			addCriterion("employer_start_time is not null");
			return (Criteria) this;
		}

		public Criteria andEmployerStartTimeEqualTo(Date value) {
			addCriterion("employer_start_time =", value, "employerStartTime");
			return (Criteria) this;
		}

		public Criteria andEmployerStartTimeNotEqualTo(Date value) {
			addCriterion("employer_start_time <>", value, "employerStartTime");
			return (Criteria) this;
		}

		public Criteria andEmployerStartTimeGreaterThan(Date value) {
			addCriterion("employer_start_time >", value, "employerStartTime");
			return (Criteria) this;
		}

		public Criteria andEmployerStartTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("employer_start_time >=", value, "employerStartTime");
			return (Criteria) this;
		}

		public Criteria andEmployerStartTimeLessThan(Date value) {
			addCriterion("employer_start_time <", value, "employerStartTime");
			return (Criteria) this;
		}

		public Criteria andEmployerStartTimeLessThanOrEqualTo(Date value) {
			addCriterion("employer_start_time <=", value, "employerStartTime");
			return (Criteria) this;
		}

		public Criteria andEmployerStartTimeIn(List<Date> values) {
			addCriterion("employer_start_time in", values, "employerStartTime");
			return (Criteria) this;
		}

		public Criteria andEmployerStartTimeNotIn(List<Date> values) {
			addCriterion("employer_start_time not in", values, "employerStartTime");
			return (Criteria) this;
		}

		public Criteria andEmployerStartTimeBetween(Date value1, Date value2) {
			addCriterion("employer_start_time between", value1, value2, "employerStartTime");
			return (Criteria) this;
		}

		public Criteria andEmployerStartTimeNotBetween(Date value1, Date value2) {
			addCriterion("employer_start_time not between", value1, value2, "employerStartTime");
			return (Criteria) this;
		}

		public Criteria andEmployerEndTimeIsNull() {
			addCriterion("employer_end_time is null");
			return (Criteria) this;
		}

		public Criteria andEmployerEndTimeIsNotNull() {
			addCriterion("employer_end_time is not null");
			return (Criteria) this;
		}

		public Criteria andEmployerEndTimeEqualTo(Date value) {
			addCriterion("employer_end_time =", value, "employerEndTime");
			return (Criteria) this;
		}

		public Criteria andEmployerEndTimeNotEqualTo(Date value) {
			addCriterion("employer_end_time <>", value, "employerEndTime");
			return (Criteria) this;
		}

		public Criteria andEmployerEndTimeGreaterThan(Date value) {
			addCriterion("employer_end_time >", value, "employerEndTime");
			return (Criteria) this;
		}

		public Criteria andEmployerEndTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("employer_end_time >=", value, "employerEndTime");
			return (Criteria) this;
		}

		public Criteria andEmployerEndTimeLessThan(Date value) {
			addCriterion("employer_end_time <", value, "employerEndTime");
			return (Criteria) this;
		}

		public Criteria andEmployerEndTimeLessThanOrEqualTo(Date value) {
			addCriterion("employer_end_time <=", value, "employerEndTime");
			return (Criteria) this;
		}

		public Criteria andEmployerEndTimeIn(List<Date> values) {
			addCriterion("employer_end_time in", values, "employerEndTime");
			return (Criteria) this;
		}

		public Criteria andEmployerEndTimeNotIn(List<Date> values) {
			addCriterion("employer_end_time not in", values, "employerEndTime");
			return (Criteria) this;
		}

		public Criteria andEmployerEndTimeBetween(Date value1, Date value2) {
			addCriterion("employer_end_time between", value1, value2, "employerEndTime");
			return (Criteria) this;
		}

		public Criteria andEmployerEndTimeNotBetween(Date value1, Date value2) {
			addCriterion("employer_end_time not between", value1, value2, "employerEndTime");
			return (Criteria) this;
		}

		public Criteria andContractStartTimeIsNull() {
			addCriterion("contract_start_time is null");
			return (Criteria) this;
		}

		public Criteria andContractStartTimeIsNotNull() {
			addCriterion("contract_start_time is not null");
			return (Criteria) this;
		}

		public Criteria andContractStartTimeEqualTo(Date value) {
			addCriterion("contract_start_time =", value, "contractStartTime");
			return (Criteria) this;
		}

		public Criteria andContractStartTimeNotEqualTo(Date value) {
			addCriterion("contract_start_time <>", value, "contractStartTime");
			return (Criteria) this;
		}

		public Criteria andContractStartTimeGreaterThan(Date value) {
			addCriterion("contract_start_time >", value, "contractStartTime");
			return (Criteria) this;
		}

		public Criteria andContractStartTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("contract_start_time >=", value, "contractStartTime");
			return (Criteria) this;
		}

		public Criteria andContractStartTimeLessThan(Date value) {
			addCriterion("contract_start_time <", value, "contractStartTime");
			return (Criteria) this;
		}

		public Criteria andContractStartTimeLessThanOrEqualTo(Date value) {
			addCriterion("contract_start_time <=", value, "contractStartTime");
			return (Criteria) this;
		}

		public Criteria andContractStartTimeIn(List<Date> values) {
			addCriterion("contract_start_time in", values, "contractStartTime");
			return (Criteria) this;
		}

		public Criteria andContractStartTimeNotIn(List<Date> values) {
			addCriterion("contract_start_time not in", values, "contractStartTime");
			return (Criteria) this;
		}

		public Criteria andContractStartTimeBetween(Date value1, Date value2) {
			addCriterion("contract_start_time between", value1, value2, "contractStartTime");
			return (Criteria) this;
		}

		public Criteria andContractStartTimeNotBetween(Date value1, Date value2) {
			addCriterion("contract_start_time not between", value1, value2, "contractStartTime");
			return (Criteria) this;
		}

		public Criteria andContractEndTimeIsNull() {
			addCriterion("contract_end_time is null");
			return (Criteria) this;
		}

		public Criteria andContractEndTimeIsNotNull() {
			addCriterion("contract_end_time is not null");
			return (Criteria) this;
		}

		public Criteria andContractEndTimeEqualTo(Date value) {
			addCriterion("contract_end_time =", value, "contractEndTime");
			return (Criteria) this;
		}

		public Criteria andContractEndTimeNotEqualTo(Date value) {
			addCriterion("contract_end_time <>", value, "contractEndTime");
			return (Criteria) this;
		}

		public Criteria andContractEndTimeGreaterThan(Date value) {
			addCriterion("contract_end_time >", value, "contractEndTime");
			return (Criteria) this;
		}

		public Criteria andContractEndTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("contract_end_time >=", value, "contractEndTime");
			return (Criteria) this;
		}

		public Criteria andContractEndTimeLessThan(Date value) {
			addCriterion("contract_end_time <", value, "contractEndTime");
			return (Criteria) this;
		}

		public Criteria andContractEndTimeLessThanOrEqualTo(Date value) {
			addCriterion("contract_end_time <=", value, "contractEndTime");
			return (Criteria) this;
		}

		public Criteria andContractEndTimeIn(List<Date> values) {
			addCriterion("contract_end_time in", values, "contractEndTime");
			return (Criteria) this;
		}

		public Criteria andContractEndTimeNotIn(List<Date> values) {
			addCriterion("contract_end_time not in", values, "contractEndTime");
			return (Criteria) this;
		}

		public Criteria andContractEndTimeBetween(Date value1, Date value2) {
			addCriterion("contract_end_time between", value1, value2, "contractEndTime");
			return (Criteria) this;
		}

		public Criteria andContractEndTimeNotBetween(Date value1, Date value2) {
			addCriterion("contract_end_time not between", value1, value2, "contractEndTime");
			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 andEmergencyContactIsNull() {
			addCriterion("emergency_contact is null");
			return (Criteria) this;
		}

		public Criteria andEmergencyContactIsNotNull() {
			addCriterion("emergency_contact is not null");
			return (Criteria) this;
		}

		public Criteria andEmergencyContactEqualTo(String value) {
			addCriterion("emergency_contact =", value, "emergencyContact");
			return (Criteria) this;
		}

		public Criteria andEmergencyContactNotEqualTo(String value) {
			addCriterion("emergency_contact <>", value, "emergencyContact");
			return (Criteria) this;
		}

		public Criteria andEmergencyContactGreaterThan(String value) {
			addCriterion("emergency_contact >", value, "emergencyContact");
			return (Criteria) this;
		}

		public Criteria andEmergencyContactGreaterThanOrEqualTo(String value) {
			addCriterion("emergency_contact >=", value, "emergencyContact");
			return (Criteria) this;
		}

		public Criteria andEmergencyContactLessThan(String value) {
			addCriterion("emergency_contact <", value, "emergencyContact");
			return (Criteria) this;
		}

		public Criteria andEmergencyContactLessThanOrEqualTo(String value) {
			addCriterion("emergency_contact <=", value, "emergencyContact");
			return (Criteria) this;
		}

		public Criteria andEmergencyContactLike(String value) {
			addCriterion("emergency_contact like", value, "emergencyContact");
			return (Criteria) this;
		}

		public Criteria andEmergencyContactNotLike(String value) {
			addCriterion("emergency_contact not like", value, "emergencyContact");
			return (Criteria) this;
		}

		public Criteria andEmergencyContactIn(List<String> values) {
			addCriterion("emergency_contact in", values, "emergencyContact");
			return (Criteria) this;
		}

		public Criteria andEmergencyContactNotIn(List<String> values) {
			addCriterion("emergency_contact not in", values, "emergencyContact");
			return (Criteria) this;
		}

		public Criteria andEmergencyContactBetween(String value1, String value2) {
			addCriterion("emergency_contact between", value1, value2, "emergencyContact");
			return (Criteria) this;
		}

		public Criteria andEmergencyContactNotBetween(String value1, String value2) {
			addCriterion("emergency_contact not between", value1, value2, "emergencyContact");
			return (Criteria) this;
		}

		public Criteria andEmergencyMobileIsNull() {
			addCriterion("emergency_mobile is null");
			return (Criteria) this;
		}

		public Criteria andEmergencyMobileIsNotNull() {
			addCriterion("emergency_mobile is not null");
			return (Criteria) this;
		}

		public Criteria andEmergencyMobileEqualTo(String value) {
			addCriterion("emergency_mobile =", value, "emergencyMobile");
			return (Criteria) this;
		}

		public Criteria andEmergencyMobileNotEqualTo(String value) {
			addCriterion("emergency_mobile <>", value, "emergencyMobile");
			return (Criteria) this;
		}

		public Criteria andEmergencyMobileGreaterThan(String value) {
			addCriterion("emergency_mobile >", value, "emergencyMobile");
			return (Criteria) this;
		}

		public Criteria andEmergencyMobileGreaterThanOrEqualTo(String value) {
			addCriterion("emergency_mobile >=", value, "emergencyMobile");
			return (Criteria) this;
		}

		public Criteria andEmergencyMobileLessThan(String value) {
			addCriterion("emergency_mobile <", value, "emergencyMobile");
			return (Criteria) this;
		}

		public Criteria andEmergencyMobileLessThanOrEqualTo(String value) {
			addCriterion("emergency_mobile <=", value, "emergencyMobile");
			return (Criteria) this;
		}

		public Criteria andEmergencyMobileLike(String value) {
			addCriterion("emergency_mobile like", value, "emergencyMobile");
			return (Criteria) this;
		}

		public Criteria andEmergencyMobileNotLike(String value) {
			addCriterion("emergency_mobile not like", value, "emergencyMobile");
			return (Criteria) this;
		}

		public Criteria andEmergencyMobileIn(List<String> values) {
			addCriterion("emergency_mobile in", values, "emergencyMobile");
			return (Criteria) this;
		}

		public Criteria andEmergencyMobileNotIn(List<String> values) {
			addCriterion("emergency_mobile not in", values, "emergencyMobile");
			return (Criteria) this;
		}

		public Criteria andEmergencyMobileBetween(String value1, String value2) {
			addCriterion("emergency_mobile between", value1, value2, "emergencyMobile");
			return (Criteria) this;
		}

		public Criteria andEmergencyMobileNotBetween(String value1, String value2) {
			addCriterion("emergency_mobile not between", value1, value2, "emergencyMobile");
			return (Criteria) this;
		}

		public Criteria andQuitTimeIsNull() {
			addCriterion("quit_time is null");
			return (Criteria) this;
		}

		public Criteria andQuitTimeIsNotNull() {
			addCriterion("quit_time is not null");
			return (Criteria) this;
		}

		public Criteria andQuitTimeEqualTo(Date value) {
			addCriterion("quit_time =", value, "quitTime");
			return (Criteria) this;
		}

		public Criteria andQuitTimeNotEqualTo(Date value) {
			addCriterion("quit_time <>", value, "quitTime");
			return (Criteria) this;
		}

		public Criteria andQuitTimeGreaterThan(Date value) {
			addCriterion("quit_time >", value, "quitTime");
			return (Criteria) this;
		}

		public Criteria andQuitTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("quit_time >=", value, "quitTime");
			return (Criteria) this;
		}

		public Criteria andQuitTimeLessThan(Date value) {
			addCriterion("quit_time <", value, "quitTime");
			return (Criteria) this;
		}

		public Criteria andQuitTimeLessThanOrEqualTo(Date value) {
			addCriterion("quit_time <=", value, "quitTime");
			return (Criteria) this;
		}

		public Criteria andQuitTimeIn(List<Date> values) {
			addCriterion("quit_time in", values, "quitTime");
			return (Criteria) this;
		}

		public Criteria andQuitTimeNotIn(List<Date> values) {
			addCriterion("quit_time not in", values, "quitTime");
			return (Criteria) this;
		}

		public Criteria andQuitTimeBetween(Date value1, Date value2) {
			addCriterion("quit_time between", value1, value2, "quitTime");
			return (Criteria) this;
		}

		public Criteria andQuitTimeNotBetween(Date value1, Date value2) {
			addCriterion("quit_time not between", value1, value2, "quitTime");
			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 andWelfareRemarksIsNull() {
			addCriterion("welfare_remarks is null");
			return (Criteria) this;
		}

		public Criteria andWelfareRemarksIsNotNull() {
			addCriterion("welfare_remarks is not null");
			return (Criteria) this;
		}

		public Criteria andWelfareRemarksEqualTo(String value) {
			addCriterion("welfare_remarks =", value, "welfareRemarks");
			return (Criteria) this;
		}

		public Criteria andWelfareRemarksNotEqualTo(String value) {
			addCriterion("welfare_remarks <>", value, "welfareRemarks");
			return (Criteria) this;
		}

		public Criteria andWelfareRemarksGreaterThan(String value) {
			addCriterion("welfare_remarks >", value, "welfareRemarks");
			return (Criteria) this;
		}

		public Criteria andWelfareRemarksGreaterThanOrEqualTo(String value) {
			addCriterion("welfare_remarks >=", value, "welfareRemarks");
			return (Criteria) this;
		}

		public Criteria andWelfareRemarksLessThan(String value) {
			addCriterion("welfare_remarks <", value, "welfareRemarks");
			return (Criteria) this;
		}

		public Criteria andWelfareRemarksLessThanOrEqualTo(String value) {
			addCriterion("welfare_remarks <=", value, "welfareRemarks");
			return (Criteria) this;
		}

		public Criteria andWelfareRemarksLike(String value) {
			addCriterion("welfare_remarks like", value, "welfareRemarks");
			return (Criteria) this;
		}

		public Criteria andWelfareRemarksNotLike(String value) {
			addCriterion("welfare_remarks not like", value, "welfareRemarks");
			return (Criteria) this;
		}

		public Criteria andWelfareRemarksIn(List<String> values) {
			addCriterion("welfare_remarks in", values, "welfareRemarks");
			return (Criteria) this;
		}

		public Criteria andWelfareRemarksNotIn(List<String> values) {
			addCriterion("welfare_remarks not in", values, "welfareRemarks");
			return (Criteria) this;
		}

		public Criteria andWelfareRemarksBetween(String value1, String value2) {
			addCriterion("welfare_remarks between", value1, value2, "welfareRemarks");
			return (Criteria) this;
		}

		public Criteria andWelfareRemarksNotBetween(String value1, String value2) {
			addCriterion("welfare_remarks not between", value1, value2, "welfareRemarks");
			return (Criteria) this;
		}
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table personnel_mid
	 * @mbg.generated  Thu May 07 14:15:57 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_mid
     *
     * @mbg.generated do_not_delete_during_merge Thu Apr 30 10:11:09 CST 2020
     */
    public static class Criteria extends GeneratedCriteria {

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