package pwc.taxtech.atms.entity; import java.util.ArrayList; import java.util.List; public class KeyValueReferenceExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table key_value_reference * * @mbg.generated */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table key_value_reference * * @mbg.generated */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table key_value_reference * * @mbg.generated */ protected List<Criteria> oredCriteria; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table key_value_reference * * @mbg.generated */ public KeyValueReferenceExample() { oredCriteria = new ArrayList<Criteria>(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table key_value_reference * * @mbg.generated */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table key_value_reference * * @mbg.generated */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table key_value_reference * * @mbg.generated */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table key_value_reference * * @mbg.generated */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table key_value_reference * * @mbg.generated */ public List<Criteria> getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table key_value_reference * * @mbg.generated */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table key_value_reference * * @mbg.generated */ 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 key_value_reference * * @mbg.generated */ 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 key_value_reference * * @mbg.generated */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table key_value_reference * * @mbg.generated */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table key_value_reference * * @mbg.generated */ protected abstract static class GeneratedCriteria { protected List<Criterion> criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList<Criterion>(); } public boolean isValid() { return criteria.size() > 0; } public List<Criterion> getAllCriteria() { return criteria; } public List<Criterion> getCriteria() { return criteria; } protected void addCriterion(String condition) { if (condition == null) { throw new RuntimeException("Value for condition cannot be null"); } criteria.add(new Criterion(condition)); } protected void addCriterion(String condition, Object value, String property) { if (value == null) { throw new RuntimeException("Value for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value)); } protected void addCriterion(String condition, Object value1, Object value2, String property) { if (value1 == null || value2 == null) { throw new RuntimeException("Between values for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value1, value2)); } public Criteria andIdIsNull() { addCriterion("id is null"); return (Criteria) this; } public Criteria andIdIsNotNull() { addCriterion("id is not null"); return (Criteria) this; } public Criteria andIdEqualTo(String value) { addCriterion("id =", value, "id"); return (Criteria) this; } public Criteria andIdNotEqualTo(String value) { addCriterion("id <>", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThan(String value) { addCriterion("id >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(String value) { addCriterion("id >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(String value) { addCriterion("id <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(String value) { addCriterion("id <=", value, "id"); return (Criteria) this; } public Criteria andIdLike(String value) { addCriterion("id like", value, "id"); return (Criteria) this; } public Criteria andIdNotLike(String value) { addCriterion("id not like", value, "id"); return (Criteria) this; } public Criteria andIdIn(List<String> values) { addCriterion("id in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List<String> values) { addCriterion("id not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(String value1, String value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(String value1, String value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } public Criteria andKeyValueConfigIdIsNull() { addCriterion("key_value_config_id is null"); return (Criteria) this; } public Criteria andKeyValueConfigIdIsNotNull() { addCriterion("key_value_config_id is not null"); return (Criteria) this; } public Criteria andKeyValueConfigIdEqualTo(String value) { addCriterion("key_value_config_id =", value, "keyValueConfigId"); return (Criteria) this; } public Criteria andKeyValueConfigIdNotEqualTo(String value) { addCriterion("key_value_config_id <>", value, "keyValueConfigId"); return (Criteria) this; } public Criteria andKeyValueConfigIdGreaterThan(String value) { addCriterion("key_value_config_id >", value, "keyValueConfigId"); return (Criteria) this; } public Criteria andKeyValueConfigIdGreaterThanOrEqualTo(String value) { addCriterion("key_value_config_id >=", value, "keyValueConfigId"); return (Criteria) this; } public Criteria andKeyValueConfigIdLessThan(String value) { addCriterion("key_value_config_id <", value, "keyValueConfigId"); return (Criteria) this; } public Criteria andKeyValueConfigIdLessThanOrEqualTo(String value) { addCriterion("key_value_config_id <=", value, "keyValueConfigId"); return (Criteria) this; } public Criteria andKeyValueConfigIdLike(String value) { addCriterion("key_value_config_id like", value, "keyValueConfigId"); return (Criteria) this; } public Criteria andKeyValueConfigIdNotLike(String value) { addCriterion("key_value_config_id not like", value, "keyValueConfigId"); return (Criteria) this; } public Criteria andKeyValueConfigIdIn(List<String> values) { addCriterion("key_value_config_id in", values, "keyValueConfigId"); return (Criteria) this; } public Criteria andKeyValueConfigIdNotIn(List<String> values) { addCriterion("key_value_config_id not in", values, "keyValueConfigId"); return (Criteria) this; } public Criteria andKeyValueConfigIdBetween(String value1, String value2) { addCriterion("key_value_config_id between", value1, value2, "keyValueConfigId"); return (Criteria) this; } public Criteria andKeyValueConfigIdNotBetween(String value1, String value2) { addCriterion("key_value_config_id not between", value1, value2, "keyValueConfigId"); return (Criteria) this; } public Criteria andScopeIsNull() { addCriterion("scope is null"); return (Criteria) this; } public Criteria andScopeIsNotNull() { addCriterion("scope is not null"); return (Criteria) this; } public Criteria andScopeEqualTo(Integer value) { addCriterion("scope =", value, "scope"); return (Criteria) this; } public Criteria andScopeNotEqualTo(Integer value) { addCriterion("scope <>", value, "scope"); return (Criteria) this; } public Criteria andScopeGreaterThan(Integer value) { addCriterion("scope >", value, "scope"); return (Criteria) this; } public Criteria andScopeGreaterThanOrEqualTo(Integer value) { addCriterion("scope >=", value, "scope"); return (Criteria) this; } public Criteria andScopeLessThan(Integer value) { addCriterion("scope <", value, "scope"); return (Criteria) this; } public Criteria andScopeLessThanOrEqualTo(Integer value) { addCriterion("scope <=", value, "scope"); return (Criteria) this; } public Criteria andScopeIn(List<Integer> values) { addCriterion("scope in", values, "scope"); return (Criteria) this; } public Criteria andScopeNotIn(List<Integer> values) { addCriterion("scope not in", values, "scope"); return (Criteria) this; } public Criteria andScopeBetween(Integer value1, Integer value2) { addCriterion("scope between", value1, value2, "scope"); return (Criteria) this; } public Criteria andScopeNotBetween(Integer value1, Integer value2) { addCriterion("scope not between", value1, value2, "scope"); return (Criteria) this; } public Criteria andCellTemplateIdIsNull() { addCriterion("cell_template_id is null"); return (Criteria) this; } public Criteria andCellTemplateIdIsNotNull() { addCriterion("cell_template_id is not null"); return (Criteria) this; } public Criteria andCellTemplateIdEqualTo(Long value) { addCriterion("cell_template_id =", value, "cellTemplateId"); return (Criteria) this; } public Criteria andCellTemplateIdNotEqualTo(Long value) { addCriterion("cell_template_id <>", value, "cellTemplateId"); return (Criteria) this; } public Criteria andCellTemplateIdGreaterThan(Long value) { addCriterion("cell_template_id >", value, "cellTemplateId"); return (Criteria) this; } public Criteria andCellTemplateIdGreaterThanOrEqualTo(Long value) { addCriterion("cell_template_id >=", value, "cellTemplateId"); return (Criteria) this; } public Criteria andCellTemplateIdLessThan(Long value) { addCriterion("cell_template_id <", value, "cellTemplateId"); return (Criteria) this; } public Criteria andCellTemplateIdLessThanOrEqualTo(Long value) { addCriterion("cell_template_id <=", value, "cellTemplateId"); return (Criteria) this; } public Criteria andCellTemplateIdIn(List<Long> values) { addCriterion("cell_template_id in", values, "cellTemplateId"); return (Criteria) this; } public Criteria andCellTemplateIdNotIn(List<Long> values) { addCriterion("cell_template_id not in", values, "cellTemplateId"); return (Criteria) this; } public Criteria andCellTemplateIdBetween(Long value1, Long value2) { addCriterion("cell_template_id between", value1, value2, "cellTemplateId"); return (Criteria) this; } public Criteria andCellTemplateIdNotBetween(Long value1, Long value2) { addCriterion("cell_template_id not between", value1, value2, "cellTemplateId"); return (Criteria) this; } public Criteria andModelIdIsNull() { addCriterion("model_id is null"); return (Criteria) this; } public Criteria andModelIdIsNotNull() { addCriterion("model_id is not null"); return (Criteria) this; } public Criteria andModelIdEqualTo(String value) { addCriterion("model_id =", value, "modelId"); return (Criteria) this; } public Criteria andModelIdNotEqualTo(String value) { addCriterion("model_id <>", value, "modelId"); return (Criteria) this; } public Criteria andModelIdGreaterThan(String value) { addCriterion("model_id >", value, "modelId"); return (Criteria) this; } public Criteria andModelIdGreaterThanOrEqualTo(String value) { addCriterion("model_id >=", value, "modelId"); return (Criteria) this; } public Criteria andModelIdLessThan(String value) { addCriterion("model_id <", value, "modelId"); return (Criteria) this; } public Criteria andModelIdLessThanOrEqualTo(String value) { addCriterion("model_id <=", value, "modelId"); return (Criteria) this; } public Criteria andModelIdLike(String value) { addCriterion("model_id like", value, "modelId"); return (Criteria) this; } public Criteria andModelIdNotLike(String value) { addCriterion("model_id not like", value, "modelId"); return (Criteria) this; } public Criteria andModelIdIn(List<String> values) { addCriterion("model_id in", values, "modelId"); return (Criteria) this; } public Criteria andModelIdNotIn(List<String> values) { addCriterion("model_id not in", values, "modelId"); return (Criteria) this; } public Criteria andModelIdBetween(String value1, String value2) { addCriterion("model_id between", value1, value2, "modelId"); return (Criteria) this; } public Criteria andModelIdNotBetween(String value1, String value2) { addCriterion("model_id not between", value1, value2, "modelId"); return (Criteria) this; } public Criteria andOrganizationIdIsNull() { addCriterion("organization_id is null"); return (Criteria) this; } public Criteria andOrganizationIdIsNotNull() { addCriterion("organization_id is not null"); return (Criteria) this; } public Criteria andOrganizationIdEqualTo(String value) { addCriterion("organization_id =", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdNotEqualTo(String value) { addCriterion("organization_id <>", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdGreaterThan(String value) { addCriterion("organization_id >", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdGreaterThanOrEqualTo(String value) { addCriterion("organization_id >=", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdLessThan(String value) { addCriterion("organization_id <", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdLessThanOrEqualTo(String value) { addCriterion("organization_id <=", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdLike(String value) { addCriterion("organization_id like", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdNotLike(String value) { addCriterion("organization_id not like", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdIn(List<String> values) { addCriterion("organization_id in", values, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdNotIn(List<String> values) { addCriterion("organization_id not in", values, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdBetween(String value1, String value2) { addCriterion("organization_id between", value1, value2, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdNotBetween(String value1, String value2) { addCriterion("organization_id not between", value1, value2, "organizationId"); return (Criteria) this; } public Criteria andIndustryIdIsNull() { addCriterion("industry_id is null"); return (Criteria) this; } public Criteria andIndustryIdIsNotNull() { addCriterion("industry_id is not null"); return (Criteria) this; } public Criteria andIndustryIdEqualTo(String value) { addCriterion("industry_id =", value, "industryId"); return (Criteria) this; } public Criteria andIndustryIdNotEqualTo(String value) { addCriterion("industry_id <>", value, "industryId"); return (Criteria) this; } public Criteria andIndustryIdGreaterThan(String value) { addCriterion("industry_id >", value, "industryId"); return (Criteria) this; } public Criteria andIndustryIdGreaterThanOrEqualTo(String value) { addCriterion("industry_id >=", value, "industryId"); return (Criteria) this; } public Criteria andIndustryIdLessThan(String value) { addCriterion("industry_id <", value, "industryId"); return (Criteria) this; } public Criteria andIndustryIdLessThanOrEqualTo(String value) { addCriterion("industry_id <=", value, "industryId"); return (Criteria) this; } public Criteria andIndustryIdLike(String value) { addCriterion("industry_id like", value, "industryId"); return (Criteria) this; } public Criteria andIndustryIdNotLike(String value) { addCriterion("industry_id not like", value, "industryId"); return (Criteria) this; } public Criteria andIndustryIdIn(List<String> values) { addCriterion("industry_id in", values, "industryId"); return (Criteria) this; } public Criteria andIndustryIdNotIn(List<String> values) { addCriterion("industry_id not in", values, "industryId"); return (Criteria) this; } public Criteria andIndustryIdBetween(String value1, String value2) { addCriterion("industry_id between", value1, value2, "industryId"); return (Criteria) this; } public Criteria andIndustryIdNotBetween(String value1, String value2) { addCriterion("industry_id not between", value1, value2, "industryId"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table key_value_reference * * @mbg.generated do_not_delete_during_merge */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table key_value_reference * * @mbg.generated */ 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); } } }