package com.goafanti.common.model;

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

public class PersonnelEntryExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    public PersonnelEntryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 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_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 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_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 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_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 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_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 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_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 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_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 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_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 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 andSchoolIsNull() {
            addCriterion("school is null");
            return (Criteria) this;
        }

        public Criteria andSchoolIsNotNull() {
            addCriterion("school is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolEqualTo(String value) {
            addCriterion("school =", value, "school");
            return (Criteria) this;
        }

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

        public Criteria andSchoolGreaterThan(String value) {
            addCriterion("school >", value, "school");
            return (Criteria) this;
        }

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

        public Criteria andSchoolLessThan(String value) {
            addCriterion("school <", value, "school");
            return (Criteria) this;
        }

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

        public Criteria andSchoolLike(String value) {
            addCriterion("school like", value, "school");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andEducationIsNull() {
            addCriterion("education is null");
            return (Criteria) this;
        }

        public Criteria andEducationIsNotNull() {
            addCriterion("education is not null");
            return (Criteria) this;
        }

        public Criteria andEducationEqualTo(String value) {
            addCriterion("education =", value, "education");
            return (Criteria) this;
        }

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

        public Criteria andEducationGreaterThan(String value) {
            addCriterion("education >", value, "education");
            return (Criteria) this;
        }

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

        public Criteria andEducationLessThan(String value) {
            addCriterion("education <", value, "education");
            return (Criteria) this;
        }

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

        public Criteria andEducationLike(String value) {
            addCriterion("education like", value, "education");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andMajorIsNull() {
            addCriterion("major is null");
            return (Criteria) this;
        }

        public Criteria andMajorIsNotNull() {
            addCriterion("major is not null");
            return (Criteria) this;
        }

        public Criteria andMajorEqualTo(String value) {
            addCriterion("major =", value, "major");
            return (Criteria) this;
        }

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

        public Criteria andMajorGreaterThan(String value) {
            addCriterion("major >", value, "major");
            return (Criteria) this;
        }

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

        public Criteria andMajorLessThan(String value) {
            addCriterion("major <", value, "major");
            return (Criteria) this;
        }

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

        public Criteria andMajorLike(String value) {
            addCriterion("major like", value, "major");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

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

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

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

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

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

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andEntryRemarksIsNull() {
            addCriterion("entry_remarks is null");
            return (Criteria) this;
        }

        public Criteria andEntryRemarksIsNotNull() {
            addCriterion("entry_remarks is not null");
            return (Criteria) this;
        }

        public Criteria andEntryRemarksEqualTo(String value) {
            addCriterion("entry_remarks =", value, "entryRemarks");
            return (Criteria) this;
        }

        public Criteria andEntryRemarksNotEqualTo(String value) {
            addCriterion("entry_remarks <>", value, "entryRemarks");
            return (Criteria) this;
        }

        public Criteria andEntryRemarksGreaterThan(String value) {
            addCriterion("entry_remarks >", value, "entryRemarks");
            return (Criteria) this;
        }

        public Criteria andEntryRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("entry_remarks >=", value, "entryRemarks");
            return (Criteria) this;
        }

        public Criteria andEntryRemarksLessThan(String value) {
            addCriterion("entry_remarks <", value, "entryRemarks");
            return (Criteria) this;
        }

        public Criteria andEntryRemarksLessThanOrEqualTo(String value) {
            addCriterion("entry_remarks <=", value, "entryRemarks");
            return (Criteria) this;
        }

        public Criteria andEntryRemarksLike(String value) {
            addCriterion("entry_remarks like", value, "entryRemarks");
            return (Criteria) this;
        }

        public Criteria andEntryRemarksNotLike(String value) {
            addCriterion("entry_remarks not like", value, "entryRemarks");
            return (Criteria) this;
        }

        public Criteria andEntryRemarksIn(List<String> values) {
            addCriterion("entry_remarks in", values, "entryRemarks");
            return (Criteria) this;
        }

        public Criteria andEntryRemarksNotIn(List<String> values) {
            addCriterion("entry_remarks not in", values, "entryRemarks");
            return (Criteria) this;
        }

        public Criteria andEntryRemarksBetween(String value1, String value2) {
            addCriterion("entry_remarks between", value1, value2, "entryRemarks");
            return (Criteria) this;
        }

        public Criteria andEntryRemarksNotBetween(String value1, String value2) {
            addCriterion("entry_remarks not between", value1, value2, "entryRemarks");
            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_entry
     *
     * @mbg.generated do_not_delete_during_merge Fri Apr 24 11:14:15 CST 2020
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 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);
        }
    }
}