package com.dcit.authority.model;

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

public class CountyExample {
    /**
     * 序列化 ID
     */
    protected String orderByClause;

    /**
     * 序列化 ID
     */
    protected boolean distinct;

    /**
     * 序列化 ID
     */
    protected List<Criteria> oredCriteria;

    public CountyExample() {
        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<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;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table county
     *
     * @mbg.generated Wed Jul 01 17:27:08 CST 2020
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        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) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            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 andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            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 andEastIsNull() {
            addCriterion("east is null");
            return (Criteria) this;
        }

        public Criteria andEastIsNotNull() {
            addCriterion("east is not null");
            return (Criteria) this;
        }

        public Criteria andEastEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("east =", value, "east");
            return (Criteria) this;
        }

        public Criteria andEastNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("east <>", value, "east");
            return (Criteria) this;
        }

        public Criteria andEastGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("east >", value, "east");
            return (Criteria) this;
        }

        public Criteria andEastGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("east >=", value, "east");
            return (Criteria) this;
        }

        public Criteria andEastLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("east <", value, "east");
            return (Criteria) this;
        }

        public Criteria andEastLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("east <=", value, "east");
            return (Criteria) this;
        }

        public Criteria andEastLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("east like", value, "east");
            return (Criteria) this;
        }

        public Criteria andEastNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("east not like", value, "east");
            return (Criteria) this;
        }

        public Criteria andEastIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("east in", values, "east");
            return (Criteria) this;
        }

        public Criteria andEastNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("east not in", values, "east");
            return (Criteria) this;
        }

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

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

        public Criteria andWestIsNull() {
            addCriterion("west is null");
            return (Criteria) this;
        }

        public Criteria andWestIsNotNull() {
            addCriterion("west is not null");
            return (Criteria) this;
        }

        public Criteria andWestEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("west =", value, "west");
            return (Criteria) this;
        }

        public Criteria andWestNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("west <>", value, "west");
            return (Criteria) this;
        }

        public Criteria andWestGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("west >", value, "west");
            return (Criteria) this;
        }

        public Criteria andWestGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("west >=", value, "west");
            return (Criteria) this;
        }

        public Criteria andWestLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("west <", value, "west");
            return (Criteria) this;
        }

        public Criteria andWestLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("west <=", value, "west");
            return (Criteria) this;
        }

        public Criteria andWestLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("west like", value, "west");
            return (Criteria) this;
        }

        public Criteria andWestNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("west not like", value, "west");
            return (Criteria) this;
        }

        public Criteria andWestIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("west in", values, "west");
            return (Criteria) this;
        }

        public Criteria andWestNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("west not in", values, "west");
            return (Criteria) this;
        }

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

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

        public Criteria andNorthIsNull() {
            addCriterion("north is null");
            return (Criteria) this;
        }

        public Criteria andNorthIsNotNull() {
            addCriterion("north is not null");
            return (Criteria) this;
        }

        public Criteria andNorthEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("north =", value, "north");
            return (Criteria) this;
        }

        public Criteria andNorthNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("north <>", value, "north");
            return (Criteria) this;
        }

        public Criteria andNorthGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("north >", value, "north");
            return (Criteria) this;
        }

        public Criteria andNorthGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("north >=", value, "north");
            return (Criteria) this;
        }

        public Criteria andNorthLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("north <", value, "north");
            return (Criteria) this;
        }

        public Criteria andNorthLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("north <=", value, "north");
            return (Criteria) this;
        }

        public Criteria andNorthLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("north like", value, "north");
            return (Criteria) this;
        }

        public Criteria andNorthNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("north not like", value, "north");
            return (Criteria) this;
        }

        public Criteria andNorthIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("north in", values, "north");
            return (Criteria) this;
        }

        public Criteria andNorthNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("north not in", values, "north");
            return (Criteria) this;
        }

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

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

        public Criteria andSouthIsNull() {
            addCriterion("south is null");
            return (Criteria) this;
        }

        public Criteria andSouthIsNotNull() {
            addCriterion("south is not null");
            return (Criteria) this;
        }

        public Criteria andSouthEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("south =", value, "south");
            return (Criteria) this;
        }

        public Criteria andSouthNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("south <>", value, "south");
            return (Criteria) this;
        }

        public Criteria andSouthGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("south >", value, "south");
            return (Criteria) this;
        }

        public Criteria andSouthGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("south >=", value, "south");
            return (Criteria) this;
        }

        public Criteria andSouthLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("south <", value, "south");
            return (Criteria) this;
        }

        public Criteria andSouthLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("south <=", value, "south");
            return (Criteria) this;
        }

        public Criteria andSouthLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("south like", value, "south");
            return (Criteria) this;
        }

        public Criteria andSouthNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("south not like", value, "south");
            return (Criteria) this;
        }

        public Criteria andSouthIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("south in", values, "south");
            return (Criteria) this;
        }

        public Criteria andSouthNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("south not in", values, "south");
            return (Criteria) this;
        }

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

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

        public Criteria andBlatIsNull() {
            addCriterion("blat is null");
            return (Criteria) this;
        }

        public Criteria andBlatIsNotNull() {
            addCriterion("blat is not null");
            return (Criteria) this;
        }

        public Criteria andBlatEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blat =", value, "blat");
            return (Criteria) this;
        }

        public Criteria andBlatNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blat <>", value, "blat");
            return (Criteria) this;
        }

        public Criteria andBlatGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blat >", value, "blat");
            return (Criteria) this;
        }

        public Criteria andBlatGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blat >=", value, "blat");
            return (Criteria) this;
        }

        public Criteria andBlatLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blat <", value, "blat");
            return (Criteria) this;
        }

        public Criteria andBlatLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blat <=", value, "blat");
            return (Criteria) this;
        }

        public Criteria andBlatLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blat like", value, "blat");
            return (Criteria) this;
        }

        public Criteria andBlatNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blat not like", value, "blat");
            return (Criteria) this;
        }

        public Criteria andBlatIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("blat in", values, "blat");
            return (Criteria) this;
        }

        public Criteria andBlatNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("blat not in", values, "blat");
            return (Criteria) this;
        }

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

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

        public Criteria andBlonIsNull() {
            addCriterion("blon is null");
            return (Criteria) this;
        }

        public Criteria andBlonIsNotNull() {
            addCriterion("blon is not null");
            return (Criteria) this;
        }

        public Criteria andBlonEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blon =", value, "blon");
            return (Criteria) this;
        }

        public Criteria andBlonNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blon <>", value, "blon");
            return (Criteria) this;
        }

        public Criteria andBlonGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blon >", value, "blon");
            return (Criteria) this;
        }

        public Criteria andBlonGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blon >=", value, "blon");
            return (Criteria) this;
        }

        public Criteria andBlonLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blon <", value, "blon");
            return (Criteria) this;
        }

        public Criteria andBlonLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blon <=", value, "blon");
            return (Criteria) this;
        }

        public Criteria andBlonLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blon like", value, "blon");
            return (Criteria) this;
        }

        public Criteria andBlonNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("blon not like", value, "blon");
            return (Criteria) this;
        }

        public Criteria andBlonIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("blon in", values, "blon");
            return (Criteria) this;
        }

        public Criteria andBlonNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("blon not in", values, "blon");
            return (Criteria) this;
        }

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

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

        public Criteria andCityidIsNull() {
            addCriterion("cityid is null");
            return (Criteria) this;
        }

        public Criteria andCityidIsNotNull() {
            addCriterion("cityid is not null");
            return (Criteria) this;
        }

        public Criteria andCityidEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("cityid =", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("cityid <>", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("cityid >", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("cityid >=", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("cityid <", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("cityid <=", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("cityid like", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("cityid not like", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("cityid in", values, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("cityid not in", values, "cityid");
            return (Criteria) this;
        }

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

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

        public Criteria andSeqIsNull() {
            addCriterion("seq is null");
            return (Criteria) this;
        }

        public Criteria andSeqIsNotNull() {
            addCriterion("seq is not null");
            return (Criteria) this;
        }

        public Criteria andSeqEqualTo(Integer value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("seq =", value, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqNotEqualTo(Integer value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("seq <>", value, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqGreaterThan(Integer value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("seq >", value, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqGreaterThanOrEqualTo(Integer value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("seq >=", value, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqLessThan(Integer value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("seq <", value, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqLessThanOrEqualTo(Integer value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("seq <=", value, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqIn(List<Integer> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("seq in", values, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqNotIn(List<Integer> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("seq not in", values, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqBetween(Integer value1, Integer value2) {
            addCriterion("seq between", value1, value2, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqNotBetween(Integer value1, Integer value2) {
            addCriterion("seq not between", value1, value2, "seq");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table county
     *
     * @mbg.generated do_not_delete_during_merge Wed Jul 01 17:27:08 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 county
     *
     * @mbg.generated Wed Jul 01 17:27:08 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);
        }
    }
}