ganzi-api/inventory-dao/src/main/java/com/rzyc/model/NewsClassExample.java

624 lines
19 KiB
Java
Raw Normal View History

2022-09-16 15:07:17 +08:00
package com.rzyc.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class NewsClassExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
private Integer limit;
private Integer offset;
public NewsClassExample() {
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 andNewsclassidIsNull() {
addCriterion("NewsClassId is null");
return (Criteria) this;
}
public Criteria andNewsclassidIsNotNull() {
addCriterion("NewsClassId is not null");
return (Criteria) this;
}
public Criteria andNewsclassidEqualTo(String value) {
addCriterion("NewsClassId =", value, "newsclassid");
return (Criteria) this;
}
public Criteria andNewsclassidNotEqualTo(String value) {
addCriterion("NewsClassId <>", value, "newsclassid");
return (Criteria) this;
}
public Criteria andNewsclassidGreaterThan(String value) {
addCriterion("NewsClassId >", value, "newsclassid");
return (Criteria) this;
}
public Criteria andNewsclassidGreaterThanOrEqualTo(String value) {
addCriterion("NewsClassId >=", value, "newsclassid");
return (Criteria) this;
}
public Criteria andNewsclassidLessThan(String value) {
addCriterion("NewsClassId <", value, "newsclassid");
return (Criteria) this;
}
public Criteria andNewsclassidLessThanOrEqualTo(String value) {
addCriterion("NewsClassId <=", value, "newsclassid");
return (Criteria) this;
}
public Criteria andNewsclassidLike(String value) {
addCriterion("NewsClassId like", value, "newsclassid");
return (Criteria) this;
}
public Criteria andNewsclassidNotLike(String value) {
addCriterion("NewsClassId not like", value, "newsclassid");
return (Criteria) this;
}
public Criteria andNewsclassidIn(List<String> values) {
addCriterion("NewsClassId in", values, "newsclassid");
return (Criteria) this;
}
public Criteria andNewsclassidNotIn(List<String> values) {
addCriterion("NewsClassId not in", values, "newsclassid");
return (Criteria) this;
}
public Criteria andNewsclassidBetween(String value1, String value2) {
addCriterion("NewsClassId between", value1, value2, "newsclassid");
return (Criteria) this;
}
public Criteria andNewsclassidNotBetween(String value1, String value2) {
addCriterion("NewsClassId not between", value1, value2, "newsclassid");
return (Criteria) this;
}
public Criteria andNewstypeIsNull() {
addCriterion("NewsType is null");
return (Criteria) this;
}
public Criteria andNewstypeIsNotNull() {
addCriterion("NewsType is not null");
return (Criteria) this;
}
public Criteria andNewstypeEqualTo(String value) {
addCriterion("NewsType =", value, "newstype");
return (Criteria) this;
}
public Criteria andNewstypeNotEqualTo(String value) {
addCriterion("NewsType <>", value, "newstype");
return (Criteria) this;
}
public Criteria andNewstypeGreaterThan(String value) {
addCriterion("NewsType >", value, "newstype");
return (Criteria) this;
}
public Criteria andNewstypeGreaterThanOrEqualTo(String value) {
addCriterion("NewsType >=", value, "newstype");
return (Criteria) this;
}
public Criteria andNewstypeLessThan(String value) {
addCriterion("NewsType <", value, "newstype");
return (Criteria) this;
}
public Criteria andNewstypeLessThanOrEqualTo(String value) {
addCriterion("NewsType <=", value, "newstype");
return (Criteria) this;
}
public Criteria andNewstypeLike(String value) {
addCriterion("NewsType like", value, "newstype");
return (Criteria) this;
}
public Criteria andNewstypeNotLike(String value) {
addCriterion("NewsType not like", value, "newstype");
return (Criteria) this;
}
public Criteria andNewstypeIn(List<String> values) {
addCriterion("NewsType in", values, "newstype");
return (Criteria) this;
}
public Criteria andNewstypeNotIn(List<String> values) {
addCriterion("NewsType not in", values, "newstype");
return (Criteria) this;
}
public Criteria andNewstypeBetween(String value1, String value2) {
addCriterion("NewsType between", value1, value2, "newstype");
return (Criteria) this;
}
public Criteria andNewstypeNotBetween(String value1, String value2) {
addCriterion("NewsType not between", value1, value2, "newstype");
return (Criteria) this;
}
public Criteria andCreatedonIsNull() {
addCriterion("CreatedOn is null");
return (Criteria) this;
}
public Criteria andCreatedonIsNotNull() {
addCriterion("CreatedOn is not null");
return (Criteria) this;
}
public Criteria andCreatedonEqualTo(Date value) {
addCriterion("CreatedOn =", value, "createdon");
return (Criteria) this;
}
public Criteria andCreatedonNotEqualTo(Date value) {
addCriterion("CreatedOn <>", value, "createdon");
return (Criteria) this;
}
public Criteria andCreatedonGreaterThan(Date value) {
addCriterion("CreatedOn >", value, "createdon");
return (Criteria) this;
}
public Criteria andCreatedonGreaterThanOrEqualTo(Date value) {
addCriterion("CreatedOn >=", value, "createdon");
return (Criteria) this;
}
public Criteria andCreatedonLessThan(Date value) {
addCriterion("CreatedOn <", value, "createdon");
return (Criteria) this;
}
public Criteria andCreatedonLessThanOrEqualTo(Date value) {
addCriterion("CreatedOn <=", value, "createdon");
return (Criteria) this;
}
public Criteria andCreatedonIn(List<Date> values) {
addCriterion("CreatedOn in", values, "createdon");
return (Criteria) this;
}
public Criteria andCreatedonNotIn(List<Date> values) {
addCriterion("CreatedOn not in", values, "createdon");
return (Criteria) this;
}
public Criteria andCreatedonBetween(Date value1, Date value2) {
addCriterion("CreatedOn between", value1, value2, "createdon");
return (Criteria) this;
}
public Criteria andCreatedonNotBetween(Date value1, Date value2) {
addCriterion("CreatedOn not between", value1, value2, "createdon");
return (Criteria) this;
}
public Criteria andCreatedbyIsNull() {
addCriterion("CreatedBy is null");
return (Criteria) this;
}
public Criteria andCreatedbyIsNotNull() {
addCriterion("CreatedBy is not null");
return (Criteria) this;
}
public Criteria andCreatedbyEqualTo(String value) {
addCriterion("CreatedBy =", value, "createdby");
return (Criteria) this;
}
public Criteria andCreatedbyNotEqualTo(String value) {
addCriterion("CreatedBy <>", value, "createdby");
return (Criteria) this;
}
public Criteria andCreatedbyGreaterThan(String value) {
addCriterion("CreatedBy >", value, "createdby");
return (Criteria) this;
}
public Criteria andCreatedbyGreaterThanOrEqualTo(String value) {
addCriterion("CreatedBy >=", value, "createdby");
return (Criteria) this;
}
public Criteria andCreatedbyLessThan(String value) {
addCriterion("CreatedBy <", value, "createdby");
return (Criteria) this;
}
public Criteria andCreatedbyLessThanOrEqualTo(String value) {
addCriterion("CreatedBy <=", value, "createdby");
return (Criteria) this;
}
public Criteria andCreatedbyLike(String value) {
addCriterion("CreatedBy like", value, "createdby");
return (Criteria) this;
}
public Criteria andCreatedbyNotLike(String value) {
addCriterion("CreatedBy not like", value, "createdby");
return (Criteria) this;
}
public Criteria andCreatedbyIn(List<String> values) {
addCriterion("CreatedBy in", values, "createdby");
return (Criteria) this;
}
public Criteria andCreatedbyNotIn(List<String> values) {
addCriterion("CreatedBy not in", values, "createdby");
return (Criteria) this;
}
public Criteria andCreatedbyBetween(String value1, String value2) {
addCriterion("CreatedBy between", value1, value2, "createdby");
return (Criteria) this;
}
public Criteria andCreatedbyNotBetween(String value1, String value2) {
addCriterion("CreatedBy not between", value1, value2, "createdby");
return (Criteria) this;
}
public Criteria andModifiedonIsNull() {
addCriterion("ModifiedOn is null");
return (Criteria) this;
}
public Criteria andModifiedonIsNotNull() {
addCriterion("ModifiedOn is not null");
return (Criteria) this;
}
public Criteria andModifiedonEqualTo(Date value) {
addCriterion("ModifiedOn =", value, "modifiedon");
return (Criteria) this;
}
public Criteria andModifiedonNotEqualTo(Date value) {
addCriterion("ModifiedOn <>", value, "modifiedon");
return (Criteria) this;
}
public Criteria andModifiedonGreaterThan(Date value) {
addCriterion("ModifiedOn >", value, "modifiedon");
return (Criteria) this;
}
public Criteria andModifiedonGreaterThanOrEqualTo(Date value) {
addCriterion("ModifiedOn >=", value, "modifiedon");
return (Criteria) this;
}
public Criteria andModifiedonLessThan(Date value) {
addCriterion("ModifiedOn <", value, "modifiedon");
return (Criteria) this;
}
public Criteria andModifiedonLessThanOrEqualTo(Date value) {
addCriterion("ModifiedOn <=", value, "modifiedon");
return (Criteria) this;
}
public Criteria andModifiedonIn(List<Date> values) {
addCriterion("ModifiedOn in", values, "modifiedon");
return (Criteria) this;
}
public Criteria andModifiedonNotIn(List<Date> values) {
addCriterion("ModifiedOn not in", values, "modifiedon");
return (Criteria) this;
}
public Criteria andModifiedonBetween(Date value1, Date value2) {
addCriterion("ModifiedOn between", value1, value2, "modifiedon");
return (Criteria) this;
}
public Criteria andModifiedonNotBetween(Date value1, Date value2) {
addCriterion("ModifiedOn not between", value1, value2, "modifiedon");
return (Criteria) this;
}
public Criteria andModifiedbyIsNull() {
addCriterion("ModifiedBy is null");
return (Criteria) this;
}
public Criteria andModifiedbyIsNotNull() {
addCriterion("ModifiedBy is not null");
return (Criteria) this;
}
public Criteria andModifiedbyEqualTo(String value) {
addCriterion("ModifiedBy =", value, "modifiedby");
return (Criteria) this;
}
public Criteria andModifiedbyNotEqualTo(String value) {
addCriterion("ModifiedBy <>", value, "modifiedby");
return (Criteria) this;
}
public Criteria andModifiedbyGreaterThan(String value) {
addCriterion("ModifiedBy >", value, "modifiedby");
return (Criteria) this;
}
public Criteria andModifiedbyGreaterThanOrEqualTo(String value) {
addCriterion("ModifiedBy >=", value, "modifiedby");
return (Criteria) this;
}
public Criteria andModifiedbyLessThan(String value) {
addCriterion("ModifiedBy <", value, "modifiedby");
return (Criteria) this;
}
public Criteria andModifiedbyLessThanOrEqualTo(String value) {
addCriterion("ModifiedBy <=", value, "modifiedby");
return (Criteria) this;
}
public Criteria andModifiedbyLike(String value) {
addCriterion("ModifiedBy like", value, "modifiedby");
return (Criteria) this;
}
public Criteria andModifiedbyNotLike(String value) {
addCriterion("ModifiedBy not like", value, "modifiedby");
return (Criteria) this;
}
public Criteria andModifiedbyIn(List<String> values) {
addCriterion("ModifiedBy in", values, "modifiedby");
return (Criteria) this;
}
public Criteria andModifiedbyNotIn(List<String> values) {
addCriterion("ModifiedBy not in", values, "modifiedby");
return (Criteria) this;
}
public Criteria andModifiedbyBetween(String value1, String value2) {
addCriterion("ModifiedBy between", value1, value2, "modifiedby");
return (Criteria) this;
}
public Criteria andModifiedbyNotBetween(String value1, String value2) {
addCriterion("ModifiedBy not between", value1, value2, "modifiedby");
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);
}
}
}