package com.weikun.model;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
public class ItemExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public ItemExample() {
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 andItemidIsNull() {
addCriterion("itemid is null");
return (Criteria) this;
}
public Criteria andItemidIsNotNull() {
addCriterion("itemid is not null");
return (Criteria) this;
}
public Criteria andItemidEqualTo(String value) {
addCriterion("itemid =", value, "itemid");
return (Criteria) this;
}
public Criteria andItemidNotEqualTo(String value) {
addCriterion("itemid <>", value, "itemid");
return (Criteria) this;
}
public Criteria andItemidGreaterThan(String value) {
addCriterion("itemid >", value, "itemid");
return (Criteria) this;
}
public Criteria andItemidGreaterThanOrEqualTo(String value) {
addCriterion("itemid >=", value, "itemid");
return (Criteria) this;
}
public Criteria andItemidLessThan(String value) {
addCriterion("itemid <", value, "itemid");
return (Criteria) this;
}
public Criteria andItemidLessThanOrEqualTo(String value) {
addCriterion("itemid <=", value, "itemid");
return (Criteria) this;
}
public Criteria andItemidLike(String value) {
addCriterion("itemid like", value, "itemid");
return (Criteria) this;
}
public Criteria andItemidNotLike(String value) {
addCriterion("itemid not like", value, "itemid");
return (Criteria) this;
}
public Criteria andItemidIn(List<String> values) {
addCriterion("itemid in", values, "itemid");
return (Criteria) this;
}
public Criteria andItemidNotIn(List<String> values) {
addCriterion("itemid not in", values, "itemid");
return (Criteria) this;
}
public Criteria andItemidBetween(String value1, String value2) {
addCriterion("itemid between", value1, value2, "itemid");
return (Criteria) this;
}
public Criteria andItemidNotBetween(String value1, String value2) {
addCriterion("itemid not between", value1, value2, "itemid");
return (Criteria) this;
}
public Criteria andProductidIsNull() {
addCriterion("productid is null");
return (Criteria) this;
}
public Criteria andProductidIsNotNull() {
addCriterion("productid is not null");
return (Criteria) this;
}
public Criteria andProductidEqualTo(String value) {
addCriterion("productid =", value, "productid");
return (Criteria) this;
}
public Criteria andProductidNotEqualTo(String value) {
addCriterion("productid <>", value, "productid");
return (Criteria) this;
}
public Criteria andProductidGreaterThan(String value) {
addCriterion("productid >", value, "productid");
return (Criteria) this;
}
public Criteria andProductidGreaterThanOrEqualTo(String value) {
addCriterion("productid >=", value, "productid");
return (Criteria) this;
}
public Criteria andProductidLessThan(String value) {
addCriterion("productid <", value, "productid");
return (Criteria) this;
}
public Criteria andProductidLessThanOrEqualTo(String value) {
addCriterion("productid <=", value, "productid");
return (Criteria) this;
}
public Criteria andProductidLike(String value) {
addCriterion("productid like", value, "productid");
return (Criteria) this;
}
public Criteria andProductidNotLike(String value) {
addCriterion("productid not like", value, "productid");
return (Criteria) this;
}
public Criteria andProductidIn(List<String> values) {
addCriterion("productid in", values, "productid");
return (Criteria) this;
}
public Criteria andProductidNotIn(List<String> values) {
addCriterion("productid not in", values, "productid");
return (Criteria) this;
}
public Criteria andProductidBetween(String value1, String value2) {
addCriterion("productid between", value1, value2, "productid");
return (Criteria) this;
}
public Criteria andProductidNotBetween(String value1, String value2) {
addCriterion("productid not between", value1, value2, "productid");
return (Criteria) this;
}
public Criteria andListpriceIsNull() {
addCriterion("listprice is null");
return (Criteria) this;
}
public Criteria andListpriceIsNotNul
评论0
最新资源