package com.bailuntec.domain.example;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class DcBaseBailuncategoryExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     */
    protected List<Criteria> oredCriteria;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    protected Integer offset;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    protected Integer rows;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     */
    public DcBaseBailuncategoryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @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 dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseBailuncategoryExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseBailuncategoryExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @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 dc_base_bailuncategory
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public static Criteria newAndCreateCriteria() {
        DcBaseBailuncategoryExample example = new DcBaseBailuncategoryExample();
        return example.createCriteria();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseBailuncategoryExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseBailuncategoryExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public Integer getOffset() {
        return this.offset;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public void setRows(Integer rows) {
        this.rows = rows;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public Integer getRows() {
        return this.rows;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseBailuncategoryExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseBailuncategoryExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseBailuncategoryExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table dc_base_bailuncategory
     *
     * @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(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

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

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

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

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

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

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

        public Criteria andCIdIsNull() {
            addCriterion("c_id is null");
            return (Criteria) this;
        }

        public Criteria andCIdIsNotNull() {
            addCriterion("c_id is not null");
            return (Criteria) this;
        }

        public Criteria andCIdEqualTo(Integer value) {
            addCriterion("c_id =", value, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdNotEqualTo(Integer value) {
            addCriterion("c_id <>", value, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdGreaterThan(Integer value) {
            addCriterion("c_id >", value, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("c_id >=", value, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdLessThan(Integer value) {
            addCriterion("c_id <", value, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdLessThanOrEqualTo(Integer value) {
            addCriterion("c_id <=", value, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdIn(List<Integer> values) {
            addCriterion("c_id in", values, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdNotIn(List<Integer> values) {
            addCriterion("c_id not in", values, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdBetween(Integer value1, Integer value2) {
            addCriterion("c_id between", value1, value2, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdNotBetween(Integer value1, Integer value2) {
            addCriterion("c_id not between", value1, value2, "cId");
            return (Criteria) this;
        }

        public Criteria andCParentidIsNull() {
            addCriterion("c_parentid is null");
            return (Criteria) this;
        }

        public Criteria andCParentidIsNotNull() {
            addCriterion("c_parentid is not null");
            return (Criteria) this;
        }

        public Criteria andCParentidEqualTo(Integer value) {
            addCriterion("c_parentid =", value, "cParentid");
            return (Criteria) this;
        }

        public Criteria andCParentidNotEqualTo(Integer value) {
            addCriterion("c_parentid <>", value, "cParentid");
            return (Criteria) this;
        }

        public Criteria andCParentidGreaterThan(Integer value) {
            addCriterion("c_parentid >", value, "cParentid");
            return (Criteria) this;
        }

        public Criteria andCParentidGreaterThanOrEqualTo(Integer value) {
            addCriterion("c_parentid >=", value, "cParentid");
            return (Criteria) this;
        }

        public Criteria andCParentidLessThan(Integer value) {
            addCriterion("c_parentid <", value, "cParentid");
            return (Criteria) this;
        }

        public Criteria andCParentidLessThanOrEqualTo(Integer value) {
            addCriterion("c_parentid <=", value, "cParentid");
            return (Criteria) this;
        }

        public Criteria andCParentidIn(List<Integer> values) {
            addCriterion("c_parentid in", values, "cParentid");
            return (Criteria) this;
        }

        public Criteria andCParentidNotIn(List<Integer> values) {
            addCriterion("c_parentid not in", values, "cParentid");
            return (Criteria) this;
        }

        public Criteria andCParentidBetween(Integer value1, Integer value2) {
            addCriterion("c_parentid between", value1, value2, "cParentid");
            return (Criteria) this;
        }

        public Criteria andCParentidNotBetween(Integer value1, Integer value2) {
            addCriterion("c_parentid not between", value1, value2, "cParentid");
            return (Criteria) this;
        }

        public Criteria andCEnameIsNull() {
            addCriterion("c_ename is null");
            return (Criteria) this;
        }

        public Criteria andCEnameIsNotNull() {
            addCriterion("c_ename is not null");
            return (Criteria) this;
        }

        public Criteria andCEnameEqualTo(String value) {
            addCriterion("c_ename =", value, "cEname");
            return (Criteria) this;
        }

        public Criteria andCEnameNotEqualTo(String value) {
            addCriterion("c_ename <>", value, "cEname");
            return (Criteria) this;
        }

        public Criteria andCEnameGreaterThan(String value) {
            addCriterion("c_ename >", value, "cEname");
            return (Criteria) this;
        }

        public Criteria andCEnameGreaterThanOrEqualTo(String value) {
            addCriterion("c_ename >=", value, "cEname");
            return (Criteria) this;
        }

        public Criteria andCEnameLessThan(String value) {
            addCriterion("c_ename <", value, "cEname");
            return (Criteria) this;
        }

        public Criteria andCEnameLessThanOrEqualTo(String value) {
            addCriterion("c_ename <=", value, "cEname");
            return (Criteria) this;
        }

        public Criteria andCEnameLike(String value) {
            addCriterion("c_ename like", value, "cEname");
            return (Criteria) this;
        }

        public Criteria andCEnameNotLike(String value) {
            addCriterion("c_ename not like", value, "cEname");
            return (Criteria) this;
        }

        public Criteria andCEnameIn(List<String> values) {
            addCriterion("c_ename in", values, "cEname");
            return (Criteria) this;
        }

        public Criteria andCEnameNotIn(List<String> values) {
            addCriterion("c_ename not in", values, "cEname");
            return (Criteria) this;
        }

        public Criteria andCEnameBetween(String value1, String value2) {
            addCriterion("c_ename between", value1, value2, "cEname");
            return (Criteria) this;
        }

        public Criteria andCEnameNotBetween(String value1, String value2) {
            addCriterion("c_ename not between", value1, value2, "cEname");
            return (Criteria) this;
        }

        public Criteria andCCnameIsNull() {
            addCriterion("c_cname is null");
            return (Criteria) this;
        }

        public Criteria andCCnameIsNotNull() {
            addCriterion("c_cname is not null");
            return (Criteria) this;
        }

        public Criteria andCCnameEqualTo(String value) {
            addCriterion("c_cname =", value, "cCname");
            return (Criteria) this;
        }

        public Criteria andCCnameNotEqualTo(String value) {
            addCriterion("c_cname <>", value, "cCname");
            return (Criteria) this;
        }

        public Criteria andCCnameGreaterThan(String value) {
            addCriterion("c_cname >", value, "cCname");
            return (Criteria) this;
        }

        public Criteria andCCnameGreaterThanOrEqualTo(String value) {
            addCriterion("c_cname >=", value, "cCname");
            return (Criteria) this;
        }

        public Criteria andCCnameLessThan(String value) {
            addCriterion("c_cname <", value, "cCname");
            return (Criteria) this;
        }

        public Criteria andCCnameLessThanOrEqualTo(String value) {
            addCriterion("c_cname <=", value, "cCname");
            return (Criteria) this;
        }

        public Criteria andCCnameLike(String value) {
            addCriterion("c_cname like", value, "cCname");
            return (Criteria) this;
        }

        public Criteria andCCnameNotLike(String value) {
            addCriterion("c_cname not like", value, "cCname");
            return (Criteria) this;
        }

        public Criteria andCCnameIn(List<String> values) {
            addCriterion("c_cname in", values, "cCname");
            return (Criteria) this;
        }

        public Criteria andCCnameNotIn(List<String> values) {
            addCriterion("c_cname not in", values, "cCname");
            return (Criteria) this;
        }

        public Criteria andCCnameBetween(String value1, String value2) {
            addCriterion("c_cname between", value1, value2, "cCname");
            return (Criteria) this;
        }

        public Criteria andCCnameNotBetween(String value1, String value2) {
            addCriterion("c_cname not between", value1, value2, "cCname");
            return (Criteria) this;
        }

        public Criteria andCSortIsNull() {
            addCriterion("c_sort is null");
            return (Criteria) this;
        }

        public Criteria andCSortIsNotNull() {
            addCriterion("c_sort is not null");
            return (Criteria) this;
        }

        public Criteria andCSortEqualTo(Integer value) {
            addCriterion("c_sort =", value, "cSort");
            return (Criteria) this;
        }

        public Criteria andCSortNotEqualTo(Integer value) {
            addCriterion("c_sort <>", value, "cSort");
            return (Criteria) this;
        }

        public Criteria andCSortGreaterThan(Integer value) {
            addCriterion("c_sort >", value, "cSort");
            return (Criteria) this;
        }

        public Criteria andCSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("c_sort >=", value, "cSort");
            return (Criteria) this;
        }

        public Criteria andCSortLessThan(Integer value) {
            addCriterion("c_sort <", value, "cSort");
            return (Criteria) this;
        }

        public Criteria andCSortLessThanOrEqualTo(Integer value) {
            addCriterion("c_sort <=", value, "cSort");
            return (Criteria) this;
        }

        public Criteria andCSortIn(List<Integer> values) {
            addCriterion("c_sort in", values, "cSort");
            return (Criteria) this;
        }

        public Criteria andCSortNotIn(List<Integer> values) {
            addCriterion("c_sort not in", values, "cSort");
            return (Criteria) this;
        }

        public Criteria andCSortBetween(Integer value1, Integer value2) {
            addCriterion("c_sort between", value1, value2, "cSort");
            return (Criteria) this;
        }

        public Criteria andCSortNotBetween(Integer value1, Integer value2) {
            addCriterion("c_sort not between", value1, value2, "cSort");
            return (Criteria) this;
        }

        public Criteria andCLevelIsNull() {
            addCriterion("c_level is null");
            return (Criteria) this;
        }

        public Criteria andCLevelIsNotNull() {
            addCriterion("c_level is not null");
            return (Criteria) this;
        }

        public Criteria andCLevelEqualTo(Integer value) {
            addCriterion("c_level =", value, "cLevel");
            return (Criteria) this;
        }

        public Criteria andCLevelNotEqualTo(Integer value) {
            addCriterion("c_level <>", value, "cLevel");
            return (Criteria) this;
        }

        public Criteria andCLevelGreaterThan(Integer value) {
            addCriterion("c_level >", value, "cLevel");
            return (Criteria) this;
        }

        public Criteria andCLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("c_level >=", value, "cLevel");
            return (Criteria) this;
        }

        public Criteria andCLevelLessThan(Integer value) {
            addCriterion("c_level <", value, "cLevel");
            return (Criteria) this;
        }

        public Criteria andCLevelLessThanOrEqualTo(Integer value) {
            addCriterion("c_level <=", value, "cLevel");
            return (Criteria) this;
        }

        public Criteria andCLevelIn(List<Integer> values) {
            addCriterion("c_level in", values, "cLevel");
            return (Criteria) this;
        }

        public Criteria andCLevelNotIn(List<Integer> values) {
            addCriterion("c_level not in", values, "cLevel");
            return (Criteria) this;
        }

        public Criteria andCLevelBetween(Integer value1, Integer value2) {
            addCriterion("c_level between", value1, value2, "cLevel");
            return (Criteria) this;
        }

        public Criteria andCLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("c_level not between", value1, value2, "cLevel");
            return (Criteria) this;
        }

        public Criteria andPathIsNull() {
            addCriterion("path is null");
            return (Criteria) this;
        }

        public Criteria andPathIsNotNull() {
            addCriterion("path is not null");
            return (Criteria) this;
        }

        public Criteria andPathEqualTo(String value) {
            addCriterion("path =", value, "path");
            return (Criteria) this;
        }

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

        public Criteria andPathGreaterThan(String value) {
            addCriterion("path >", value, "path");
            return (Criteria) this;
        }

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

        public Criteria andPathLessThan(String value) {
            addCriterion("path <", value, "path");
            return (Criteria) this;
        }

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

        public Criteria andPathLike(String value) {
            addCriterion("path like", value, "path");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andCNameIsNull() {
            addCriterion("c_name is null");
            return (Criteria) this;
        }

        public Criteria andCNameIsNotNull() {
            addCriterion("c_name is not null");
            return (Criteria) this;
        }

        public Criteria andCNameEqualTo(String value) {
            addCriterion("c_name =", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameNotEqualTo(String value) {
            addCriterion("c_name <>", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameGreaterThan(String value) {
            addCriterion("c_name >", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameGreaterThanOrEqualTo(String value) {
            addCriterion("c_name >=", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameLessThan(String value) {
            addCriterion("c_name <", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameLessThanOrEqualTo(String value) {
            addCriterion("c_name <=", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameLike(String value) {
            addCriterion("c_name like", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameNotLike(String value) {
            addCriterion("c_name not like", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameIn(List<String> values) {
            addCriterion("c_name in", values, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameNotIn(List<String> values) {
            addCriterion("c_name not in", values, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameBetween(String value1, String value2) {
            addCriterion("c_name between", value1, value2, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameNotBetween(String value1, String value2) {
            addCriterion("c_name not between", value1, value2, "cName");
            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(LocalDateTime value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(LocalDateTime value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(LocalDateTime value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(LocalDateTime value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<LocalDateTime> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<LocalDateTime> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(LocalDateTime value1, LocalDateTime 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(LocalDateTime value) {
            addCriterion("gmt_modified =", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotEqualTo(LocalDateTime value) {
            addCriterion("gmt_modified <>", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThan(LocalDateTime value) {
            addCriterion("gmt_modified >", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_modified >=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThan(LocalDateTime value) {
            addCriterion("gmt_modified <", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_modified <=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIn(List<LocalDateTime> values) {
            addCriterion("gmt_modified in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotIn(List<LocalDateTime> values) {
            addCriterion("gmt_modified not in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_modified between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_modified not between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andHasDeleteIsNull() {
            addCriterion("has_delete is null");
            return (Criteria) this;
        }

        public Criteria andHasDeleteIsNotNull() {
            addCriterion("has_delete is not null");
            return (Criteria) this;
        }

        public Criteria andHasDeleteEqualTo(Integer value) {
            addCriterion("has_delete =", value, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteNotEqualTo(Integer value) {
            addCriterion("has_delete <>", value, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteGreaterThan(Integer value) {
            addCriterion("has_delete >", value, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteGreaterThanOrEqualTo(Integer value) {
            addCriterion("has_delete >=", value, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteLessThan(Integer value) {
            addCriterion("has_delete <", value, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteLessThanOrEqualTo(Integer value) {
            addCriterion("has_delete <=", value, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteIn(List<Integer> values) {
            addCriterion("has_delete in", values, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteNotIn(List<Integer> values) {
            addCriterion("has_delete not in", values, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteBetween(Integer value1, Integer value2) {
            addCriterion("has_delete between", value1, value2, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteNotBetween(Integer value1, Integer value2) {
            addCriterion("has_delete not between", value1, value2, "hasDelete");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {
        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table dc_base_bailuncategory
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private DcBaseBailuncategoryExample example;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_bailuncategory
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        protected Criteria(DcBaseBailuncategoryExample example) {
            super();
            this.example = example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_bailuncategory
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public DcBaseBailuncategoryExample example() {
            return this.example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_bailuncategory
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_bailuncategory
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_bailuncategory
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        /**
         * This interface was generated by MyBatis Generator.
         * This interface corresponds to the database table dc_base_bailuncategory
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        @Deprecated
        public interface ICriteriaAdd {
            /**
             * This method was generated by MyBatis Generator.
             * This method corresponds to the database table dc_base_bailuncategory
             *
             * @mbg.generated
             * @project https://github.com/itfsw/mybatis-generator-plugin
             */
            Criteria add(Criteria add);
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table dc_base_bailuncategory
     *
     * @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);
        }
    }

    /**
     * This interface was generated by MyBatis Generator.
     * This interface corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public interface ICriteriaWhen {
        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_bailuncategory
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        void criteria(Criteria criteria);
    }

    /**
     * This interface was generated by MyBatis Generator.
     * This interface corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public interface IExampleWhen {
        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_bailuncategory
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        void example(DcBaseBailuncategoryExample example);
    }
}