/*
 * MIT License
 *
 * Copyright (c) [2023]
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
package com.alipay.altershield.defender.framework.exe.dal.dataobject;

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

/**
 * This class was generated by Ali-Generator
 * @author xiangyue
 */
public class ExeDefenderDetectParam {
    /**
     *
     * @mbg.generated
     */
    protected String orderByClause;

    /**
     *
     * @mbg.generated
     */
    @Deprecated
    protected boolean distinct;

    /**
     *
     * @mbg.generated
     */
    protected boolean page;

    /**
     *
     * @mbg.generated
     */
    protected int pageIndex;

    /**
     *
     * @mbg.generated
     */
    protected int pageSize;

    /**
     *
     * @mbg.generated
     */
    protected int pageStart;

    /**
     *
     * @mbg.generated
     */
    protected String distinctSql;

    /**
     *
     * @mbg.generated
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @mbg.generated
     */
    public ExeDefenderDetectParam() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * @param orderCondition
     * @param sortType
     * @return
     *
     * @mbg.generated
     */
    public ExeDefenderDetectParam appendOrderByClause(OrderCondition orderCondition, SortType sortType) {
        if (null != orderByClause) {
            orderByClause = orderByClause + ", " + orderCondition.getColumnName() + " " + sortType.getValue();
        } else {
            orderByClause = orderCondition.getColumnName() + " " + sortType.getValue();
        }
        return this;
    }

    /**
     * @return
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * @param distinct
     *
     * @mbg.generated
     */
    @Deprecated
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * @return
     *
     * @mbg.generated
     */
    @Deprecated
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * @param page
     * @return
     *
     * @mbg.generated
     */
    public ExeDefenderDetectParam setPage(boolean page) {
        this.page = page;
        return this;
    }

    /**
     * @return
     *
     * @mbg.generated
     */
    public boolean isPage() {
        return page;
    }

    /**
     * @return
     *
     * @mbg.generated
     */
    public int getPageIndex() {
        return pageIndex;
    }

    /**
     * @param pageSize
     * @return
     *
     * @mbg.generated
     */
    public ExeDefenderDetectParam setPageSize(int pageSize) {
        this.pageSize = pageSize < 1 ? 10 : pageSize;
        this.pageIndex = pageStart < 1 ? 0 : (pageStart - 1) * this.pageSize;
        return this;
    }

    /**
     * @return
     *
     * @mbg.generated
     */
    public int getPageSize() {
        return pageSize;
    }

    /**
     * @param pageStart
     * @return
     *
     * @mbg.generated
     */
    public ExeDefenderDetectParam setPageStart(int pageStart) {
        this.pageStart = pageStart < 1 ? 1 : pageStart;
        this.pageIndex = (this.pageStart - 1) * this.pageSize;
        return this;
    }

    /**
     * @return
     *
     * @mbg.generated
     */
    public int getPageStart() {
        return pageStart;
    }

    /**
     * @param pageStart
     * @param pageSize
     *
     * @mbg.generated
     */
    public void setPagination(int pageStart, int pageSize) {
        this.page = true;
        this.pageSize = pageSize < 1 ? 10 : pageSize;
        this.pageIndex = pageStart < 1 ? 0 : (pageStart - 1) * this.pageSize;
    }

    /**
     * @param condition
     * @return
     *
     * @mbg.generated
     */
    public ExeDefenderDetectParam appendDistinct(OrderCondition condition) {
        if (null != distinctSql){
            distinctSql = distinctSql + ", " + condition.getColumnName();
        } else {
            distinctSql = condition.getColumnName();
        }
        return this;
    }

    /**
     * @return
     *
     * @mbg.generated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * @param criteria
     *
     * @mbg.generated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * @return
     *
     * @mbg.generated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * @return
     *
     * @mbg.generated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * @return
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     *
     * @mbg.generated
     */
    protected abstract static class AbstractGeneratedCriteria {
        protected List<Criterion> criteria;

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

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

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

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

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

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

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

        public Criteria andDetectExeIdIsNull() {
            addCriterion("detect_exe_id is null");
            return (Criteria) this;
        }

        public Criteria andDetectExeIdIsNotNull() {
            addCriterion("detect_exe_id is not null");
            return (Criteria) this;
        }

        public Criteria andDetectExeIdEqualTo(String value) {
            addCriterion("detect_exe_id =", value, "detectExeId");
            return (Criteria) this;
        }

        public Criteria andDetectExeIdNotEqualTo(String value) {
            addCriterion("detect_exe_id <>", value, "detectExeId");
            return (Criteria) this;
        }

        public Criteria andDetectExeIdGreaterThan(String value) {
            addCriterion("detect_exe_id >", value, "detectExeId");
            return (Criteria) this;
        }

        public Criteria andDetectExeIdGreaterThanOrEqualTo(String value) {
            addCriterion("detect_exe_id >=", value, "detectExeId");
            return (Criteria) this;
        }

        public Criteria andDetectExeIdLessThan(String value) {
            addCriterion("detect_exe_id <", value, "detectExeId");
            return (Criteria) this;
        }

        public Criteria andDetectExeIdLessThanOrEqualTo(String value) {
            addCriterion("detect_exe_id <=", value, "detectExeId");
            return (Criteria) this;
        }

        public Criteria andDetectExeIdLike(String value) {
            addCriterion("detect_exe_id like", value, "detectExeId");
            return (Criteria) this;
        }

        public Criteria andDetectExeIdNotLike(String value) {
            addCriterion("detect_exe_id not like", value, "detectExeId");
            return (Criteria) this;
        }

        public Criteria andDetectExeIdIn(List<String> values) {
            addCriterion("detect_exe_id in", values, "detectExeId");
            return (Criteria) this;
        }

        public Criteria andDetectExeIdNotIn(List<String> values) {
            addCriterion("detect_exe_id not in", values, "detectExeId");
            return (Criteria) this;
        }

        public Criteria andDetectExeIdBetween(String value1, String value2) {
            addCriterion("detect_exe_id between", value1, value2, "detectExeId");
            return (Criteria) this;
        }

        public Criteria andDetectExeIdNotBetween(String value1, String value2) {
            addCriterion("detect_exe_id not between", value1, value2, "detectExeId");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(Date value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

        public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNull() {
            addCriterion("gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNotNull() {
            addCriterion("gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedEqualTo(Date value) {
            addCriterion("gmt_modified =", value, "gmtModified");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

        public Criteria andDetectGroupIdIsNull() {
            addCriterion("detect_group_id is null");
            return (Criteria) this;
        }

        public Criteria andDetectGroupIdIsNotNull() {
            addCriterion("detect_group_id is not null");
            return (Criteria) this;
        }

        public Criteria andDetectGroupIdEqualTo(String value) {
            addCriterion("detect_group_id =", value, "detectGroupId");
            return (Criteria) this;
        }

        public Criteria andDetectGroupIdNotEqualTo(String value) {
            addCriterion("detect_group_id <>", value, "detectGroupId");
            return (Criteria) this;
        }

        public Criteria andDetectGroupIdGreaterThan(String value) {
            addCriterion("detect_group_id >", value, "detectGroupId");
            return (Criteria) this;
        }

        public Criteria andDetectGroupIdGreaterThanOrEqualTo(String value) {
            addCriterion("detect_group_id >=", value, "detectGroupId");
            return (Criteria) this;
        }

        public Criteria andDetectGroupIdLessThan(String value) {
            addCriterion("detect_group_id <", value, "detectGroupId");
            return (Criteria) this;
        }

        public Criteria andDetectGroupIdLessThanOrEqualTo(String value) {
            addCriterion("detect_group_id <=", value, "detectGroupId");
            return (Criteria) this;
        }

        public Criteria andDetectGroupIdLike(String value) {
            addCriterion("detect_group_id like", value, "detectGroupId");
            return (Criteria) this;
        }

        public Criteria andDetectGroupIdNotLike(String value) {
            addCriterion("detect_group_id not like", value, "detectGroupId");
            return (Criteria) this;
        }

        public Criteria andDetectGroupIdIn(List<String> values) {
            addCriterion("detect_group_id in", values, "detectGroupId");
            return (Criteria) this;
        }

        public Criteria andDetectGroupIdNotIn(List<String> values) {
            addCriterion("detect_group_id not in", values, "detectGroupId");
            return (Criteria) this;
        }

        public Criteria andDetectGroupIdBetween(String value1, String value2) {
            addCriterion("detect_group_id between", value1, value2, "detectGroupId");
            return (Criteria) this;
        }

        public Criteria andDetectGroupIdNotBetween(String value1, String value2) {
            addCriterion("detect_group_id not between", value1, value2, "detectGroupId");
            return (Criteria) this;
        }

        public Criteria andChangeOrderIdIsNull() {
            addCriterion("change_order_id is null");
            return (Criteria) this;
        }

        public Criteria andChangeOrderIdIsNotNull() {
            addCriterion("change_order_id is not null");
            return (Criteria) this;
        }

        public Criteria andChangeOrderIdEqualTo(String value) {
            addCriterion("change_order_id =", value, "changeOrderId");
            return (Criteria) this;
        }

        public Criteria andChangeOrderIdNotEqualTo(String value) {
            addCriterion("change_order_id <>", value, "changeOrderId");
            return (Criteria) this;
        }

        public Criteria andChangeOrderIdGreaterThan(String value) {
            addCriterion("change_order_id >", value, "changeOrderId");
            return (Criteria) this;
        }

        public Criteria andChangeOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("change_order_id >=", value, "changeOrderId");
            return (Criteria) this;
        }

        public Criteria andChangeOrderIdLessThan(String value) {
            addCriterion("change_order_id <", value, "changeOrderId");
            return (Criteria) this;
        }

        public Criteria andChangeOrderIdLessThanOrEqualTo(String value) {
            addCriterion("change_order_id <=", value, "changeOrderId");
            return (Criteria) this;
        }

        public Criteria andChangeOrderIdLike(String value) {
            addCriterion("change_order_id like", value, "changeOrderId");
            return (Criteria) this;
        }

        public Criteria andChangeOrderIdNotLike(String value) {
            addCriterion("change_order_id not like", value, "changeOrderId");
            return (Criteria) this;
        }

        public Criteria andChangeOrderIdIn(List<String> values) {
            addCriterion("change_order_id in", values, "changeOrderId");
            return (Criteria) this;
        }

        public Criteria andChangeOrderIdNotIn(List<String> values) {
            addCriterion("change_order_id not in", values, "changeOrderId");
            return (Criteria) this;
        }

        public Criteria andChangeOrderIdBetween(String value1, String value2) {
            addCriterion("change_order_id between", value1, value2, "changeOrderId");
            return (Criteria) this;
        }

        public Criteria andChangeOrderIdNotBetween(String value1, String value2) {
            addCriterion("change_order_id not between", value1, value2, "changeOrderId");
            return (Criteria) this;
        }

        public Criteria andNodeIdIsNull() {
            addCriterion("node_id is null");
            return (Criteria) this;
        }

        public Criteria andNodeIdIsNotNull() {
            addCriterion("node_id is not null");
            return (Criteria) this;
        }

        public Criteria andNodeIdEqualTo(String value) {
            addCriterion("node_id =", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdNotEqualTo(String value) {
            addCriterion("node_id <>", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdGreaterThan(String value) {
            addCriterion("node_id >", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdGreaterThanOrEqualTo(String value) {
            addCriterion("node_id >=", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdLessThan(String value) {
            addCriterion("node_id <", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdLessThanOrEqualTo(String value) {
            addCriterion("node_id <=", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdLike(String value) {
            addCriterion("node_id like", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdNotLike(String value) {
            addCriterion("node_id not like", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdIn(List<String> values) {
            addCriterion("node_id in", values, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdNotIn(List<String> values) {
            addCriterion("node_id not in", values, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdBetween(String value1, String value2) {
            addCriterion("node_id between", value1, value2, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdNotBetween(String value1, String value2) {
            addCriterion("node_id not between", value1, value2, "nodeId");
            return (Criteria) this;
        }

        public Criteria andRuleIdIsNull() {
            addCriterion("rule_id is null");
            return (Criteria) this;
        }

        public Criteria andRuleIdIsNotNull() {
            addCriterion("rule_id is not null");
            return (Criteria) this;
        }

        public Criteria andRuleIdEqualTo(String value) {
            addCriterion("rule_id =", value, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdNotEqualTo(String value) {
            addCriterion("rule_id <>", value, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdGreaterThan(String value) {
            addCriterion("rule_id >", value, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdGreaterThanOrEqualTo(String value) {
            addCriterion("rule_id >=", value, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdLessThan(String value) {
            addCriterion("rule_id <", value, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdLessThanOrEqualTo(String value) {
            addCriterion("rule_id <=", value, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdLike(String value) {
            addCriterion("rule_id like", value, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdNotLike(String value) {
            addCriterion("rule_id not like", value, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdIn(List<String> values) {
            addCriterion("rule_id in", values, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdNotIn(List<String> values) {
            addCriterion("rule_id not in", values, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdBetween(String value1, String value2) {
            addCriterion("rule_id between", value1, value2, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdNotBetween(String value1, String value2) {
            addCriterion("rule_id not between", value1, value2, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleNameIsNull() {
            addCriterion("rule_name is null");
            return (Criteria) this;
        }

        public Criteria andRuleNameIsNotNull() {
            addCriterion("rule_name is not null");
            return (Criteria) this;
        }

        public Criteria andRuleNameEqualTo(String value) {
            addCriterion("rule_name =", value, "ruleName");
            return (Criteria) this;
        }

        public Criteria andRuleNameNotEqualTo(String value) {
            addCriterion("rule_name <>", value, "ruleName");
            return (Criteria) this;
        }

        public Criteria andRuleNameGreaterThan(String value) {
            addCriterion("rule_name >", value, "ruleName");
            return (Criteria) this;
        }

        public Criteria andRuleNameGreaterThanOrEqualTo(String value) {
            addCriterion("rule_name >=", value, "ruleName");
            return (Criteria) this;
        }

        public Criteria andRuleNameLessThan(String value) {
            addCriterion("rule_name <", value, "ruleName");
            return (Criteria) this;
        }

        public Criteria andRuleNameLessThanOrEqualTo(String value) {
            addCriterion("rule_name <=", value, "ruleName");
            return (Criteria) this;
        }

        public Criteria andRuleNameLike(String value) {
            addCriterion("rule_name like", value, "ruleName");
            return (Criteria) this;
        }

        public Criteria andRuleNameNotLike(String value) {
            addCriterion("rule_name not like", value, "ruleName");
            return (Criteria) this;
        }

        public Criteria andRuleNameIn(List<String> values) {
            addCriterion("rule_name in", values, "ruleName");
            return (Criteria) this;
        }

        public Criteria andRuleNameNotIn(List<String> values) {
            addCriterion("rule_name not in", values, "ruleName");
            return (Criteria) this;
        }

        public Criteria andRuleNameBetween(String value1, String value2) {
            addCriterion("rule_name between", value1, value2, "ruleName");
            return (Criteria) this;
        }

        public Criteria andRuleNameNotBetween(String value1, String value2) {
            addCriterion("rule_name not between", value1, value2, "ruleName");
            return (Criteria) this;
        }

        public Criteria andRuleOwnerIsNull() {
            addCriterion("rule_owner is null");
            return (Criteria) this;
        }

        public Criteria andRuleOwnerIsNotNull() {
            addCriterion("rule_owner is not null");
            return (Criteria) this;
        }

        public Criteria andRuleOwnerEqualTo(String value) {
            addCriterion("rule_owner =", value, "ruleOwner");
            return (Criteria) this;
        }

        public Criteria andRuleOwnerNotEqualTo(String value) {
            addCriterion("rule_owner <>", value, "ruleOwner");
            return (Criteria) this;
        }

        public Criteria andRuleOwnerGreaterThan(String value) {
            addCriterion("rule_owner >", value, "ruleOwner");
            return (Criteria) this;
        }

        public Criteria andRuleOwnerGreaterThanOrEqualTo(String value) {
            addCriterion("rule_owner >=", value, "ruleOwner");
            return (Criteria) this;
        }

        public Criteria andRuleOwnerLessThan(String value) {
            addCriterion("rule_owner <", value, "ruleOwner");
            return (Criteria) this;
        }

        public Criteria andRuleOwnerLessThanOrEqualTo(String value) {
            addCriterion("rule_owner <=", value, "ruleOwner");
            return (Criteria) this;
        }

        public Criteria andRuleOwnerLike(String value) {
            addCriterion("rule_owner like", value, "ruleOwner");
            return (Criteria) this;
        }

        public Criteria andRuleOwnerNotLike(String value) {
            addCriterion("rule_owner not like", value, "ruleOwner");
            return (Criteria) this;
        }

        public Criteria andRuleOwnerIn(List<String> values) {
            addCriterion("rule_owner in", values, "ruleOwner");
            return (Criteria) this;
        }

        public Criteria andRuleOwnerNotIn(List<String> values) {
            addCriterion("rule_owner not in", values, "ruleOwner");
            return (Criteria) this;
        }

        public Criteria andRuleOwnerBetween(String value1, String value2) {
            addCriterion("rule_owner between", value1, value2, "ruleOwner");
            return (Criteria) this;
        }

        public Criteria andRuleOwnerNotBetween(String value1, String value2) {
            addCriterion("rule_owner not between", value1, value2, "ruleOwner");
            return (Criteria) this;
        }

        public Criteria andPluginKeyIsNull() {
            addCriterion("plugin_key is null");
            return (Criteria) this;
        }

        public Criteria andPluginKeyIsNotNull() {
            addCriterion("plugin_key is not null");
            return (Criteria) this;
        }

        public Criteria andPluginKeyEqualTo(String value) {
            addCriterion("plugin_key =", value, "pluginKey");
            return (Criteria) this;
        }

        public Criteria andPluginKeyNotEqualTo(String value) {
            addCriterion("plugin_key <>", value, "pluginKey");
            return (Criteria) this;
        }

        public Criteria andPluginKeyGreaterThan(String value) {
            addCriterion("plugin_key >", value, "pluginKey");
            return (Criteria) this;
        }

        public Criteria andPluginKeyGreaterThanOrEqualTo(String value) {
            addCriterion("plugin_key >=", value, "pluginKey");
            return (Criteria) this;
        }

        public Criteria andPluginKeyLessThan(String value) {
            addCriterion("plugin_key <", value, "pluginKey");
            return (Criteria) this;
        }

        public Criteria andPluginKeyLessThanOrEqualTo(String value) {
            addCriterion("plugin_key <=", value, "pluginKey");
            return (Criteria) this;
        }

        public Criteria andPluginKeyLike(String value) {
            addCriterion("plugin_key like", value, "pluginKey");
            return (Criteria) this;
        }

        public Criteria andPluginKeyNotLike(String value) {
            addCriterion("plugin_key not like", value, "pluginKey");
            return (Criteria) this;
        }

        public Criteria andPluginKeyIn(List<String> values) {
            addCriterion("plugin_key in", values, "pluginKey");
            return (Criteria) this;
        }

        public Criteria andPluginKeyNotIn(List<String> values) {
            addCriterion("plugin_key not in", values, "pluginKey");
            return (Criteria) this;
        }

        public Criteria andPluginKeyBetween(String value1, String value2) {
            addCriterion("plugin_key between", value1, value2, "pluginKey");
            return (Criteria) this;
        }

        public Criteria andPluginKeyNotBetween(String value1, String value2) {
            addCriterion("plugin_key not between", value1, value2, "pluginKey");
            return (Criteria) this;
        }

        public Criteria andMainClassIsNull() {
            addCriterion("main_class is null");
            return (Criteria) this;
        }

        public Criteria andMainClassIsNotNull() {
            addCriterion("main_class is not null");
            return (Criteria) this;
        }

        public Criteria andMainClassEqualTo(String value) {
            addCriterion("main_class =", value, "mainClass");
            return (Criteria) this;
        }

        public Criteria andMainClassNotEqualTo(String value) {
            addCriterion("main_class <>", value, "mainClass");
            return (Criteria) this;
        }

        public Criteria andMainClassGreaterThan(String value) {
            addCriterion("main_class >", value, "mainClass");
            return (Criteria) this;
        }

        public Criteria andMainClassGreaterThanOrEqualTo(String value) {
            addCriterion("main_class >=", value, "mainClass");
            return (Criteria) this;
        }

        public Criteria andMainClassLessThan(String value) {
            addCriterion("main_class <", value, "mainClass");
            return (Criteria) this;
        }

