package com.dcit.danger.model;

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

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

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

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

    public PlanInfoExample() {
        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 andPlanLevelIsNull() {
            addCriterion("plan_level is null");
            return (Criteria) this;
        }

        public Criteria andPlanLevelIsNotNull() {
            addCriterion("plan_level is not null");
            return (Criteria) this;
        }

        public Criteria andPlanLevelEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_level =", value, "planLevel");
            return (Criteria) this;
        }

        public Criteria andPlanLevelNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_level <>", value, "planLevel");
            return (Criteria) this;
        }

        public Criteria andPlanLevelGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_level >", value, "planLevel");
            return (Criteria) this;
        }

        public Criteria andPlanLevelGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_level >=", value, "planLevel");
            return (Criteria) this;
        }

        public Criteria andPlanLevelLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_level <", value, "planLevel");
            return (Criteria) this;
        }

        public Criteria andPlanLevelLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_level <=", value, "planLevel");
            return (Criteria) this;
        }

        public Criteria andPlanLevelLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_level like", value, "planLevel");
            return (Criteria) this;
        }

        public Criteria andPlanLevelNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_level not like", value, "planLevel");
            return (Criteria) this;
        }

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

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

        public Criteria andPlanLevelBetween(String value1, String value2) {
            addCriterion("plan_level between", value1, value2, "planLevel");
            return (Criteria) this;
        }

        public Criteria andPlanLevelNotBetween(String value1, String value2) {
            addCriterion("plan_level not between", value1, value2, "planLevel");
            return (Criteria) this;
        }

        public Criteria andPlanTypeIsNull() {
            addCriterion("plan_type is null");
            return (Criteria) this;
        }

        public Criteria andPlanTypeIsNotNull() {
            addCriterion("plan_type is not null");
            return (Criteria) this;
        }

        public Criteria andPlanTypeEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_type =", value, "planType");
            return (Criteria) this;
        }

        public Criteria andPlanTypeNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_type <>", value, "planType");
            return (Criteria) this;
        }

        public Criteria andPlanTypeGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_type >", value, "planType");
            return (Criteria) this;
        }

        public Criteria andPlanTypeGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_type >=", value, "planType");
            return (Criteria) this;
        }

        public Criteria andPlanTypeLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_type <", value, "planType");
            return (Criteria) this;
        }

        public Criteria andPlanTypeLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_type <=", value, "planType");
            return (Criteria) this;
        }

        public Criteria andPlanTypeLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_type like", value, "planType");
            return (Criteria) this;
        }

        public Criteria andPlanTypeNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_type not like", value, "planType");
            return (Criteria) this;
        }

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

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

        public Criteria andPlanTypeBetween(String value1, String value2) {
            addCriterion("plan_type between", value1, value2, "planType");
            return (Criteria) this;
        }

        public Criteria andPlanTypeNotBetween(String value1, String value2) {
            addCriterion("plan_type not between", value1, value2, "planType");
            return (Criteria) this;
        }

        public Criteria andPlanTitleIsNull() {
            addCriterion("plan_title is null");
            return (Criteria) this;
        }

        public Criteria andPlanTitleIsNotNull() {
            addCriterion("plan_title is not null");
            return (Criteria) this;
        }

        public Criteria andPlanTitleEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_title =", value, "planTitle");
            return (Criteria) this;
        }

        public Criteria andPlanTitleNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_title <>", value, "planTitle");
            return (Criteria) this;
        }

        public Criteria andPlanTitleGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_title >", value, "planTitle");
            return (Criteria) this;
        }

        public Criteria andPlanTitleGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_title >=", value, "planTitle");
            return (Criteria) this;
        }

        public Criteria andPlanTitleLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_title <", value, "planTitle");
            return (Criteria) this;
        }

        public Criteria andPlanTitleLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_title <=", value, "planTitle");
            return (Criteria) this;
        }

        public Criteria andPlanTitleLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_title like", value, "planTitle");
            return (Criteria) this;
        }

        public Criteria andPlanTitleNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_title not like", value, "planTitle");
            return (Criteria) this;
        }

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

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

        public Criteria andPlanTitleBetween(String value1, String value2) {
            addCriterion("plan_title between", value1, value2, "planTitle");
            return (Criteria) this;
        }

        public Criteria andPlanTitleNotBetween(String value1, String value2) {
            addCriterion("plan_title not between", value1, value2, "planTitle");
            return (Criteria) this;
        }

        public Criteria andPlanContentsIsNull() {
            addCriterion("plan_contents is null");
            return (Criteria) this;
        }

        public Criteria andPlanContentsIsNotNull() {
            addCriterion("plan_contents is not null");
            return (Criteria) this;
        }

        public Criteria andPlanContentsEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_contents =", value, "planContents");
            return (Criteria) this;
        }

        public Criteria andPlanContentsNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_contents <>", value, "planContents");
            return (Criteria) this;
        }

        public Criteria andPlanContentsGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_contents >", value, "planContents");
            return (Criteria) this;
        }

        public Criteria andPlanContentsGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_contents >=", value, "planContents");
            return (Criteria) this;
        }

        public Criteria andPlanContentsLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_contents <", value, "planContents");
            return (Criteria) this;
        }

        public Criteria andPlanContentsLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_contents <=", value, "planContents");
            return (Criteria) this;
        }

        public Criteria andPlanContentsLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_contents like", value, "planContents");
            return (Criteria) this;
        }

        public Criteria andPlanContentsNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("plan_contents not like", value, "planContents");
            return (Criteria) this;
        }

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

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

        public Criteria andPlanContentsBetween(String value1, String value2) {
            addCriterion("plan_contents between", value1, value2, "planContents");
            return (Criteria) this;
        }

        public Criteria andPlanContentsNotBetween(String value1, String value2) {
            addCriterion("plan_contents not between", value1, value2, "planContents");
            return (Criteria) this;
        }

        public Criteria andSourceFileIsNull() {
            addCriterion("source_file is null");
            return (Criteria) this;
        }

        public Criteria andSourceFileIsNotNull() {
            addCriterion("source_file is not null");
            return (Criteria) this;
        }

        public Criteria andSourceFileEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("source_file =", value, "sourceFile");
            return (Criteria) this;
        }

        public Criteria andSourceFileNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("source_file <>", value, "sourceFile");
            return (Criteria) this;
        }

        public Criteria andSourceFileGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("source_file >", value, "sourceFile");
            return (Criteria) this;
        }

        public Criteria andSourceFileGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("source_file >=", value, "sourceFile");
            return (Criteria) this;
        }

        public Criteria andSourceFileLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("source_file <", value, "sourceFile");
            return (Criteria) this;
        }

        public Criteria andSourceFileLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("source_file <=", value, "sourceFile");
            return (Criteria) this;
        }

        public Criteria andSourceFileLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("source_file like", value, "sourceFile");
            return (Criteria) this;
        }

        public Criteria andSourceFileNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("source_file not like", value, "sourceFile");
            return (Criteria) this;
        }

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

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

        public Criteria andSourceFileBetween(String value1, String value2) {
            addCriterion("source_file between", value1, value2, "sourceFile");
            return (Criteria) this;
        }

        public Criteria andSourceFileNotBetween(String value1, String value2) {
            addCriterion("source_file not between", value1, value2, "sourceFile");
            return (Criteria) this;
        }

        public Criteria andFileOriginalNameIsNull() {
            addCriterion("file_original_name is null");
            return (Criteria) this;
        }

        public Criteria andFileOriginalNameIsNotNull() {
            addCriterion("file_original_name is not null");
            return (Criteria) this;
        }

        public Criteria andFileOriginalNameEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("file_original_name =", value, "fileOriginalName");
            return (Criteria) this;
        }

        public Criteria andFileOriginalNameNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("file_original_name <>", value, "fileOriginalName");
            return (Criteria) this;
        }

        public Criteria andFileOriginalNameGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("file_original_name >", value, "fileOriginalName");
            return (Criteria) this;
        }

        public Criteria andFileOriginalNameGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("file_original_name >=", value, "fileOriginalName");
            return (Criteria) this;
        }

        public Criteria andFileOriginalNameLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("file_original_name <", value, "fileOriginalName");
            return (Criteria) this;
        }

        public Criteria andFileOriginalNameLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("file_original_name <=", value, "fileOriginalName");
            return (Criteria) this;
        }

        public Criteria andFileOriginalNameLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("file_original_name like", value, "fileOriginalName");
            return (Criteria) this;
        }

        public Criteria andFileOriginalNameNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("file_original_name not like", value, "fileOriginalName");
            return (Criteria) this;
        }

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

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

        public Criteria andFileOriginalNameBetween(String value1, String value2) {
            addCriterion("file_original_name between", value1, value2, "fileOriginalName");
            return (Criteria) this;
        }

        public Criteria andFileOriginalNameNotBetween(String value1, String value2) {
            addCriterion("file_original_name not between", value1, value2, "fileOriginalName");
            return (Criteria) this;
        }

        public Criteria andIsReportedIsNull() {
            addCriterion("is_reported is null");
            return (Criteria) this;
        }

        public Criteria andIsReportedIsNotNull() {
            addCriterion("is_reported is not null");
            return (Criteria) this;
        }

        public Criteria andIsReportedEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_reported =", value, "isReported");
            return (Criteria) this;
        }

        public Criteria andIsReportedNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_reported <>", value, "isReported");
            return (Criteria) this;
        }

        public Criteria andIsReportedGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_reported >", value, "isReported");
            return (Criteria) this;
        }

        public Criteria andIsReportedGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_reported >=", value, "isReported");
            return (Criteria) this;
        }

        public Criteria andIsReportedLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_reported <", value, "isReported");
            return (Criteria) this;
        }

        public Criteria andIsReportedLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_reported <=", value, "isReported");
            return (Criteria) this;
        }

        public Criteria andIsReportedLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_reported like", value, "isReported");
            return (Criteria) this;
        }

        public Criteria andIsReportedNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_reported not like", value, "isReported");
            return (Criteria) this;
        }

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

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

        public Criteria andIsReportedBetween(String value1, String value2) {
            addCriterion("is_reported between", value1, value2, "isReported");
            return (Criteria) this;
        }

        public Criteria andIsReportedNotBetween(String value1, String value2) {
            addCriterion("is_reported not between", value1, value2, "isReported");
            return (Criteria) this;
        }

        public Criteria andReportedTimeIsNull() {
            addCriterion("reported_time is null");
            return (Criteria) this;
        }

        public Criteria andReportedTimeIsNotNull() {
            addCriterion("reported_time is not null");
            return (Criteria) this;
        }

        public Criteria andReportedTimeEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("reported_time =", value, "reportedTime");
            return (Criteria) this;
        }

        public Criteria andReportedTimeNotEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("reported_time <>", value, "reportedTime");
            return (Criteria) this;
        }

        public Criteria andReportedTimeGreaterThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("reported_time >", value, "reportedTime");
            return (Criteria) this;
        }

        public Criteria andReportedTimeGreaterThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("reported_time >=", value, "reportedTime");
            return (Criteria) this;
        }

        public Criteria andReportedTimeLessThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("reported_time <", value, "reportedTime");
            return (Criteria) this;
        }

        public Criteria andReportedTimeLessThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("reported_time <=", value, "reportedTime");
            return (Criteria) this;
        }

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

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

        public Criteria andReportedTimeBetween(Date value1, Date value2) {
            addCriterion("reported_time between", value1, value2, "reportedTime");
            return (Criteria) this;
        }

        public Criteria andReportedTimeNotBetween(Date value1, Date value2) {
            addCriterion("reported_time not between", value1, value2, "reportedTime");
            return (Criteria) this;
        }

        public Criteria andCheckStatusIsNull() {
            addCriterion("check_status is null");
            return (Criteria) this;
        }

        public Criteria andCheckStatusIsNotNull() {
            addCriterion("check_status is not null");
            return (Criteria) this;
        }

        public Criteria andCheckStatusEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("check_status =", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("check_status <>", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("check_status >", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("check_status >=", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("check_status <", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("check_status <=", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("check_status like", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("check_status not like", value, "checkStatus");
            return (Criteria) this;
        }

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

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

        public Criteria andCheckStatusBetween(String value1, String value2) {
            addCriterion("check_status between", value1, value2, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusNotBetween(String value1, String value2) {
            addCriterion("check_status not between", value1, value2, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckTimeIsNull() {
            addCriterion("check_time is null");
            return (Criteria) this;
        }

        public Criteria andCheckTimeIsNotNull() {
            addCriterion("check_time is not null");
            return (Criteria) this;
        }

        public Criteria andCheckTimeEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("check_time =", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("check_time <>", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeGreaterThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("check_time >", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeGreaterThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("check_time >=", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeLessThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("check_time <", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeLessThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("check_time <=", value, "checkTime");
            return (Criteria) this;
        }

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

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

        public Criteria andCheckTimeBetween(Date value1, Date value2) {
            addCriterion("check_time between", value1, value2, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotBetween(Date value1, Date value2) {
            addCriterion("check_time not between", value1, value2, "checkTime");
            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 andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id like", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id not like", value, "createUserId");
            return (Criteria) this;
        }

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

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

        public Criteria andCreateUserIdBetween(String value1, String value2) {
            addCriterion("create_user_id between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(String value1, String value2) {
            addCriterion("create_user_id not between", value1, value2, "createUserId");
            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);
        }
    }
}