content: package com.alibaba.sreworks.warehouse.domain;
  
  import java.util.ArrayList;
  import java.util.Date;
  import java.util.List;
  
  public class SwEntityExample {
      protected String orderByClause;
  
      protected boolean distinct;
  
      protected List<Criteria> oredCriteria;
  
      public SwEntityExample() {
          oredCriteria = new ArrayList<Criteria>();
      }
  
      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<Criteria> 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<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(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<Long> values) {
              addCriterion("id in", values, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdNotIn(List<Long> 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 andGmtCreateIsNull() {
              addCriterion("gmt_create is null");
              return (Criteria) this;
          }
  
          public Criteria andGmtCreateIsNotNull() {
              addCriterion("gmt_create is not null");
              return (Criteria) this;
          }
  
          public Criteria andGmtCreateEqualTo(Date value) {
              addCriterion("gmt_create =", value, "gmtCreate");
              return (Criteria) this;
          }
  
          public Criteria andGmtCreateNotEqualTo(Date value) {
              addCriterion("gmt_create <>", value, "gmtCreate");
              return (Criteria) this;
          }
  
          public Criteria andGmtCreateGreaterThan(Date value) {
              addCriterion("gmt_create >", value, "gmtCreate");
              return (Criteria) this;
          }
  
          public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
              addCriterion("gmt_create >=", value, "gmtCreate");
              return (Criteria) this;
          }
  
          public Criteria andGmtCreateLessThan(Date value) {
              addCriterion("gmt_create <", value, "gmtCreate");
              return (Criteria) this;
          }
  
          public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
              addCriterion("gmt_create <=", value, "gmtCreate");
              return (Criteria) this;
          }
  
          public Criteria andGmtCreateIn(List<Date> values) {
              addCriterion("gmt_create in", values, "gmtCreate");
              return (Criteria) this;
          }
  
          public Criteria andGmtCreateNotIn(List<Date> values) {
              addCriterion("gmt_create not in", values, "gmtCreate");
              return (Criteria) this;
          }
  
          public Criteria andGmtCreateBetween(Date value1, Date value2) {
              addCriterion("gmt_create between", value1, value2, "gmtCreate");
              return (Criteria) this;
          }
  
          public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
              addCriterion("gmt_create not between", value1, value2, "gmtCreate");
              return (Criteria) this;
          }
  
          public Criteria andGmtModifiedIsNull() {
              addCriterion("gmt_modified is null");
              return (Criteria) this;
          }
  
          public Criteria andGmtModifiedIsNotNull() {
              addCriterion("gmt_modified is not null");
              return (Criteria) this;
          }
  
          public Criteria andGmtModifiedEqualTo(Date value) {
              addCriterion("gmt_modified =", value, "gmtModified");
              return (Criteria) this;
          }
  
          public Criteria andGmtModifiedNotEqualTo(Date value) {
              addCriterion("gmt_modified <>", value, "gmtModified");
              return (Criteria) this;
          }
  
          public Criteria andGmtModifiedGreaterThan(Date value) {
              addCriterion("gmt_modified >", value, "gmtModified");
              return (Criteria) this;
          }
  
          public Criteria andGmtModifiedGreaterThanOrEqualTo(Date value) {
              addCriterion("gmt_modified >=", value, "gmtModified");
              return (Criteria) this;
          }
  
          public Criteria andGmtModifiedLessThan(Date value) {
              addCriterion("gmt_modified <", value, "gmtModified");
              return (Criteria) this;
          }
  
          public Criteria andGmtModifiedLessThanOrEqualTo(Date value) {
              addCriterion("gmt_modified <=", value, "gmtModified");
              return (Criteria) this;
          }
  
          public Criteria andGmtModifiedIn(List<Date> values) {
              addCriterion("gmt_modified in", values, "gmtModified");
              return (Criteria) this;
          }
  
          public Criteria andGmtModifiedNotIn(List<Date> values) {
              addCriterion("gmt_modified not in", values, "gmtModified");
              return (Criteria) this;
          }
  
          public Criteria andGmtModifiedBetween(Date value1, Date value2) {
              addCriterion("gmt_modified between", value1, value2, "gmtModified");
              return (Criteria) this;
          }
  
          public Criteria andGmtModifiedNotBetween(Date value1, Date value2) {
              addCriterion("gmt_modified not between", value1, value2, "gmtModified");
              return (Criteria) this;
          }
  
          public Criteria andNameIsNull() {
              addCriterion("name is null");
              return (Criteria) this;
          }
  
          public Criteria andNameIsNotNull() {
              addCriterion("name is not null");
              return (Criteria) this;
          }
  
          public Criteria andNameEqualTo(String value) {
              addCriterion("name =", value, "name");
              return (Criteria) this;
          }
  
          public Criteria andNameNotEqualTo(String value) {
              addCriterion("name <>", value, "name");
              return (Criteria) this;
          }
  
          public Criteria andNameGreaterThan(String value) {
              addCriterion("name >", value, "name");
              return (Criteria) this;
          }
  
          public Criteria andNameGreaterThanOrEqualTo(String value) {
              addCriterion("name >=", value, "name");
              return (Criteria) this;
          }
  
          public Criteria andNameLessThan(String value) {
              addCriterion("name <", value, "name");
              return (Criteria) this;
          }
  
          public Criteria andNameLessThanOrEqualTo(String value) {
              addCriterion("name <=", value, "name");
              return (Criteria) this;
          }
  
          public Criteria andNameLike(String value) {
              addCriterion("name like", value, "name");
              return (Criteria) this;
          }
  
          public Criteria andNameNotLike(String value) {
              addCriterion("name not like", value, "name");
              return (Criteria) this;
          }
  
          public Criteria andNameIn(List<String> values) {
              addCriterion("name in", values, "name");
              return (Criteria) this;
          }
  
          public Criteria andNameNotIn(List<String> values) {
              addCriterion("name not in", values, "name");
              return (Criteria) this;
          }
  
          public Criteria andNameBetween(String value1, String value2) {
              addCriterion("name between", value1, value2, "name");
              return (Criteria) this;
          }
  
          public Criteria andNameNotBetween(String value1, String value2) {
              addCriterion("name not between", value1, value2, "name");
              return (Criteria) this;
          }
  
          public Criteria andAliasIsNull() {
              addCriterion("alias is null");
              return (Criteria) this;
          }
  
          public Criteria andAliasIsNotNull() {
              addCriterion("alias is not null");
              return (Criteria) this;
          }
  
          public Criteria andAliasEqualTo(String value) {
              addCriterion("alias =", value, "alias");
              return (Criteria) this;
          }
  
          public Criteria andAliasNotEqualTo(String value) {
              addCriterion("alias <>", value, "alias");
              return (Criteria) this;
          }
  
          public Criteria andAliasGreaterThan(String value) {
              addCriterion("alias >", value, "alias");
              return (Criteria) this;
          }
  
          public Criteria andAliasGreaterThanOrEqualTo(String value) {
              addCriterion("alias >=", value, "alias");
              return (Criteria) this;
          }
  
          public Criteria andAliasLessThan(String value) {
              addCriterion("alias <", value, "alias");
              return (Criteria) this;
          }
  
          public Criteria andAliasLessThanOrEqualTo(String value) {
              addCriterion("alias <=", value, "alias");
              return (Criteria) this;
          }
  
          public Criteria andAliasLike(String value) {
              addCriterion("alias like", value, "alias");
              return (Criteria) this;
          }
  
          public Criteria andAliasNotLike(String value) {
              addCriterion("alias not like", value, "alias");
              return (Criteria) this;
          }
  
          public Criteria andAliasIn(List<String> values) {
              addCriterion("alias in", values, "alias");
              return (Criteria) this;
          }
  
          public Criteria andAliasNotIn(List<String> values) {
              addCriterion("alias not in", values, "alias");
              return (Criteria) this;
          }
  
          public Criteria andAliasBetween(String value1, String value2) {
              addCriterion("alias between", value1, value2, "alias");
              return (Criteria) this;
          }
  
          public Criteria andAliasNotBetween(String value1, String value2) {
              addCriterion("alias not between", value1, value2, "alias");
              return (Criteria) this;
          }
  
          public Criteria andTableNameIsNull() {
              addCriterion("table_name is null");
              return (Criteria) this;
          }
  
          public Criteria andTableNameIsNotNull() {
              addCriterion("table_name is not null");
              return (Criteria) this;
          }
  
          public Criteria andTableNameEqualTo(String value) {
              addCriterion("table_name =", value, "tableName");
              return (Criteria) this;
          }
  
          public Criteria andTableNameNotEqualTo(String value) {
              addCriterion("table_name <>", value, "tableName");
              return (Criteria) this;
          }
  
          public Criteria andTableNameGreaterThan(String value) {
              addCriterion("table_name >", value, "tableName");
              return (Criteria) this;
          }
  
          public Criteria andTableNameGreaterThanOrEqualTo(String value) {
              addCriterion("table_name >=", value, "tableName");
              return (Criteria) this;
          }
  
          public Criteria andTableNameLessThan(String value) {
              addCriterion("table_name <", value, "tableName");
              return (Criteria) this;
          }
  
          public Criteria andTableNameLessThanOrEqualTo(String value) {
              addCriterion("table_name <=", value, "tableName");
              return (Criteria) this;
          }
  
          public Criteria andTableNameLike(String value) {
              addCriterion("table_name like", value, "tableName");
              return (Criteria) this;
          }
  
          public Criteria andTableNameNotLike(String value) {
              addCriterion("table_name not like", value, "tableName");
              return (Criteria) this;
          }
  
          public Criteria andTableNameIn(List<String> values) {
              addCriterion("table_name in", values, "tableName");
              return (Criteria) this;
          }
  
          public Criteria andTableNameNotIn(List<String> values) {
              addCriterion("table_name not in", values, "tableName");
              return (Criteria) this;
          }
  
          public Criteria andTableNameBetween(String value1, String value2) {
              addCriterion("table_name between", value1, value2, "tableName");
              return (Criteria) this;
          }
  
          public Criteria andTableNameNotBetween(String value1, String value2) {
              addCriterion("table_name not between", value1, value2, "tableName");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasIsNull() {
              addCriterion("table_alias is null");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasIsNotNull() {
              addCriterion("table_alias is not null");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasEqualTo(String value) {
              addCriterion("table_alias =", value, "tableAlias");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasNotEqualTo(String value) {
              addCriterion("table_alias <>", value, "tableAlias");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasGreaterThan(String value) {
              addCriterion("table_alias >", value, "tableAlias");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasGreaterThanOrEqualTo(String value) {
              addCriterion("table_alias >=", value, "tableAlias");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasLessThan(String value) {
              addCriterion("table_alias <", value, "tableAlias");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasLessThanOrEqualTo(String value) {
              addCriterion("table_alias <=", value, "tableAlias");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasLike(String value) {
              addCriterion("table_alias like", value, "tableAlias");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasNotLike(String value) {
              addCriterion("table_alias not like", value, "tableAlias");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasIn(List<String> values) {
              addCriterion("table_alias in", values, "tableAlias");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasNotIn(List<String> values) {
              addCriterion("table_alias not in", values, "tableAlias");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasBetween(String value1, String value2) {
              addCriterion("table_alias between", value1, value2, "tableAlias");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasNotBetween(String value1, String value2) {
              addCriterion("table_alias not between", value1, value2, "tableAlias");
              return (Criteria) this;
          }
  
          public Criteria andBuildInIsNull() {
              addCriterion("build_in is null");
              return (Criteria) this;
          }
  
          public Criteria andBuildInIsNotNull() {
              addCriterion("build_in is not null");
              return (Criteria) this;
          }
  
          public Criteria andBuildInEqualTo(Boolean value) {
              addCriterion("build_in =", value, "buildIn");
              return (Criteria) this;
          }
  
          public Criteria andBuildInNotEqualTo(Boolean value) {
              addCriterion("build_in <>", value, "buildIn");
              return (Criteria) this;
          }
  
          public Criteria andBuildInGreaterThan(Boolean value) {
              addCriterion("build_in >", value, "buildIn");
              return (Criteria) this;
          }
  
          public Criteria andBuildInGreaterThanOrEqualTo(Boolean value) {
              addCriterion("build_in >=", value, "buildIn");
              return (Criteria) this;
          }
  
          public Criteria andBuildInLessThan(Boolean value) {
              addCriterion("build_in <", value, "buildIn");
              return (Criteria) this;
          }
  
          public Criteria andBuildInLessThanOrEqualTo(Boolean value) {
              addCriterion("build_in <=", value, "buildIn");
              return (Criteria) this;
          }
  
          public Criteria andBuildInIn(List<Boolean> values) {
              addCriterion("build_in in", values, "buildIn");
              return (Criteria) this;
          }
  
          public Criteria andBuildInNotIn(List<Boolean> values) {
              addCriterion("build_in not in", values, "buildIn");
              return (Criteria) this;
          }
  
          public Criteria andBuildInBetween(Boolean value1, Boolean value2) {
              addCriterion("build_in between", value1, value2, "buildIn");
              return (Criteria) this;
          }
  
          public Criteria andBuildInNotBetween(Boolean value1, Boolean value2) {
              addCriterion("build_in not between", value1, value2, "buildIn");
              return (Criteria) this;
          }
  
          public Criteria andLayerIsNull() {
              addCriterion("layer is null");
              return (Criteria) this;
          }
  
          public Criteria andLayerIsNotNull() {
              addCriterion("layer is not null");
              return (Criteria) this;
          }
  
          public Criteria andLayerEqualTo(String value) {
              addCriterion("layer =", value, "layer");
              return (Criteria) this;
          }
  
          public Criteria andLayerNotEqualTo(String value) {
              addCriterion("layer <>", value, "layer");
              return (Criteria) this;
          }
  
          public Criteria andLayerGreaterThan(String value) {
              addCriterion("layer >", value, "layer");
              return (Criteria) this;
          }
  
          public Criteria andLayerGreaterThanOrEqualTo(String value) {
              addCriterion("layer >=", value, "layer");
              return (Criteria) this;
          }
  
          public Criteria andLayerLessThan(String value) {
              addCriterion("layer <", value, "layer");
              return (Criteria) this;
          }
  
          public Criteria andLayerLessThanOrEqualTo(String value) {
              addCriterion("layer <=", value, "layer");
              return (Criteria) this;
          }
  
          public Criteria andLayerLike(String value) {
              addCriterion("layer like", value, "layer");
              return (Criteria) this;
          }
  
          public Criteria andLayerNotLike(String value) {
              addCriterion("layer not like", value, "layer");
              return (Criteria) this;
          }
  
          public Criteria andLayerIn(List<String> values) {
              addCriterion("layer in", values, "layer");
              return (Criteria) this;
          }
  
          public Criteria andLayerNotIn(List<String> values) {
              addCriterion("layer not in", values, "layer");
              return (Criteria) this;
          }
  
          public Criteria andLayerBetween(String value1, String value2) {
              addCriterion("layer between", value1, value2, "layer");
              return (Criteria) this;
          }
  
          public Criteria andLayerNotBetween(String value1, String value2) {
              addCriterion("layer not between", value1, value2, "layer");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatIsNull() {
              addCriterion("partition_format is null");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatIsNotNull() {
              addCriterion("partition_format is not null");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatEqualTo(String value) {
              addCriterion("partition_format =", value, "partitionFormat");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatNotEqualTo(String value) {
              addCriterion("partition_format <>", value, "partitionFormat");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatGreaterThan(String value) {
              addCriterion("partition_format >", value, "partitionFormat");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatGreaterThanOrEqualTo(String value) {
              addCriterion("partition_format >=", value, "partitionFormat");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatLessThan(String value) {
              addCriterion("partition_format <", value, "partitionFormat");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatLessThanOrEqualTo(String value) {
              addCriterion("partition_format <=", value, "partitionFormat");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatLike(String value) {
              addCriterion("partition_format like", value, "partitionFormat");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatNotLike(String value) {
              addCriterion("partition_format not like", value, "partitionFormat");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatIn(List<String> values) {
              addCriterion("partition_format in", values, "partitionFormat");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatNotIn(List<String> values) {
              addCriterion("partition_format not in", values, "partitionFormat");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatBetween(String value1, String value2) {
              addCriterion("partition_format between", value1, value2, "partitionFormat");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatNotBetween(String value1, String value2) {
              addCriterion("partition_format not between", value1, value2, "partitionFormat");
              return (Criteria) this;
          }
  
          public Criteria andLifecycleIsNull() {
              addCriterion("lifecycle is null");
              return (Criteria) this;
          }
  
          public Criteria andLifecycleIsNotNull() {
              addCriterion("lifecycle is not null");
              return (Criteria) this;
          }
  
          public Criteria andLifecycleEqualTo(Integer value) {
              addCriterion("lifecycle =", value, "lifecycle");
              return (Criteria) this;
          }
  
          public Criteria andLifecycleNotEqualTo(Integer value) {
              addCriterion("lifecycle <>", value, "lifecycle");
              return (Criteria) this;
          }
  
          public Criteria andLifecycleGreaterThan(Integer value) {
              addCriterion("lifecycle >", value, "lifecycle");
              return (Criteria) this;
          }
  
          public Criteria andLifecycleGreaterThanOrEqualTo(Integer value) {
              addCriterion("lifecycle >=", value, "lifecycle");
              return (Criteria) this;
          }
  
          public Criteria andLifecycleLessThan(Integer value) {
              addCriterion("lifecycle <", value, "lifecycle");
              return (Criteria) this;
          }
  
          public Criteria andLifecycleLessThanOrEqualTo(Integer value) {
              addCriterion("lifecycle <=", value, "lifecycle");
              return (Criteria) this;
          }
  
          public Criteria andLifecycleIn(List<Integer> values) {
              addCriterion("lifecycle in", values, "lifecycle");
              return (Criteria) this;
          }
  
          public Criteria andLifecycleNotIn(List<Integer> values) {
              addCriterion("lifecycle not in", values, "lifecycle");
              return (Criteria) this;
          }
  
          public Criteria andLifecycleBetween(Integer value1, Integer value2) {
              addCriterion("lifecycle between", value1, value2, "lifecycle");
              return (Criteria) this;
          }
  
          public Criteria andLifecycleNotBetween(Integer value1, Integer value2) {
              addCriterion("lifecycle not between", value1, value2, "lifecycle");
              return (Criteria) this;
          }
  
          public Criteria andIconIsNull() {
              addCriterion("icon is null");
              return (Criteria) this;
          }
  
          public Criteria andIconIsNotNull() {
              addCriterion("icon is not null");
              return (Criteria) this;
          }
  
          public Criteria andIconEqualTo(String value) {
              addCriterion("icon =", value, "icon");
              return (Criteria) this;
          }
  
          public Criteria andIconNotEqualTo(String value) {
              addCriterion("icon <>", value, "icon");
              return (Criteria) this;
          }
  
          public Criteria andIconGreaterThan(String value) {
              addCriterion("icon >", value, "icon");
              return (Criteria) this;
          }
  
          public Criteria andIconGreaterThanOrEqualTo(String value) {
              addCriterion("icon >=", value, "icon");
              return (Criteria) this;
          }
  
          public Criteria andIconLessThan(String value) {
              addCriterion("icon <", value, "icon");
              return (Criteria) this;
          }
  
          public Criteria andIconLessThanOrEqualTo(String value) {
              addCriterion("icon <=", value, "icon");
              return (Criteria) this;
          }
  
          public Criteria andIconLike(String value) {
              addCriterion("icon like", value, "icon");
              return (Criteria) this;
          }
  
          public Criteria andIconNotLike(String value) {
              addCriterion("icon not like", value, "icon");
              return (Criteria) this;
          }
  
          public Criteria andIconIn(List<String> values) {
              addCriterion("icon in", values, "icon");
              return (Criteria) this;
          }
  
          public Criteria andIconNotIn(List<String> values) {
              addCriterion("icon not in", values, "icon");
              return (Criteria) this;
          }
  
          public Criteria andIconBetween(String value1, String value2) {
              addCriterion("icon between", value1, value2, "icon");
              return (Criteria) this;
          }
  
          public Criteria andIconNotBetween(String value1, String value2) {
              addCriterion("icon not between", value1, value2, "icon");
              return (Criteria) this;
          }
  
          public Criteria andNameLikeInsensitive(String value) {
              addCriterion("upper(name) like", value.toUpperCase(), "name");
              return (Criteria) this;
          }
  
          public Criteria andAliasLikeInsensitive(String value) {
              addCriterion("upper(alias) like", value.toUpperCase(), "alias");
              return (Criteria) this;
          }
  
          public Criteria andTableNameLikeInsensitive(String value) {
              addCriterion("upper(table_name) like", value.toUpperCase(), "tableName");
              return (Criteria) this;
          }
  
          public Criteria andTableAliasLikeInsensitive(String value) {
              addCriterion("upper(table_alias) like", value.toUpperCase(), "tableAlias");
              return (Criteria) this;
          }
  
          public Criteria andLayerLikeInsensitive(String value) {
              addCriterion("upper(layer) like", value.toUpperCase(), "layer");
              return (Criteria) this;
          }
  
          public Criteria andPartitionFormatLikeInsensitive(String value) {
              addCriterion("upper(partition_format) like", value.toUpperCase(), "partitionFormat");
              return (Criteria) this;
          }
  
          public Criteria andIconLikeInsensitive(String value) {
              addCriterion("upper(icon) like", value.toUpperCase(), "icon");
              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);
          }
      }
  }