package com.goafanti.common.model;

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

public class ExpertPublishExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    public ExpertPublishExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    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 expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    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 expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

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

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andExpertIdIsNull() {
            addCriterion("expert_id is null");
            return (Criteria) this;
        }

        public Criteria andExpertIdIsNotNull() {
            addCriterion("expert_id is not null");
            return (Criteria) this;
        }

        public Criteria andExpertIdEqualTo(String value) {
            addCriterion("expert_id =", value, "expertId");
            return (Criteria) this;
        }

        public Criteria andExpertIdNotEqualTo(String value) {
            addCriterion("expert_id <>", value, "expertId");
            return (Criteria) this;
        }

        public Criteria andExpertIdGreaterThan(String value) {
            addCriterion("expert_id >", value, "expertId");
            return (Criteria) this;
        }

        public Criteria andExpertIdGreaterThanOrEqualTo(String value) {
            addCriterion("expert_id >=", value, "expertId");
            return (Criteria) this;
        }

        public Criteria andExpertIdLessThan(String value) {
            addCriterion("expert_id <", value, "expertId");
            return (Criteria) this;
        }

        public Criteria andExpertIdLessThanOrEqualTo(String value) {
            addCriterion("expert_id <=", value, "expertId");
            return (Criteria) this;
        }

        public Criteria andExpertIdLike(String value) {
            addCriterion("expert_id like", value, "expertId");
            return (Criteria) this;
        }

        public Criteria andExpertIdNotLike(String value) {
            addCriterion("expert_id not like", value, "expertId");
            return (Criteria) this;
        }

        public Criteria andExpertIdIn(List<String> values) {
            addCriterion("expert_id in", values, "expertId");
            return (Criteria) this;
        }

        public Criteria andExpertIdNotIn(List<String> values) {
            addCriterion("expert_id not in", values, "expertId");
            return (Criteria) this;
        }

        public Criteria andExpertIdBetween(String value1, String value2) {
            addCriterion("expert_id between", value1, value2, "expertId");
            return (Criteria) this;
        }

        public Criteria andExpertIdNotBetween(String value1, String value2) {
            addCriterion("expert_id not between", value1, value2, "expertId");
            return (Criteria) this;
        }

        public Criteria andPublishPlatformIsNull() {
            addCriterion("publish_platform is null");
            return (Criteria) this;
        }

        public Criteria andPublishPlatformIsNotNull() {
            addCriterion("publish_platform is not null");
            return (Criteria) this;
        }

        public Criteria andPublishPlatformEqualTo(String value) {
            addCriterion("publish_platform =", value, "publishPlatform");
            return (Criteria) this;
        }

        public Criteria andPublishPlatformNotEqualTo(String value) {
            addCriterion("publish_platform <>", value, "publishPlatform");
            return (Criteria) this;
        }

        public Criteria andPublishPlatformGreaterThan(String value) {
            addCriterion("publish_platform >", value, "publishPlatform");
            return (Criteria) this;
        }

        public Criteria andPublishPlatformGreaterThanOrEqualTo(String value) {
            addCriterion("publish_platform >=", value, "publishPlatform");
            return (Criteria) this;
        }

        public Criteria andPublishPlatformLessThan(String value) {
            addCriterion("publish_platform <", value, "publishPlatform");
            return (Criteria) this;
        }

        public Criteria andPublishPlatformLessThanOrEqualTo(String value) {
            addCriterion("publish_platform <=", value, "publishPlatform");
            return (Criteria) this;
        }

        public Criteria andPublishPlatformLike(String value) {
            addCriterion("publish_platform like", value, "publishPlatform");
            return (Criteria) this;
        }

        public Criteria andPublishPlatformNotLike(String value) {
            addCriterion("publish_platform not like", value, "publishPlatform");
            return (Criteria) this;
        }

        public Criteria andPublishPlatformIn(List<String> values) {
            addCriterion("publish_platform in", values, "publishPlatform");
            return (Criteria) this;
        }

        public Criteria andPublishPlatformNotIn(List<String> values) {
            addCriterion("publish_platform not in", values, "publishPlatform");
            return (Criteria) this;
        }

        public Criteria andPublishPlatformBetween(String value1, String value2) {
            addCriterion("publish_platform between", value1, value2, "publishPlatform");
            return (Criteria) this;
        }

        public Criteria andPublishPlatformNotBetween(String value1, String value2) {
            addCriterion("publish_platform not between", value1, value2, "publishPlatform");
            return (Criteria) this;
        }

        public Criteria andPublishClientIsNull() {
            addCriterion("publish_client is null");
            return (Criteria) this;
        }

        public Criteria andPublishClientIsNotNull() {
            addCriterion("publish_client is not null");
            return (Criteria) this;
        }

        public Criteria andPublishClientEqualTo(Integer value) {
            addCriterion("publish_client =", value, "publishClient");
            return (Criteria) this;
        }

        public Criteria andPublishClientNotEqualTo(Integer value) {
            addCriterion("publish_client <>", value, "publishClient");
            return (Criteria) this;
        }

        public Criteria andPublishClientGreaterThan(Integer value) {
            addCriterion("publish_client >", value, "publishClient");
            return (Criteria) this;
        }

        public Criteria andPublishClientGreaterThanOrEqualTo(Integer value) {
            addCriterion("publish_client >=", value, "publishClient");
            return (Criteria) this;
        }

        public Criteria andPublishClientLessThan(Integer value) {
            addCriterion("publish_client <", value, "publishClient");
            return (Criteria) this;
        }

        public Criteria andPublishClientLessThanOrEqualTo(Integer value) {
            addCriterion("publish_client <=", value, "publishClient");
            return (Criteria) this;
        }

        public Criteria andPublishClientIn(List<Integer> values) {
            addCriterion("publish_client in", values, "publishClient");
            return (Criteria) this;
        }

        public Criteria andPublishClientNotIn(List<Integer> values) {
            addCriterion("publish_client not in", values, "publishClient");
            return (Criteria) this;
        }

        public Criteria andPublishClientBetween(Integer value1, Integer value2) {
            addCriterion("publish_client between", value1, value2, "publishClient");
            return (Criteria) this;
        }

        public Criteria andPublishClientNotBetween(Integer value1, Integer value2) {
            addCriterion("publish_client not between", value1, value2, "publishClient");
            return (Criteria) this;
        }

        public Criteria andPublishPageIsNull() {
            addCriterion("publish_page is null");
            return (Criteria) this;
        }

        public Criteria andPublishPageIsNotNull() {
            addCriterion("publish_page is not null");
            return (Criteria) this;
        }

        public Criteria andPublishPageEqualTo(String value) {
            addCriterion("publish_page =", value, "publishPage");
            return (Criteria) this;
        }

        public Criteria andPublishPageNotEqualTo(String value) {
            addCriterion("publish_page <>", value, "publishPage");
            return (Criteria) this;
        }

        public Criteria andPublishPageGreaterThan(String value) {
            addCriterion("publish_page >", value, "publishPage");
            return (Criteria) this;
        }

        public Criteria andPublishPageGreaterThanOrEqualTo(String value) {
            addCriterion("publish_page >=", value, "publishPage");
            return (Criteria) this;
        }

        public Criteria andPublishPageLessThan(String value) {
            addCriterion("publish_page <", value, "publishPage");
            return (Criteria) this;
        }

        public Criteria andPublishPageLessThanOrEqualTo(String value) {
            addCriterion("publish_page <=", value, "publishPage");
            return (Criteria) this;
        }

        public Criteria andPublishPageLike(String value) {
            addCriterion("publish_page like", value, "publishPage");
            return (Criteria) this;
        }

        public Criteria andPublishPageNotLike(String value) {
            addCriterion("publish_page not like", value, "publishPage");
            return (Criteria) this;
        }

        public Criteria andPublishPageIn(List<String> values) {
            addCriterion("publish_page in", values, "publishPage");
            return (Criteria) this;
        }

        public Criteria andPublishPageNotIn(List<String> values) {
            addCriterion("publish_page not in", values, "publishPage");
            return (Criteria) this;
        }

        public Criteria andPublishPageBetween(String value1, String value2) {
            addCriterion("publish_page between", value1, value2, "publishPage");
            return (Criteria) this;
        }

        public Criteria andPublishPageNotBetween(String value1, String value2) {
            addCriterion("publish_page not between", value1, value2, "publishPage");
            return (Criteria) this;
        }

        public Criteria andIfTopIsNull() {
            addCriterion("if_top is null");
            return (Criteria) this;
        }

        public Criteria andIfTopIsNotNull() {
            addCriterion("if_top is not null");
            return (Criteria) this;
        }

        public Criteria andIfTopEqualTo(Integer value) {
            addCriterion("if_top =", value, "ifTop");
            return (Criteria) this;
        }

        public Criteria andIfTopNotEqualTo(Integer value) {
            addCriterion("if_top <>", value, "ifTop");
            return (Criteria) this;
        }

        public Criteria andIfTopGreaterThan(Integer value) {
            addCriterion("if_top >", value, "ifTop");
            return (Criteria) this;
        }

        public Criteria andIfTopGreaterThanOrEqualTo(Integer value) {
            addCriterion("if_top >=", value, "ifTop");
            return (Criteria) this;
        }

        public Criteria andIfTopLessThan(Integer value) {
            addCriterion("if_top <", value, "ifTop");
            return (Criteria) this;
        }

        public Criteria andIfTopLessThanOrEqualTo(Integer value) {
            addCriterion("if_top <=", value, "ifTop");
            return (Criteria) this;
        }

        public Criteria andIfTopIn(List<Integer> values) {
            addCriterion("if_top in", values, "ifTop");
            return (Criteria) this;
        }

        public Criteria andIfTopNotIn(List<Integer> values) {
            addCriterion("if_top not in", values, "ifTop");
            return (Criteria) this;
        }

        public Criteria andIfTopBetween(Integer value1, Integer value2) {
            addCriterion("if_top between", value1, value2, "ifTop");
            return (Criteria) this;
        }

        public Criteria andIfTopNotBetween(Integer value1, Integer value2) {
            addCriterion("if_top not between", value1, value2, "ifTop");
            return (Criteria) this;
        }

        public Criteria andTopNumberIsNull() {
            addCriterion("top_number is null");
            return (Criteria) this;
        }

        public Criteria andTopNumberIsNotNull() {
            addCriterion("top_number is not null");
            return (Criteria) this;
        }

        public Criteria andTopNumberEqualTo(Integer value) {
            addCriterion("top_number =", value, "topNumber");
            return (Criteria) this;
        }

        public Criteria andTopNumberNotEqualTo(Integer value) {
            addCriterion("top_number <>", value, "topNumber");
            return (Criteria) this;
        }

        public Criteria andTopNumberGreaterThan(Integer value) {
            addCriterion("top_number >", value, "topNumber");
            return (Criteria) this;
        }

        public Criteria andTopNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("top_number >=", value, "topNumber");
            return (Criteria) this;
        }

        public Criteria andTopNumberLessThan(Integer value) {
            addCriterion("top_number <", value, "topNumber");
            return (Criteria) this;
        }

        public Criteria andTopNumberLessThanOrEqualTo(Integer value) {
            addCriterion("top_number <=", value, "topNumber");
            return (Criteria) this;
        }

        public Criteria andTopNumberIn(List<Integer> values) {
            addCriterion("top_number in", values, "topNumber");
            return (Criteria) this;
        }

        public Criteria andTopNumberNotIn(List<Integer> values) {
            addCriterion("top_number not in", values, "topNumber");
            return (Criteria) this;
        }

        public Criteria andTopNumberBetween(Integer value1, Integer value2) {
            addCriterion("top_number between", value1, value2, "topNumber");
            return (Criteria) this;
        }

        public Criteria andTopNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("top_number not between", value1, value2, "topNumber");
            return (Criteria) this;
        }

        public Criteria andShowNumberIsNull() {
            addCriterion("show_number is null");
            return (Criteria) this;
        }

        public Criteria andShowNumberIsNotNull() {
            addCriterion("show_number is not null");
            return (Criteria) this;
        }

        public Criteria andShowNumberEqualTo(Integer value) {
            addCriterion("show_number =", value, "showNumber");
            return (Criteria) this;
        }

        public Criteria andShowNumberNotEqualTo(Integer value) {
            addCriterion("show_number <>", value, "showNumber");
            return (Criteria) this;
        }

        public Criteria andShowNumberGreaterThan(Integer value) {
            addCriterion("show_number >", value, "showNumber");
            return (Criteria) this;
        }

        public Criteria andShowNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("show_number >=", value, "showNumber");
            return (Criteria) this;
        }

        public Criteria andShowNumberLessThan(Integer value) {
            addCriterion("show_number <", value, "showNumber");
            return (Criteria) this;
        }

        public Criteria andShowNumberLessThanOrEqualTo(Integer value) {
            addCriterion("show_number <=", value, "showNumber");
            return (Criteria) this;
        }

        public Criteria andShowNumberIn(List<Integer> values) {
            addCriterion("show_number in", values, "showNumber");
            return (Criteria) this;
        }

        public Criteria andShowNumberNotIn(List<Integer> values) {
            addCriterion("show_number not in", values, "showNumber");
            return (Criteria) this;
        }

        public Criteria andShowNumberBetween(Integer value1, Integer value2) {
            addCriterion("show_number between", value1, value2, "showNumber");
            return (Criteria) this;
        }

        public Criteria andShowNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("show_number not between", value1, value2, "showNumber");
            return (Criteria) this;
        }

        public Criteria andPublisherIsNull() {
            addCriterion("publisher is null");
            return (Criteria) this;
        }

        public Criteria andPublisherIsNotNull() {
            addCriterion("publisher is not null");
            return (Criteria) this;
        }

        public Criteria andPublisherEqualTo(String value) {
            addCriterion("publisher =", value, "publisher");
            return (Criteria) this;
        }

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

        public Criteria andPublisherGreaterThan(String value) {
            addCriterion("publisher >", value, "publisher");
            return (Criteria) this;
        }

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

        public Criteria andPublisherLessThan(String value) {
            addCriterion("publisher <", value, "publisher");
            return (Criteria) this;
        }

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

        public Criteria andPublisherLike(String value) {
            addCriterion("publisher like", value, "publisher");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andPublishTimeIsNull() {
            addCriterion("publish_time is null");
            return (Criteria) this;
        }

        public Criteria andPublishTimeIsNotNull() {
            addCriterion("publish_time is not null");
            return (Criteria) this;
        }

        public Criteria andPublishTimeEqualTo(Date value) {
            addCriterion("publish_time =", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotEqualTo(Date value) {
            addCriterion("publish_time <>", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeGreaterThan(Date value) {
            addCriterion("publish_time >", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("publish_time >=", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeLessThan(Date value) {
            addCriterion("publish_time <", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeLessThanOrEqualTo(Date value) {
            addCriterion("publish_time <=", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeIn(List<Date> values) {
            addCriterion("publish_time in", values, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotIn(List<Date> values) {
            addCriterion("publish_time not in", values, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeBetween(Date value1, Date value2) {
            addCriterion("publish_time between", value1, value2, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotBetween(Date value1, Date value2) {
            addCriterion("publish_time not between", value1, value2, "publishTime");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table expert_publish
     *
     * @mbg.generated do_not_delete_during_merge Wed Jan 31 14:57:15 CST 2018
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    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);
        }
    }
}