package com.zteits.park.domain; import java.util.ArrayList; import java.util.Date; import java.util.List; public class TpEEmployeeRestExample { protected String orderByClause; protected boolean distinct; protected List oredCriteria; public TpEEmployeeRestExample() { oredCriteria = new ArrayList(); } public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } public String getOrderByClause() { return orderByClause; } public void setDistinct(boolean distinct) { this.distinct = distinct; } public boolean isDistinct() { return distinct; } public List getOredCriteria() { return oredCriteria; } public void or(Criteria criteria) { oredCriteria.add(criteria); } public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List 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(Long value) { addCriterion("id =", value, "id"); return (Criteria) this; } public Criteria andIdNotEqualTo(Long value) { addCriterion("id <>", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThan(Long value) { addCriterion("id >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(Long value) { addCriterion("id >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(Long value) { addCriterion("id <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(Long value) { addCriterion("id <=", value, "id"); return (Criteria) this; } public Criteria andIdIn(List values) { addCriterion("id in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List values) { addCriterion("id not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(Long value1, Long value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(Long value1, Long value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } public Criteria andRestEmployeeIdIsNull() { addCriterion("rest_employee_id is null"); return (Criteria) this; } public Criteria andRestEmployeeIdIsNotNull() { addCriterion("rest_employee_id is not null"); return (Criteria) this; } public Criteria andRestEmployeeIdEqualTo(String value) { addCriterion("rest_employee_id =", value, "restEmployeeId"); return (Criteria) this; } public Criteria andRestEmployeeIdNotEqualTo(String value) { addCriterion("rest_employee_id <>", value, "restEmployeeId"); return (Criteria) this; } public Criteria andRestEmployeeIdGreaterThan(String value) { addCriterion("rest_employee_id >", value, "restEmployeeId"); return (Criteria) this; } public Criteria andRestEmployeeIdGreaterThanOrEqualTo(String value) { addCriterion("rest_employee_id >=", value, "restEmployeeId"); return (Criteria) this; } public Criteria andRestEmployeeIdLessThan(String value) { addCriterion("rest_employee_id <", value, "restEmployeeId"); return (Criteria) this; } public Criteria andRestEmployeeIdLessThanOrEqualTo(String value) { addCriterion("rest_employee_id <=", value, "restEmployeeId"); return (Criteria) this; } public Criteria andRestEmployeeIdLike(String value) { addCriterion("rest_employee_id like", value, "restEmployeeId"); return (Criteria) this; } public Criteria andRestEmployeeIdNotLike(String value) { addCriterion("rest_employee_id not like", value, "restEmployeeId"); return (Criteria) this; } public Criteria andRestEmployeeIdIn(List values) { addCriterion("rest_employee_id in", values, "restEmployeeId"); return (Criteria) this; } public Criteria andRestEmployeeIdNotIn(List values) { addCriterion("rest_employee_id not in", values, "restEmployeeId"); return (Criteria) this; } public Criteria andRestEmployeeIdBetween(String value1, String value2) { addCriterion("rest_employee_id between", value1, value2, "restEmployeeId"); return (Criteria) this; } public Criteria andRestEmployeeIdNotBetween(String value1, String value2) { addCriterion("rest_employee_id not between", value1, value2, "restEmployeeId"); return (Criteria) this; } public Criteria andRestEmployeeNameIsNull() { addCriterion("rest_employee_name is null"); return (Criteria) this; } public Criteria andRestEmployeeNameIsNotNull() { addCriterion("rest_employee_name is not null"); return (Criteria) this; } public Criteria andRestEmployeeNameEqualTo(String value) { addCriterion("rest_employee_name =", value, "restEmployeeName"); return (Criteria) this; } public Criteria andRestEmployeeNameNotEqualTo(String value) { addCriterion("rest_employee_name <>", value, "restEmployeeName"); return (Criteria) this; } public Criteria andRestEmployeeNameGreaterThan(String value) { addCriterion("rest_employee_name >", value, "restEmployeeName"); return (Criteria) this; } public Criteria andRestEmployeeNameGreaterThanOrEqualTo(String value) { addCriterion("rest_employee_name >=", value, "restEmployeeName"); return (Criteria) this; } public Criteria andRestEmployeeNameLessThan(String value) { addCriterion("rest_employee_name <", value, "restEmployeeName"); return (Criteria) this; } public Criteria andRestEmployeeNameLessThanOrEqualTo(String value) { addCriterion("rest_employee_name <=", value, "restEmployeeName"); return (Criteria) this; } public Criteria andRestEmployeeNameLike(String value) { addCriterion("rest_employee_name like", value, "restEmployeeName"); return (Criteria) this; } public Criteria andRestEmployeeNameNotLike(String value) { addCriterion("rest_employee_name not like", value, "restEmployeeName"); return (Criteria) this; } public Criteria andRestEmployeeNameIn(List values) { addCriterion("rest_employee_name in", values, "restEmployeeName"); return (Criteria) this; } public Criteria andRestEmployeeNameNotIn(List values) { addCriterion("rest_employee_name not in", values, "restEmployeeName"); return (Criteria) this; } public Criteria andRestEmployeeNameBetween(String value1, String value2) { addCriterion("rest_employee_name between", value1, value2, "restEmployeeName"); return (Criteria) this; } public Criteria andRestEmployeeNameNotBetween(String value1, String value2) { addCriterion("rest_employee_name not between", value1, value2, "restEmployeeName"); return (Criteria) this; } public Criteria andRestStartTimeIsNull() { addCriterion("rest_start_time is null"); return (Criteria) this; } public Criteria andRestStartTimeIsNotNull() { addCriterion("rest_start_time is not null"); return (Criteria) this; } public Criteria andRestStartTimeEqualTo(Date value) { addCriterion("rest_start_time =", value, "restStartTime"); return (Criteria) this; } public Criteria andRestStartTimeNotEqualTo(Date value) { addCriterion("rest_start_time <>", value, "restStartTime"); return (Criteria) this; } public Criteria andRestStartTimeGreaterThan(Date value) { addCriterion("rest_start_time >", value, "restStartTime"); return (Criteria) this; } public Criteria andRestStartTimeGreaterThanOrEqualTo(Date value) { addCriterion("rest_start_time >=", value, "restStartTime"); return (Criteria) this; } public Criteria andRestStartTimeLessThan(Date value) { addCriterion("rest_start_time <", value, "restStartTime"); return (Criteria) this; } public Criteria andRestStartTimeLessThanOrEqualTo(Date value) { addCriterion("rest_start_time <=", value, "restStartTime"); return (Criteria) this; } public Criteria andRestStartTimeIn(List values) { addCriterion("rest_start_time in", values, "restStartTime"); return (Criteria) this; } public Criteria andRestStartTimeNotIn(List values) { addCriterion("rest_start_time not in", values, "restStartTime"); return (Criteria) this; } public Criteria andRestStartTimeBetween(Date value1, Date value2) { addCriterion("rest_start_time between", value1, value2, "restStartTime"); return (Criteria) this; } public Criteria andRestStartTimeNotBetween(Date value1, Date value2) { addCriterion("rest_start_time not between", value1, value2, "restStartTime"); return (Criteria) this; } public Criteria andRestEndTimeIsNull() { addCriterion("rest_end_time is null"); return (Criteria) this; } public Criteria andRestEndTimeIsNotNull() { addCriterion("rest_end_time is not null"); return (Criteria) this; } public Criteria andRestEndTimeEqualTo(Date value) { addCriterion("rest_end_time =", value, "restEndTime"); return (Criteria) this; } public Criteria andRestEndTimeNotEqualTo(Date value) { addCriterion("rest_end_time <>", value, "restEndTime"); return (Criteria) this; } public Criteria andRestEndTimeGreaterThan(Date value) { addCriterion("rest_end_time >", value, "restEndTime"); return (Criteria) this; } public Criteria andRestEndTimeGreaterThanOrEqualTo(Date value) { addCriterion("rest_end_time >=", value, "restEndTime"); return (Criteria) this; } public Criteria andRestEndTimeLessThan(Date value) { addCriterion("rest_end_time <", value, "restEndTime"); return (Criteria) this; } public Criteria andRestEndTimeLessThanOrEqualTo(Date value) { addCriterion("rest_end_time <=", value, "restEndTime"); return (Criteria) this; } public Criteria andRestEndTimeIn(List values) { addCriterion("rest_end_time in", values, "restEndTime"); return (Criteria) this; } public Criteria andRestEndTimeNotIn(List values) { addCriterion("rest_end_time not in", values, "restEndTime"); return (Criteria) this; } public Criteria andRestEndTimeBetween(Date value1, Date value2) { addCriterion("rest_end_time between", value1, value2, "restEndTime"); return (Criteria) this; } public Criteria andRestEndTimeNotBetween(Date value1, Date value2) { addCriterion("rest_end_time not between", value1, value2, "restEndTime"); return (Criteria) this; } public Criteria andProxyEmployeeIdIsNull() { addCriterion("proxy_employee_id is null"); return (Criteria) this; } public Criteria andProxyEmployeeIdIsNotNull() { addCriterion("proxy_employee_id is not null"); return (Criteria) this; } public Criteria andProxyEmployeeIdEqualTo(String value) { addCriterion("proxy_employee_id =", value, "proxyEmployeeId"); return (Criteria) this; } public Criteria andProxyEmployeeIdNotEqualTo(String value) { addCriterion("proxy_employee_id <>", value, "proxyEmployeeId"); return (Criteria) this; } public Criteria andProxyEmployeeIdGreaterThan(String value) { addCriterion("proxy_employee_id >", value, "proxyEmployeeId"); return (Criteria) this; } public Criteria andProxyEmployeeIdGreaterThanOrEqualTo(String value) { addCriterion("proxy_employee_id >=", value, "proxyEmployeeId"); return (Criteria) this; } public Criteria andProxyEmployeeIdLessThan(String value) { addCriterion("proxy_employee_id <", value, "proxyEmployeeId"); return (Criteria) this; } public Criteria andProxyEmployeeIdLessThanOrEqualTo(String value) { addCriterion("proxy_employee_id <=", value, "proxyEmployeeId"); return (Criteria) this; } public Criteria andProxyEmployeeIdLike(String value) { addCriterion("proxy_employee_id like", value, "proxyEmployeeId"); return (Criteria) this; } public Criteria andProxyEmployeeIdNotLike(String value) { addCriterion("proxy_employee_id not like", value, "proxyEmployeeId"); return (Criteria) this; } public Criteria andProxyEmployeeIdIn(List values) { addCriterion("proxy_employee_id in", values, "proxyEmployeeId"); return (Criteria) this; } public Criteria andProxyEmployeeIdNotIn(List values) { addCriterion("proxy_employee_id not in", values, "proxyEmployeeId"); return (Criteria) this; } public Criteria andProxyEmployeeIdBetween(String value1, String value2) { addCriterion("proxy_employee_id between", value1, value2, "proxyEmployeeId"); return (Criteria) this; } public Criteria andProxyEmployeeIdNotBetween(String value1, String value2) { addCriterion("proxy_employee_id not between", value1, value2, "proxyEmployeeId"); return (Criteria) this; } public Criteria andProxyEmployeeNameIsNull() { addCriterion("proxy_employee_name is null"); return (Criteria) this; } public Criteria andProxyEmployeeNameIsNotNull() { addCriterion("proxy_employee_name is not null"); return (Criteria) this; } public Criteria andProxyEmployeeNameEqualTo(String value) { addCriterion("proxy_employee_name =", value, "proxyEmployeeName"); return (Criteria) this; } public Criteria andProxyEmployeeNameNotEqualTo(String value) { addCriterion("proxy_employee_name <>", value, "proxyEmployeeName"); return (Criteria) this; } public Criteria andProxyEmployeeNameGreaterThan(String value) { addCriterion("proxy_employee_name >", value, "proxyEmployeeName"); return (Criteria) this; } public Criteria andProxyEmployeeNameGreaterThanOrEqualTo(String value) { addCriterion("proxy_employee_name >=", value, "proxyEmployeeName"); return (Criteria) this; } public Criteria andProxyEmployeeNameLessThan(String value) { addCriterion("proxy_employee_name <", value, "proxyEmployeeName"); return (Criteria) this; } public Criteria andProxyEmployeeNameLessThanOrEqualTo(String value) { addCriterion("proxy_employee_name <=", value, "proxyEmployeeName"); return (Criteria) this; } public Criteria andProxyEmployeeNameLike(String value) { addCriterion("proxy_employee_name like", value, "proxyEmployeeName"); return (Criteria) this; } public Criteria andProxyEmployeeNameNotLike(String value) { addCriterion("proxy_employee_name not like", value, "proxyEmployeeName"); return (Criteria) this; } public Criteria andProxyEmployeeNameIn(List values) { addCriterion("proxy_employee_name in", values, "proxyEmployeeName"); return (Criteria) this; } public Criteria andProxyEmployeeNameNotIn(List values) { addCriterion("proxy_employee_name not in", values, "proxyEmployeeName"); return (Criteria) this; } public Criteria andProxyEmployeeNameBetween(String value1, String value2) { addCriterion("proxy_employee_name between", value1, value2, "proxyEmployeeName"); return (Criteria) this; } public Criteria andProxyEmployeeNameNotBetween(String value1, String value2) { addCriterion("proxy_employee_name not between", value1, value2, "proxyEmployeeName"); return (Criteria) this; } public Criteria andDataStatusIsNull() { addCriterion("data_status is null"); return (Criteria) this; } public Criteria andDataStatusIsNotNull() { addCriterion("data_status is not null"); return (Criteria) this; } public Criteria andDataStatusEqualTo(Integer value) { addCriterion("data_status =", value, "dataStatus"); return (Criteria) this; } public Criteria andDataStatusNotEqualTo(Integer value) { addCriterion("data_status <>", value, "dataStatus"); return (Criteria) this; } public Criteria andDataStatusGreaterThan(Integer value) { addCriterion("data_status >", value, "dataStatus"); return (Criteria) this; } public Criteria andDataStatusGreaterThanOrEqualTo(Integer value) { addCriterion("data_status >=", value, "dataStatus"); return (Criteria) this; } public Criteria andDataStatusLessThan(Integer value) { addCriterion("data_status <", value, "dataStatus"); return (Criteria) this; } public Criteria andDataStatusLessThanOrEqualTo(Integer value) { addCriterion("data_status <=", value, "dataStatus"); return (Criteria) this; } public Criteria andDataStatusIn(List values) { addCriterion("data_status in", values, "dataStatus"); return (Criteria) this; } public Criteria andDataStatusNotIn(List values) { addCriterion("data_status not in", values, "dataStatus"); return (Criteria) this; } public Criteria andDataStatusBetween(Integer value1, Integer value2) { addCriterion("data_status between", value1, value2, "dataStatus"); return (Criteria) this; } public Criteria andDataStatusNotBetween(Integer value1, Integer value2) { addCriterion("data_status not between", value1, value2, "dataStatus"); 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 values) { addCriterion("create_time in", values, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotIn(List 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 andCreateOpIsNull() { addCriterion("create_op is null"); return (Criteria) this; } public Criteria andCreateOpIsNotNull() { addCriterion("create_op is not null"); return (Criteria) this; } public Criteria andCreateOpEqualTo(Long value) { addCriterion("create_op =", value, "createOp"); return (Criteria) this; } public Criteria andCreateOpNotEqualTo(Long value) { addCriterion("create_op <>", value, "createOp"); return (Criteria) this; } public Criteria andCreateOpGreaterThan(Long value) { addCriterion("create_op >", value, "createOp"); return (Criteria) this; } public Criteria andCreateOpGreaterThanOrEqualTo(Long value) { addCriterion("create_op >=", value, "createOp"); return (Criteria) this; } public Criteria andCreateOpLessThan(Long value) { addCriterion("create_op <", value, "createOp"); return (Criteria) this; } public Criteria andCreateOpLessThanOrEqualTo(Long value) { addCriterion("create_op <=", value, "createOp"); return (Criteria) this; } public Criteria andCreateOpIn(List values) { addCriterion("create_op in", values, "createOp"); return (Criteria) this; } public Criteria andCreateOpNotIn(List values) { addCriterion("create_op not in", values, "createOp"); return (Criteria) this; } public Criteria andCreateOpBetween(Long value1, Long value2) { addCriterion("create_op between", value1, value2, "createOp"); return (Criteria) this; } public Criteria andCreateOpNotBetween(Long value1, Long value2) { addCriterion("create_op not between", value1, value2, "createOp"); return (Criteria) this; } public Criteria andModifyTimeIsNull() { addCriterion("modify_time is null"); return (Criteria) this; } public Criteria andModifyTimeIsNotNull() { addCriterion("modify_time is not null"); return (Criteria) this; } public Criteria andModifyTimeEqualTo(Date value) { addCriterion("modify_time =", value, "modifyTime"); return (Criteria) this; } public Criteria andModifyTimeNotEqualTo(Date value) { addCriterion("modify_time <>", value, "modifyTime"); return (Criteria) this; } public Criteria andModifyTimeGreaterThan(Date value) { addCriterion("modify_time >", value, "modifyTime"); return (Criteria) this; } public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) { addCriterion("modify_time >=", value, "modifyTime"); return (Criteria) this; } public Criteria andModifyTimeLessThan(Date value) { addCriterion("modify_time <", value, "modifyTime"); return (Criteria) this; } public Criteria andModifyTimeLessThanOrEqualTo(Date value) { addCriterion("modify_time <=", value, "modifyTime"); return (Criteria) this; } public Criteria andModifyTimeIn(List values) { addCriterion("modify_time in", values, "modifyTime"); return (Criteria) this; } public Criteria andModifyTimeNotIn(List values) { addCriterion("modify_time not in", values, "modifyTime"); return (Criteria) this; } public Criteria andModifyTimeBetween(Date value1, Date value2) { addCriterion("modify_time between", value1, value2, "modifyTime"); return (Criteria) this; } public Criteria andModifyTimeNotBetween(Date value1, Date value2) { addCriterion("modify_time not between", value1, value2, "modifyTime"); return (Criteria) this; } public Criteria andModifyOpIsNull() { addCriterion("modify_op is null"); return (Criteria) this; } public Criteria andModifyOpIsNotNull() { addCriterion("modify_op is not null"); return (Criteria) this; } public Criteria andModifyOpEqualTo(Long value) { addCriterion("modify_op =", value, "modifyOp"); return (Criteria) this; } public Criteria andModifyOpNotEqualTo(Long value) { addCriterion("modify_op <>", value, "modifyOp"); return (Criteria) this; } public Criteria andModifyOpGreaterThan(Long value) { addCriterion("modify_op >", value, "modifyOp"); return (Criteria) this; } public Criteria andModifyOpGreaterThanOrEqualTo(Long value) { addCriterion("modify_op >=", value, "modifyOp"); return (Criteria) this; } public Criteria andModifyOpLessThan(Long value) { addCriterion("modify_op <", value, "modifyOp"); return (Criteria) this; } public Criteria andModifyOpLessThanOrEqualTo(Long value) { addCriterion("modify_op <=", value, "modifyOp"); return (Criteria) this; } public Criteria andModifyOpIn(List values) { addCriterion("modify_op in", values, "modifyOp"); return (Criteria) this; } public Criteria andModifyOpNotIn(List values) { addCriterion("modify_op not in", values, "modifyOp"); return (Criteria) this; } public Criteria andModifyOpBetween(Long value1, Long value2) { addCriterion("modify_op between", value1, value2, "modifyOp"); return (Criteria) this; } public Criteria andModifyOpNotBetween(Long value1, Long value2) { addCriterion("modify_op not between", value1, value2, "modifyOp"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } 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); } } }