首页>代码>spring boot整合ES+mysql5.7+mybatis+iview个人博客系统>/aqian-blogs/boot-gbq-dao/src/main/java/com/gbq/boot/dao/bean/ArticleExample.java
package com.gbq.boot.dao.bean;

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

public class ArticleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ArticleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    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;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andArticleNameIsNull() {
            addCriterion("articleName is null");
            return (Criteria) this;
        }

        public Criteria andArticleNameIsNotNull() {
            addCriterion("articleName is not null");
            return (Criteria) this;
        }

        public Criteria andArticleNameEqualTo(String value) {
            addCriterion("articleName =", value, "articleName");
            return (Criteria) this;
        }

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

        public Criteria andArticleNameGreaterThan(String value) {
            addCriterion("articleName >", value, "articleName");
            return (Criteria) this;
        }

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

        public Criteria andArticleNameLessThan(String value) {
            addCriterion("articleName <", value, "articleName");
            return (Criteria) this;
        }

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

        public Criteria andArticleNameLike(String value) {
            addCriterion("articleName like", value, "articleName");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andArticleHeadPicIsNull() {
            addCriterion("articleHeadPic is null");
            return (Criteria) this;
        }

        public Criteria andArticleHeadPicIsNotNull() {
            addCriterion("articleHeadPic is not null");
            return (Criteria) this;
        }

        public Criteria andArticleHeadPicEqualTo(String value) {
            addCriterion("articleHeadPic =", value, "articleHeadPic");
            return (Criteria) this;
        }

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

        public Criteria andArticleHeadPicGreaterThan(String value) {
            addCriterion("articleHeadPic >", value, "articleHeadPic");
            return (Criteria) this;
        }

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

        public Criteria andArticleHeadPicLessThan(String value) {
            addCriterion("articleHeadPic <", value, "articleHeadPic");
            return (Criteria) this;
        }

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

        public Criteria andArticleHeadPicLike(String value) {
            addCriterion("articleHeadPic like", value, "articleHeadPic");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andArticleTagIsNull() {
            addCriterion("articleTag is null");
            return (Criteria) this;
        }

        public Criteria andArticleTagIsNotNull() {
            addCriterion("articleTag is not null");
            return (Criteria) this;
        }

        public Criteria andArticleTagEqualTo(String value) {
            addCriterion("articleTag =", value, "articleTag");
            return (Criteria) this;
        }

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

        public Criteria andArticleTagGreaterThan(String value) {
            addCriterion("articleTag >", value, "articleTag");
            return (Criteria) this;
        }

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

        public Criteria andArticleTagLessThan(String value) {
            addCriterion("articleTag <", value, "articleTag");
            return (Criteria) this;
        }

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

        public Criteria andArticleTagLike(String value) {
            addCriterion("articleTag like", value, "articleTag");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andArticleRemarkIsNull() {
            addCriterion("articleRemark is null");
            return (Criteria) this;
        }

        public Criteria andArticleRemarkIsNotNull() {
            addCriterion("articleRemark is not null");
            return (Criteria) this;
        }

        public Criteria andArticleRemarkEqualTo(String value) {
            addCriterion("articleRemark =", value, "articleRemark");
            return (Criteria) this;
        }

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

        public Criteria andArticleRemarkGreaterThan(String value) {
            addCriterion("articleRemark >", value, "articleRemark");
            return (Criteria) this;
        }

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

        public Criteria andArticleRemarkLessThan(String value) {
            addCriterion("articleRemark <", value, "articleRemark");
            return (Criteria) this;
        }

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

        public Criteria andArticleRemarkLike(String value) {
            addCriterion("articleRemark like", value, "articleRemark");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andArticleReadCountIsNull() {
            addCriterion("articleReadCount is null");
            return (Criteria) this;
        }

        public Criteria andArticleReadCountIsNotNull() {
            addCriterion("articleReadCount is not null");
            return (Criteria) this;
        }

        public Criteria andArticleReadCountEqualTo(Integer value) {
            addCriterion("articleReadCount =", value, "articleReadCount");
            return (Criteria) this;
        }

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

        public Criteria andArticleReadCountGreaterThan(Integer value) {
            addCriterion("articleReadCount >", value, "articleReadCount");
            return (Criteria) this;
        }

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

        public Criteria andArticleReadCountLessThan(Integer value) {
            addCriterion("articleReadCount <", value, "articleReadCount");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andManagerIdIsNull() {
            addCriterion("managerId is null");
            return (Criteria) this;
        }

        public Criteria andManagerIdIsNotNull() {
            addCriterion("managerId is not null");
            return (Criteria) this;
        }

        public Criteria andManagerIdEqualTo(Integer value) {
            addCriterion("managerId =", value, "managerId");
            return (Criteria) this;
        }

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

        public Criteria andManagerIdGreaterThan(Integer value) {
            addCriterion("managerId >", value, "managerId");
            return (Criteria) this;
        }

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

        public Criteria andManagerIdLessThan(Integer value) {
            addCriterion("managerId <", value, "managerId");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andArticleStateIsNull() {
            addCriterion("articleState is null");
            return (Criteria) this;
        }

        public Criteria andArticleStateIsNotNull() {
            addCriterion("articleState is not null");
            return (Criteria) this;
        }

        public Criteria andArticleStateEqualTo(Integer value) {
            addCriterion("articleState =", value, "articleState");
            return (Criteria) this;
        }

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

        public Criteria andArticleStateGreaterThan(Integer value) {
            addCriterion("articleState >", value, "articleState");
            return (Criteria) this;
        }

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

        public Criteria andArticleStateLessThan(Integer value) {
            addCriterion("articleState <", value, "articleState");
            return (Criteria) this;
        }

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

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

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

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

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

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    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);
        }
    }
}
最近下载更多
tangyongheng08  LV6 2023年12月26日
fy6666  LV15 2023年2月19日
zxc131313  LV12 2022年12月9日
轩辕暗神  LV2 2022年4月6日
ToYoung  LV2 2022年1月6日
asfdfdsg  LV5 2021年6月14日
280286951  LV17 2021年5月10日
wuwutu  LV7 2021年1月8日
zhangtiancheng  LV10 2021年1月6日
人间蒸发  LV23 2020年8月14日
最近浏览更多
krispeng  LV13 11月20日
栾庆浩 10月23日
暂无贡献等级
TY0165  LV20 6月24日
fengst 6月18日
暂无贡献等级
chenranr  LV10 6月15日
Boss绝  LV9 6月3日
48862207  LV3 5月29日
Gin19960217  LV4 4月1日
yxzzxy  LV3 2月18日
pangzhihui  LV14 2月15日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友