package com.mzl.flower.entity.film;
|
|
import java.time.LocalDateTime;
|
import java.util.ArrayList;
|
import java.util.List;
|
|
public class CommentPoExample {
|
protected String orderByClause;
|
|
protected boolean distinct;
|
|
protected List<Criteria> oredCriteria;
|
|
/**
|
* CommentPoExample
|
*
|
* @return
|
*/
|
public CommentPoExample() {
|
oredCriteria = new ArrayList<Criteria>();
|
}
|
|
/**
|
* setOrderByClause
|
*
|
* @param orderByClause
|
* @return
|
*/
|
public void setOrderByClause(String orderByClause) {
|
this.orderByClause = orderByClause;
|
}
|
|
/**
|
* getOrderByClause
|
*
|
* @return
|
*/
|
public String getOrderByClause() {
|
return orderByClause;
|
}
|
|
/**
|
* setDistinct
|
*
|
* @param distinct
|
* @return
|
*/
|
public void setDistinct(boolean distinct) {
|
this.distinct = distinct;
|
}
|
|
/**
|
* isDistinct
|
*
|
* @return
|
*/
|
public boolean isDistinct() {
|
return distinct;
|
}
|
|
/**
|
* getOredCriteria
|
*
|
* @return
|
*/
|
public List<Criteria> getOredCriteria() {
|
return oredCriteria;
|
}
|
|
/**
|
* or
|
*
|
* @param criteria
|
* @return
|
*/
|
public void or(Criteria criteria) {
|
oredCriteria.add(criteria);
|
}
|
|
/**
|
* or
|
*
|
* @return
|
*/
|
public Criteria or() {
|
Criteria criteria = createCriteriaInternal();
|
oredCriteria.add(criteria);
|
return criteria;
|
}
|
|
/**
|
* createCriteria
|
*
|
* @return
|
*/
|
public Criteria createCriteria() {
|
Criteria criteria = createCriteriaInternal();
|
if (oredCriteria.size() == 0) {
|
oredCriteria.add(criteria);
|
}
|
return criteria;
|
}
|
|
/**
|
* createCriteriaInternal
|
*
|
* @return
|
*/
|
protected Criteria createCriteriaInternal() {
|
Criteria criteria = new Criteria();
|
return criteria;
|
}
|
|
/**
|
* clear
|
*
|
* @return
|
*/
|
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 andPreIdIsNull() {
|
addCriterion("parent_id is null");
|
return (Criteria) this;
|
}
|
|
public Criteria andPreIdIsNotNull() {
|
addCriterion("parent_id is not null");
|
return (Criteria) this;
|
}
|
|
public Criteria andPreIdEqualTo(Integer value) {
|
addCriterion("parent_id =", value, "parentId");
|
return (Criteria) this;
|
}
|
|
public Criteria andPreIdNotEqualTo(Integer value) {
|
addCriterion("parent_id <>", value, "parentId");
|
return (Criteria) this;
|
}
|
|
public Criteria andPreIdGreaterThan(Integer value) {
|
addCriterion("parent_id >", value, "parentId");
|
return (Criteria) this;
|
}
|
|
public Criteria andPreIdGreaterThanOrEqualTo(Integer value) {
|
addCriterion("parent_id >=", value, "parentId");
|
return (Criteria) this;
|
}
|
|
public Criteria andPreIdLessThan(Integer value) {
|
addCriterion("parent_id <", value, "parentId");
|
return (Criteria) this;
|
}
|
|
public Criteria andPreIdLessThanOrEqualTo(Integer value) {
|
addCriterion("parent_id <=", value, "parentId");
|
return (Criteria) this;
|
}
|
|
public Criteria andPreIdIn(List<Integer> values) {
|
addCriterion("parent_id in", values, "parentId");
|
return (Criteria) this;
|
}
|
|
public Criteria andPreIdNotIn(List<Integer> values) {
|
addCriterion("parent_id not in", values, "parentId");
|
return (Criteria) this;
|
}
|
|
public Criteria andPreIdBetween(Integer value1, Integer value2) {
|
addCriterion("parent_id between", value1, value2, "parentId");
|
return (Criteria) this;
|
}
|
|
public Criteria andPreIdNotBetween(Integer value1, Integer value2) {
|
addCriterion("parent_id not between", value1, value2, "parentId");
|
return (Criteria) this;
|
}
|
|
public Criteria andContentIsNull() {
|
addCriterion("content is null");
|
return (Criteria) this;
|
}
|
|
public Criteria andContentIsNotNull() {
|
addCriterion("content is not null");
|
return (Criteria) this;
|
}
|
|
public Criteria andContentEqualTo(String value) {
|
addCriterion("content =", value, "content");
|
return (Criteria) this;
|
}
|
|
public Criteria andContentNotEqualTo(String value) {
|
addCriterion("content <>", value, "content");
|
return (Criteria) this;
|
}
|
|
public Criteria andContentGreaterThan(String value) {
|
addCriterion("content >", value, "content");
|
return (Criteria) this;
|
}
|
|
public Criteria andContentGreaterThanOrEqualTo(String value) {
|
addCriterion("content >=", value, "content");
|
return (Criteria) this;
|
}
|
|
public Criteria andContentLessThan(String value) {
|
addCriterion("content <", value, "content");
|
return (Criteria) this;
|
}
|
|
public Criteria andContentLessThanOrEqualTo(String value) {
|
addCriterion("content <=", value, "content");
|
return (Criteria) this;
|
}
|
|
public Criteria andContentLike(String value) {
|
addCriterion("content like", value, "content");
|
return (Criteria) this;
|
}
|
|
public Criteria andContentNotLike(String value) {
|
addCriterion("content not like", value, "content");
|
return (Criteria) this;
|
}
|
|
public Criteria andContentIn(List<String> values) {
|
addCriterion("content in", values, "content");
|
return (Criteria) this;
|
}
|
|
public Criteria andContentNotIn(List<String> values) {
|
addCriterion("content not in", values, "content");
|
return (Criteria) this;
|
}
|
|
public Criteria andContentBetween(String value1, String value2) {
|
addCriterion("content between", value1, value2, "content");
|
return (Criteria) this;
|
}
|
|
public Criteria andContentNotBetween(String value1, String value2) {
|
addCriterion("content not between", value1, value2, "content");
|
return (Criteria) this;
|
}
|
|
public Criteria andArticleIdIsNull() {
|
addCriterion("film_id is null");
|
return (Criteria) this;
|
}
|
|
public Criteria andArticleIdIsNotNull() {
|
addCriterion("film_id is not null");
|
return (Criteria) this;
|
}
|
|
public Criteria andArticleIdEqualTo(Integer value) {
|
addCriterion("film_id =", value, "filmId");
|
return (Criteria) this;
|
}
|
|
public Criteria andArticleIdNotEqualTo(Integer value) {
|
addCriterion("film_id <>", value, "filmId");
|
return (Criteria) this;
|
}
|
|
public Criteria andArticleIdGreaterThan(Integer value) {
|
addCriterion("film_id >", value, "filmId");
|
return (Criteria) this;
|
}
|
|
public Criteria andArticleIdGreaterThanOrEqualTo(Integer value) {
|
addCriterion("film_id >=", value, "filmId");
|
return (Criteria) this;
|
}
|
|
public Criteria andArticleIdLessThan(Integer value) {
|
addCriterion("film_id <", value, "filmId");
|
return (Criteria) this;
|
}
|
|
public Criteria andArticleIdLessThanOrEqualTo(Integer value) {
|
addCriterion("film_id <=", value, "filmId");
|
return (Criteria) this;
|
}
|
|
public Criteria andArticleIdIn(List<Integer> values) {
|
addCriterion("film_id in", values, "filmId");
|
return (Criteria) this;
|
}
|
|
public Criteria andArticleIdNotIn(List<Integer> values) {
|
addCriterion("film_id not in", values, "filmId");
|
return (Criteria) this;
|
}
|
|
public Criteria andArticleIdBetween(Integer value1, Integer value2) {
|
addCriterion("film_id between", value1, value2, "filmId");
|
return (Criteria) this;
|
}
|
|
public Criteria andArticleIdNotBetween(Integer value1, Integer value2) {
|
addCriterion("film_id not between", value1, value2, "filmId");
|
return (Criteria) this;
|
}
|
|
public Criteria andStateIsNull() {
|
addCriterion("`state` is null");
|
return (Criteria) this;
|
}
|
|
public Criteria andStateIsNotNull() {
|
addCriterion("`state` is not null");
|
return (Criteria) this;
|
}
|
|
public Criteria andStateEqualTo(Boolean value) {
|
addCriterion("`state` =", value, "state");
|
return (Criteria) this;
|
}
|
|
public Criteria andStateNotEqualTo(Boolean value) {
|
addCriterion("`state` <>", value, "state");
|
return (Criteria) this;
|
}
|
|
public Criteria andStateGreaterThan(Boolean value) {
|
addCriterion("`state` >", value, "state");
|
return (Criteria) this;
|
}
|
|
public Criteria andStateGreaterThanOrEqualTo(Boolean value) {
|
addCriterion("`state` >=", value, "state");
|
return (Criteria) this;
|
}
|
|
public Criteria andStateLessThan(Boolean value) {
|
addCriterion("`state` <", value, "state");
|
return (Criteria) this;
|
}
|
|
public Criteria andStateLessThanOrEqualTo(Boolean value) {
|
addCriterion("`state` <=", value, "state");
|
return (Criteria) this;
|
}
|
|
public Criteria andStateIn(List<Boolean> values) {
|
addCriterion("`state` in", values, "state");
|
return (Criteria) this;
|
}
|
|
public Criteria andStateNotIn(List<Boolean> values) {
|
addCriterion("`state` not in", values, "state");
|
return (Criteria) this;
|
}
|
|
public Criteria andStateBetween(Boolean value1, Boolean value2) {
|
addCriterion("`state` between", value1, value2, "state");
|
return (Criteria) this;
|
}
|
|
public Criteria andStateNotBetween(Boolean value1, Boolean value2) {
|
addCriterion("`state` not between", value1, value2, "state");
|
return (Criteria) this;
|
}
|
|
public Criteria andIsDeletedIsNull() {
|
addCriterion("deleted is null");
|
return (Criteria) this;
|
}
|
|
public Criteria andIsDeletedIsNotNull() {
|
addCriterion("deleted is not null");
|
return (Criteria) this;
|
}
|
|
public Criteria andIsDeletedEqualTo(Boolean value) {
|
addCriterion("deleted =", value, "deleted");
|
return (Criteria) this;
|
}
|
|
public Criteria andIsDeletedNotEqualTo(Boolean value) {
|
addCriterion("deleted <>", value, "deleted");
|
return (Criteria) this;
|
}
|
|
public Criteria andIsDeletedGreaterThan(Boolean value) {
|
addCriterion("deleted >", value, "deleted");
|
return (Criteria) this;
|
}
|
|
public Criteria andIsDeletedGreaterThanOrEqualTo(Boolean value) {
|
addCriterion("deleted >=", value, "deleted");
|
return (Criteria) this;
|
}
|
|
public Criteria andIsDeletedLessThan(Boolean value) {
|
addCriterion("deleted <", value, "deleted");
|
return (Criteria) this;
|
}
|
|
public Criteria andIsDeletedLessThanOrEqualTo(Boolean value) {
|
addCriterion("deleted <=", value, "deleted");
|
return (Criteria) this;
|
}
|
|
public Criteria andIsDeletedIn(List<Boolean> values) {
|
addCriterion("deleted in", values, "deleted");
|
return (Criteria) this;
|
}
|
|
public Criteria andIsDeletedNotIn(List<Boolean> values) {
|
addCriterion("deleted not in", values, "deleted");
|
return (Criteria) this;
|
}
|
|
public Criteria andIsDeletedBetween(Boolean value1, Boolean value2) {
|
addCriterion("deleted between", value1, value2, "deleted");
|
return (Criteria) this;
|
}
|
|
public Criteria andIsDeletedNotBetween(Boolean value1, Boolean value2) {
|
addCriterion("deleted not between", value1, value2, "deleted");
|
return (Criteria) this;
|
}
|
|
public Criteria andCommentUserIsNull() {
|
addCriterion("comment_user is null");
|
return (Criteria) this;
|
}
|
|
public Criteria andCommentUserIsNotNull() {
|
addCriterion("comment_user is not null");
|
return (Criteria) this;
|
}
|
|
public Criteria andCommentUserEqualTo(Long value) {
|
addCriterion("comment_user =", value, "commentUser");
|
return (Criteria) this;
|
}
|
|
public Criteria andCommentUserNotEqualTo(Long value) {
|
addCriterion("comment_user <>", value, "commentUser");
|
return (Criteria) this;
|
}
|
|
public Criteria andCommentUserGreaterThan(Long value) {
|
addCriterion("comment_user >", value, "commentUser");
|
return (Criteria) this;
|
}
|
|
public Criteria andCommentUserGreaterThanOrEqualTo(Long value) {
|
addCriterion("comment_user >=", value, "commentUser");
|
return (Criteria) this;
|
}
|
|
public Criteria andCommentUserLessThan(Long value) {
|
addCriterion("comment_user <", value, "commentUser");
|
return (Criteria) this;
|
}
|
|
public Criteria andCommentUserLessThanOrEqualTo(Long value) {
|
addCriterion("comment_user <=", value, "commentUser");
|
return (Criteria) this;
|
}
|
|
public Criteria andCommentUserIn(List<Long> values) {
|
addCriterion("comment_user in", values, "commentUser");
|
return (Criteria) this;
|
}
|
|
public Criteria andCommentUserNotIn(List<Long> values) {
|
addCriterion("comment_user not in", values, "commentUser");
|
return (Criteria) this;
|
}
|
|
public Criteria andCommentUserBetween(Long value1, Long value2) {
|
addCriterion("comment_user between", value1, value2, "commentUser");
|
return (Criteria) this;
|
}
|
|
public Criteria andCommentUserNotBetween(Long value1, Long value2) {
|
addCriterion("comment_user not between", value1, value2, "commentUser");
|
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(LocalDateTime value) {
|
addCriterion("create_time =", value, "createTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andCreateTimeNotEqualTo(LocalDateTime value) {
|
addCriterion("create_time <>", value, "createTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andCreateTimeGreaterThan(LocalDateTime value) {
|
addCriterion("create_time >", value, "createTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andCreateTimeGreaterThanOrEqualTo(LocalDateTime value) {
|
addCriterion("create_time >=", value, "createTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andCreateTimeLessThan(LocalDateTime value) {
|
addCriterion("create_time <", value, "createTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andCreateTimeLessThanOrEqualTo(LocalDateTime value) {
|
addCriterion("create_time <=", value, "createTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andCreateTimeIn(List<LocalDateTime> values) {
|
addCriterion("create_time in", values, "createTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andCreateTimeNotIn(List<LocalDateTime> values) {
|
addCriterion("create_time not in", values, "createTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andCreateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
|
addCriterion("create_time between", value1, value2, "createTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andCreateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
|
addCriterion("create_time not between", value1, value2, "createTime");
|
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(LocalDateTime value) {
|
addCriterion("update_time =", value, "updateTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andUpdateTimeNotEqualTo(LocalDateTime value) {
|
addCriterion("update_time <>", value, "updateTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andUpdateTimeGreaterThan(LocalDateTime value) {
|
addCriterion("update_time >", value, "updateTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andUpdateTimeGreaterThanOrEqualTo(LocalDateTime value) {
|
addCriterion("update_time >=", value, "updateTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andUpdateTimeLessThan(LocalDateTime value) {
|
addCriterion("update_time <", value, "updateTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andUpdateTimeLessThanOrEqualTo(LocalDateTime value) {
|
addCriterion("update_time <=", value, "updateTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andUpdateTimeIn(List<LocalDateTime> values) {
|
addCriterion("update_time in", values, "updateTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andUpdateTimeNotIn(List<LocalDateTime> values) {
|
addCriterion("update_time not in", values, "updateTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andUpdateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
|
addCriterion("update_time between", value1, value2, "updateTime");
|
return (Criteria) this;
|
}
|
|
public Criteria andUpdateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
|
addCriterion("update_time not between", value1, value2, "updateTime");
|
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);
|
}
|
}
|
}
|