package com.my.blog.website.modal.Vo; import java.util.ArrayList; import java.util.List; public class CommentVoExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private Integer limit; private Integer offset; public CommentVoExample() { 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; } public void setLimit(Integer limit) { this.limit = limit; } public Integer getLimit() { return limit; } public void setOffset(Integer offset) { this.offset = offset; } public Integer getOffset() { return offset; } 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 andCoidIsNull() { addCriterion("coid is null"); return (Criteria) this; } public Criteria andCoidIsNotNull() { addCriterion("coid is not null"); return (Criteria) this; } public Criteria andCoidEqualTo(Integer value) { addCriterion("coid =", value, "coid"); return (Criteria) this; } public Criteria andCoidNotEqualTo(Integer value) { addCriterion("coid <>", value, "coid"); return (Criteria) this; } public Criteria andCoidGreaterThan(Integer value) { addCriterion("coid >", value, "coid"); return (Criteria) this; } public Criteria andCoidGreaterThanOrEqualTo(Integer value) { addCriterion("coid >=", value, "coid"); return (Criteria) this; } public Criteria andCoidLessThan(Integer value) { addCriterion("coid <", value, "coid"); return (Criteria) this; } public Criteria andCoidLessThanOrEqualTo(Integer value) { addCriterion("coid <=", value, "coid"); return (Criteria) this; } public Criteria andCoidIn(List<Integer> values) { addCriterion("coid in", values, "coid"); return (Criteria) this; } public Criteria andCoidNotIn(List<Integer> values) { addCriterion("coid not in", values, "coid"); return (Criteria) this; } public Criteria andCoidBetween(Integer value1, Integer value2) { addCriterion("coid between", value1, value2, "coid"); return (Criteria) this; } public Criteria andCoidNotBetween(Integer value1, Integer value2) { addCriterion("coid not between", value1, value2, "coid"); return (Criteria) this; } public Criteria andCidIsNull() { addCriterion("cid is null"); return (Criteria) this; } public Criteria andCidIsNotNull() { addCriterion("cid is not null"); return (Criteria) this; } public Criteria andCidEqualTo(Integer value) { addCriterion("cid =", value, "cid"); return (Criteria) this; } public Criteria andCidNotEqualTo(Integer value) { addCriterion("cid <>", value, "cid"); return (Criteria) this; } public Criteria andCidGreaterThan(Integer value) { addCriterion("cid >", value, "cid"); return (Criteria) this; } public Criteria andCidGreaterThanOrEqualTo(Integer value) { addCriterion("cid >=", value, "cid"); return (Criteria) this; } public Criteria andCidLessThan(Integer value) { addCriterion("cid <", value, "cid"); return (Criteria) this; } public Criteria andCidLessThanOrEqualTo(Integer value) { addCriterion("cid <=", value, "cid"); return (Criteria) this; } public Criteria andCidIn(List<Integer> values) { addCriterion("cid in", values, "cid"); return (Criteria) this; } public Criteria andCidNotIn(List<Integer> values) { addCriterion("cid not in", values, "cid"); return (Criteria) this; } public Criteria andCidBetween(Integer value1, Integer value2) { addCriterion("cid between", value1, value2, "cid"); return (Criteria) this; } public Criteria andCidNotBetween(Integer value1, Integer value2) { addCriterion("cid not between", value1, value2, "cid"); return (Criteria) this; } public Criteria andCreatedIsNull() { addCriterion("created is null"); return (Criteria) this; } public Criteria andCreatedIsNotNull() { addCriterion("created is not null"); return (Criteria) this; } public Criteria andCreatedEqualTo(Integer value) { addCriterion("created =", value, "created"); return (Criteria) this; } public Criteria andCreatedNotEqualTo(Integer value) { addCriterion("created <>", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThan(Integer value) { addCriterion("created >", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThanOrEqualTo(Integer value) { addCriterion("created >=", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThan(Integer value) { addCriterion("created <", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThanOrEqualTo(Integer value) { addCriterion("created <=", value, "created"); return (Criteria) this; } public Criteria andCreatedIn(List<Integer> values) { addCriterion("created in", values, "created"); return (Criteria) this; } public Criteria andCreatedNotIn(List<Integer> values) { addCriterion("created not in", values, "created"); return (Criteria) this; } public Criteria andCreatedBetween(Integer value1, Integer value2) { addCriterion("created between", value1, value2, "created"); return (Criteria) this; } public Criteria andCreatedNotBetween(Integer value1, Integer value2) { addCriterion("created not between", value1, value2, "created"); return (Criteria) this; } public Criteria andAuthorIsNull() { addCriterion("author is null"); return (Criteria) this; } public Criteria andAuthorIsNotNull() { addCriterion("author is not null"); return (Criteria) this; } public Criteria andAuthorEqualTo(String value) { addCriterion("author =", value, "author"); return (Criteria) this; } public Criteria andAuthorNotEqualTo(String value) { addCriterion("author <>", value, "author"); return (Criteria) this; } public Criteria andAuthorGreaterThan(String value) { addCriterion("author >", value, "author"); return (Criteria) this; } public Criteria andAuthorGreaterThanOrEqualTo(String value) { addCriterion("author >=", value, "author"); return (Criteria) this; } public Criteria andAuthorLessThan(String value) { addCriterion("author <", value, "author"); return (Criteria) this; } public Criteria andAuthorLessThanOrEqualTo(String value) { addCriterion("author <=", value, "author"); return (Criteria) this; } public Criteria andAuthorLike(String value) { addCriterion("author like", value, "author"); return (Criteria) this; } public Criteria andAuthorNotLike(String value) { addCriterion("author not like", value, "author"); return (Criteria) this; } public Criteria andAuthorIn(List<String> values) { addCriterion("author in", values, "author"); return (Criteria) this; } public Criteria andAuthorNotIn(List<String> values) { addCriterion("author not in", values, "author"); return (Criteria) this; } public Criteria andAuthorBetween(String value1, String value2) { addCriterion("author between", value1, value2, "author"); return (Criteria) this; } public Criteria andAuthorNotBetween(String value1, String value2) { addCriterion("author not between", value1, value2, "author"); return (Criteria) this; } public Criteria andAuthorIdIsNull() { addCriterion("author_id is null"); return (Criteria) this; } public Criteria andAuthorIdIsNotNull() { addCriterion("author_id is not null"); return (Criteria) this; } public Criteria andAuthorIdEqualTo(Integer value) { addCriterion("author_id =", value, "authorId"); return (Criteria) this; } public Criteria andAuthorIdNotEqualTo(Integer value) { addCriterion("author_id <>", value, "authorId"); return (Criteria) this; } public Criteria andAuthorIdGreaterThan(Integer value) { addCriterion("author_id >", value, "authorId"); return (Criteria) this; } public Criteria andAuthorIdGreaterThanOrEqualTo(Integer value) { addCriterion("author_id >=", value, "authorId"); return (Criteria) this; } public Criteria andAuthorIdLessThan(Integer value) { addCriterion("author_id <", value, "authorId"); return (Criteria) this; } public Criteria andAuthorIdLessThanOrEqualTo(Integer value) { addCriterion("author_id <=", value, "authorId"); return (Criteria) this; } public Criteria andAuthorIdIn(List<Integer> values) { addCriterion("author_id in", values, "authorId"); return (Criteria) this; } public Criteria andAuthorIdNotIn(List<Integer> values) { addCriterion("author_id not in", values, "authorId"); return (Criteria) this; } public Criteria andAuthorIdBetween(Integer value1, Integer value2) { addCriterion("author_id between", value1, value2, "authorId"); return (Criteria) this; } public Criteria andAuthorIdNotBetween(Integer value1, Integer value2) { addCriterion("author_id not between", value1, value2, "authorId"); return (Criteria) this; } public Criteria andOwnerIdIsNull() { addCriterion("owner_id is null"); return (Criteria) this; } public Criteria andOwnerIdIsNotNull() { addCriterion("owner_id is not null"); return (Criteria) this; } public Criteria andOwnerIdEqualTo(Integer value) { addCriterion("owner_id =", value, "ownerId"); return (Criteria) this; } public Criteria andOwnerIdNotEqualTo(Integer value) { addCriterion("owner_id <>", value, "ownerId"); return (Criteria) this; } public Criteria andOwnerIdGreaterThan(Integer value) { addCriterion("owner_id >", value, "ownerId"); return (Criteria) this; } public Criteria andOwnerIdGreaterThanOrEqualTo(Integer value) { addCriterion("owner_id >=", value, "ownerId"); return (Criteria) this; } public Criteria andOwnerIdLessThan(Integer value) { addCriterion("owner_id <", value, "ownerId"); return (Criteria) this; } public Criteria andOwnerIdLessThanOrEqualTo(Integer value) { addCriterion("owner_id <=", value, "ownerId"); return (Criteria) this; } public Criteria andOwnerIdIn(List<Integer> values) { addCriterion("owner_id in", values, "ownerId"); return (Criteria) this; } public Criteria andOwnerIdNotIn(List<Integer> values) { addCriterion("owner_id not in", values, "ownerId"); return (Criteria) this; } public Criteria andOwnerIdBetween(Integer value1, Integer value2) { addCriterion("owner_id between", value1, value2, "ownerId"); return (Criteria) this; } public Criteria andOwnerIdNotBetween(Integer value1, Integer value2) { addCriterion("owner_id not between", value1, value2, "ownerId"); return (Criteria) this; } public Criteria andMailIsNull() { addCriterion("mail is null"); return (Criteria) this; } public Criteria andMailIsNotNull() { addCriterion("mail is not null"); return (Criteria) this; } public Criteria andMailEqualTo(String value) { addCriterion("mail =", value, "mail"); return (Criteria) this; } public Criteria andMailNotEqualTo(String value) { addCriterion("mail <>", value, "mail"); return (Criteria) this; } public Criteria andMailGreaterThan(String value) { addCriterion("mail >", value, "mail"); return (Criteria) this; } public Criteria andMailGreaterThanOrEqualTo(String value) { addCriterion("mail >=", value, "mail"); return (Criteria) this; } public Criteria andMailLessThan(String value) { addCriterion("mail <", value, "mail"); return (Criteria) this; } public Criteria andMailLessThanOrEqualTo(String value) { addCriterion("mail <=", value, "mail"); return (Criteria) this; } public Criteria andMailLike(String value) { addCriterion("mail like", value, "mail"); return (Criteria) this; } public Criteria andMailNotLike(String value) { addCriterion("mail not like", value, "mail"); return (Criteria) this; } public Criteria andMailIn(List<String> values) { addCriterion("mail in", values, "mail"); return (Criteria) this; } public Criteria andMailNotIn(List<String> values) { addCriterion("mail not in", values, "mail"); return (Criteria) this; } public Criteria andMailBetween(String value1, String value2) { addCriterion("mail between", value1, value2, "mail"); return (Criteria) this; } public Criteria andMailNotBetween(String value1, String value2) { addCriterion("mail not between", value1, value2, "mail"); return (Criteria) this; } public Criteria andUrlIsNull() { addCriterion("url is null"); return (Criteria) this; } public Criteria andUrlIsNotNull() { addCriterion("url is not null"); return (Criteria) this; } public Criteria andUrlEqualTo(String value) { addCriterion("url =", value, "url"); return (Criteria) this; } public Criteria andUrlNotEqualTo(String value) { addCriterion("url <>", value, "url"); return (Criteria) this; } public Criteria andUrlGreaterThan(String value) { addCriterion("url >", value, "url"); return (Criteria) this; } public Criteria andUrlGreaterThanOrEqualTo(String value) { addCriterion("url >=", value, "url"); return (Criteria) this; } public Criteria andUrlLessThan(String value) { addCriterion("url <", value, "url"); return (Criteria) this; } public Criteria andUrlLessThanOrEqualTo(String value) { addCriterion("url <=", value, "url"); return (Criteria) this; } public Criteria andUrlLike(String value) { addCriterion("url like", value, "url"); return (Criteria) this; } public Criteria andUrlNotLike(String value) { addCriterion("url not like", value, "url"); return (Criteria) this; } public Criteria andUrlIn(List<String> values) { addCriterion("url in", values, "url"); return (Criteria) this; } public Criteria andUrlNotIn(List<String> values) { addCriterion("url not in", values, "url"); return (Criteria) this; } public Criteria andUrlBetween(String value1, String value2) { addCriterion("url between", value1, value2, "url"); return (Criteria) this; } public Criteria andUrlNotBetween(String value1, String value2) { addCriterion("url not between", value1, value2, "url"); return (Criteria) this; } public Criteria andIpIsNull() { addCriterion("ip is null"); return (Criteria) this; } public Criteria andIpIsNotNull() { addCriterion("ip is not null"); return (Criteria) this; } public Criteria andIpEqualTo(String value) { addCriterion("ip =", value, "ip"); return (Criteria) this; } public Criteria andIpNotEqualTo(String value) { addCriterion("ip <>", value, "ip"); return (Criteria) this; } public Criteria andIpGreaterThan(String value) { addCriterion("ip >", value, "ip"); return (Criteria) this; } public Criteria andIpGreaterThanOrEqualTo(String value) { addCriterion("ip >=", value, "ip"); return (Criteria) this; } public Criteria andIpLessThan(String value) { addCriterion("ip <", value, "ip"); return (Criteria) this; } public Criteria andIpLessThanOrEqualTo(String value) { addCriterion("ip <=", value, "ip"); return (Criteria) this; } public Criteria andIpLike(String value) { addCriterion("ip like", value, "ip"); return (Criteria) this; } public Criteria andIpNotLike(String value) { addCriterion("ip not like", value, "ip"); return (Criteria) this; } public Criteria andIpIn(List<String> values) { addCriterion("ip in", values, "ip"); return (Criteria) this; } public Criteria andIpNotIn(List<String> values) { addCriterion("ip not in", values, "ip"); return (Criteria) this; } public Criteria andIpBetween(String value1, String value2) { addCriterion("ip between", value1, value2, "ip"); return (Criteria) this; } public Criteria andIpNotBetween(String value1, String value2) { addCriterion("ip not between", value1, value2, "ip"); return (Criteria) this; } public Criteria andAgentIsNull() { addCriterion("agent is null"); return (Criteria) this; } public Criteria andAgentIsNotNull() { addCriterion("agent is not null"); return (Criteria) this; } public Criteria andAgentEqualTo(String value) { addCriterion("agent =", value, "agent"); return (Criteria) this; } public Criteria andAgentNotEqualTo(String value) { addCriterion("agent <>", value, "agent"); return (Criteria) this; } public Criteria andAgentGreaterThan(String value) { addCriterion("agent >", value, "agent"); return (Criteria) this; } public Criteria andAgentGreaterThanOrEqualTo(String value) { addCriterion("agent >=", value, "agent"); return (Criteria) this; } public Criteria andAgentLessThan(String value) { addCriterion("agent <", value, "agent"); return (Criteria) this; } public Criteria andAgentLessThanOrEqualTo(String value) { addCriterion("agent <=", value, "agent"); return (Criteria) this; } public Criteria andAgentLike(String value) { addCriterion("agent like", value, "agent"); return (Criteria) this; } public Criteria andAgentNotLike(String value) { addCriterion("agent not like", value, "agent"); return (Criteria) this; } public Criteria andAgentIn(List<String> values) { addCriterion("agent in", values, "agent"); return (Criteria) this; } public Criteria andAgentNotIn(List<String> values) { addCriterion("agent not in", values, "agent"); return (Criteria) this; } public Criteria andAgentBetween(String value1, String value2) { addCriterion("agent between", value1, value2, "agent"); return (Criteria) this; } public Criteria andAgentNotBetween(String value1, String value2) { addCriterion("agent not between", value1, value2, "agent"); return (Criteria) this; } public Criteria andTypeIsNull() { addCriterion("type is null"); return (Criteria) this; } public Criteria andTypeIsNotNull() { addCriterion("type is not null"); return (Criteria) this; } public Criteria andTypeEqualTo(String value) { addCriterion("type =", value, "type"); return (Criteria) this; } public Criteria andTypeNotEqualTo(String value) { addCriterion("type <>", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThan(String value) { addCriterion("type >", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThanOrEqualTo(String value) { addCriterion("type >=", value, "type"); return (Criteria) this; } public Criteria andTypeLessThan(String value) { addCriterion("type <", value, "type"); return (Criteria) this; } public Criteria andTypeLessThanOrEqualTo(String value) { addCriterion("type <=", value, "type"); return (Criteria) this; } public Criteria andTypeLike(String value) { addCriterion("type like", value, "type"); return (Criteria) this; } public Criteria andTypeNotLike(String value) { addCriterion("type not like", value, "type"); return (Criteria) this; } public Criteria andTypeIn(List<String> values) { addCriterion("type in", values, "type"); return (Criteria) this; } public Criteria andTypeNotIn(List<String> values) { addCriterion("type not in", values, "type"); return (Criteria) this; } public Criteria andTypeBetween(String value1, String value2) { addCriterion("type between", value1, value2, "type"); return (Criteria) this; } public Criteria andTypeNotBetween(String value1, String value2) { addCriterion("type not between", value1, value2, "type"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(String value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(String value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(String value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(String value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(String value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(String value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusLike(String value) { addCriterion("status like", value, "status"); return (Criteria) this; } public Criteria andStatusNotLike(String value) { addCriterion("status not like", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List<String> values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List<String> values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(String value1, String value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(String value1, String value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andParentIsNull() { addCriterion("parent is null"); return (Criteria) this; } public Criteria andParentIsNotNull() { addCriterion("parent is not null"); return (Criteria) this; } public Criteria andParentEqualTo(Integer value) { addCriterion("parent =", value, "parent"); return (Criteria) this; } public Criteria andParentNotEqualTo(Integer value) { addCriterion("parent <>", value, "parent"); return (Criteria) this; } public Criteria andParentGreaterThan(Integer value) { addCriterion("parent >", value, "parent"); return (Criteria) this; } public Criteria andParentGreaterThanOrEqualTo(Integer value) { addCriterion("parent >=", value, "parent"); return (Criteria) this; } public Criteria andParentLessThan(Integer value) { addCriterion("parent <", value, "parent"); return (Criteria) this; } public Criteria andParentLessThanOrEqualTo(Integer value) { addCriterion("parent <=", value, "parent"); return (Criteria) this; } public Criteria andParentIn(List<Integer> values) { addCriterion("parent in", values, "parent"); return (Criteria) this; } public Criteria andParentNotIn(List<Integer> values) { addCriterion("parent not in", values, "parent"); return (Criteria) this; } public Criteria andParentBetween(Integer value1, Integer value2) { addCriterion("parent between", value1, value2, "parent"); return (Criteria) this; } public Criteria andParentNotBetween(Integer value1, Integer value2) { addCriterion("parent not between", value1, value2, "parent"); 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); } } }