package com.dcit.danger.model;

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

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

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

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

    public THiddenTroubleExample() {
        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 plan_info
     *
     * @mbg.generated Tue Jul 28 09:40:24 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 andEnterpriseIdIsNull() {
            addCriterion("enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNotNull() {
            addCriterion("enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id =", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id <>", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id >", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id >=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id <", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id <=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id like", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id not like", value, "enterpriseId");
            return (Criteria) this;
        }

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

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

        public Criteria andEnterpriseIdBetween(String value1, String value2) {
            addCriterion("enterprise_id between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotBetween(String value1, String value2) {
            addCriterion("enterprise_id not between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andTroubleLevelIsNull() {
            addCriterion("trouble_level is null");
            return (Criteria) this;
        }

        public Criteria andTroubleLevelIsNotNull() {
            addCriterion("trouble_level is not null");
            return (Criteria) this;
        }

        public Criteria andTroubleLevelEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_level =", value, "troubleLevel");
            return (Criteria) this;
        }

        public Criteria andTroubleLevelNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_level <>", value, "troubleLevel");
            return (Criteria) this;
        }

        public Criteria andTroubleLevelGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_level >", value, "troubleLevel");
            return (Criteria) this;
        }

        public Criteria andTroubleLevelGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_level >=", value, "troubleLevel");
            return (Criteria) this;
        }

        public Criteria andTroubleLevelLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_level <", value, "troubleLevel");
            return (Criteria) this;
        }

        public Criteria andTroubleLevelLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_level <=", value, "troubleLevel");
            return (Criteria) this;
        }

        public Criteria andTroubleLevelLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_level like", value, "troubleLevel");
            return (Criteria) this;
        }

        public Criteria andTroubleLevelNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_level not like", value, "troubleLevel");
            return (Criteria) this;
        }

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

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

        public Criteria andTroubleLevelBetween(String value1, String value2) {
            addCriterion("trouble_level between", value1, value2, "troubleLevel");
            return (Criteria) this;
        }

        public Criteria andTroubleLevelNotBetween(String value1, String value2) {
            addCriterion("trouble_level not between", value1, value2, "troubleLevel");
            return (Criteria) this;
        }

        public Criteria andTroubleTypeIsNull() {
            addCriterion("trouble_type is null");
            return (Criteria) this;
        }

        public Criteria andTroubleTypeIsNotNull() {
            addCriterion("trouble_type is not null");
            return (Criteria) this;
        }

        public Criteria andTroubleTypeEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_type =", value, "troubleType");
            return (Criteria) this;
        }

        public Criteria andTroubleTypeNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_type <>", value, "troubleType");
            return (Criteria) this;
        }

        public Criteria andTroubleTypeGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_type >", value, "troubleType");
            return (Criteria) this;
        }

        public Criteria andTroubleTypeGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_type >=", value, "troubleType");
            return (Criteria) this;
        }

        public Criteria andTroubleTypeLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_type <", value, "troubleType");
            return (Criteria) this;
        }

        public Criteria andTroubleTypeLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_type <=", value, "troubleType");
            return (Criteria) this;
        }

        public Criteria andTroubleTypeLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_type like", value, "troubleType");
            return (Criteria) this;
        }

        public Criteria andTroubleTypeNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_type not like", value, "troubleType");
            return (Criteria) this;
        }

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

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

        public Criteria andTroubleTypeBetween(String value1, String value2) {
            addCriterion("trouble_type between", value1, value2, "troubleType");
            return (Criteria) this;
        }

        public Criteria andTroubleTypeNotBetween(String value1, String value2) {
            addCriterion("trouble_type not between", value1, value2, "troubleType");
            return (Criteria) this;
        }

        public Criteria andTroubleNameIsNull() {
            addCriterion("trouble_name is null");
            return (Criteria) this;
        }

        public Criteria andTroubleNameIsNotNull() {
            addCriterion("trouble_name is not null");
            return (Criteria) this;
        }

        public Criteria andTroubleNameEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_name =", value, "troubleName");
            return (Criteria) this;
        }

        public Criteria andTroubleNameNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_name <>", value, "troubleName");
            return (Criteria) this;
        }

        public Criteria andTroubleNameGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_name >", value, "troubleName");
            return (Criteria) this;
        }

        public Criteria andTroubleNameGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_name >=", value, "troubleName");
            return (Criteria) this;
        }

        public Criteria andTroubleNameLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_name <", value, "troubleName");
            return (Criteria) this;
        }

        public Criteria andTroubleNameLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_name <=", value, "troubleName");
            return (Criteria) this;
        }

        public Criteria andTroubleNameLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_name like", value, "troubleName");
            return (Criteria) this;
        }

        public Criteria andTroubleNameNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("trouble_name not like", value, "troubleName");
            return (Criteria) this;
        }

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

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

        public Criteria andTroubleNameBetween(String value1, String value2) {
            addCriterion("trouble_name between", value1, value2, "troubleName");
            return (Criteria) this;
        }

        public Criteria andTroubleNameNotBetween(String value1, String value2) {
            addCriterion("trouble_name not between", value1, value2, "troubleName");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andLongitudeIsNull() {
            addCriterion("longitude is null");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNotNull() {
            addCriterion("longitude is not null");
            return (Criteria) this;
        }

        public Criteria andLongitudeEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("longitude =", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("longitude <>", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThan(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("longitude >", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThanOrEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("longitude >=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThan(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("longitude <", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThanOrEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("longitude <=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeIn(List<BigDecimal> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("longitude in", values, "longitude");
            return (Criteria) this;
        }

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

        public Criteria andLongitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("longitude between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("longitude not between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNull() {
            addCriterion("latitude is null");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNotNull() {
            addCriterion("latitude is not null");
            return (Criteria) this;
        }

        public Criteria andLatitudeEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("latitude =", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("latitude <>", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThan(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("latitude >", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThanOrEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("latitude >=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThan(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("latitude <", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThanOrEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("latitude <=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIn(List<BigDecimal> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("latitude in", values, "latitude");
            return (Criteria) this;
        }

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

        public Criteria andLatitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("latitude between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("latitude not between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table plan_info
     *
     * @mbg.generated do_not_delete_during_merge Tue Jul 28 09:40:24 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 plan_info
     *
     * @mbg.generated Tue Jul 28 09:40:24 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);
        }
    }
}