package cn.edu.zzti.soft.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class CownExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public CownExample() {
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 andCarNoIsNull() {
addCriterion("Car_no is null");
return (Criteria) this;
}
public Criteria andCarNoIsNotNull() {
addCriterion("Car_no is not null");
return (Criteria) this;
}
public Criteria andCarNoEqualTo(String value) {
addCriterion("Car_no =", value, "carNo");
return (Criteria) this;
}
public Criteria andCarNoNotEqualTo(String value) {
addCriterion("Car_no <>", value, "carNo");
return (Criteria) this;
}
public Criteria andCarNoGreaterThan(String value) {
addCriterion("Car_no >", value, "carNo");
return (Criteria) this;
}
public Criteria andCarNoGreaterThanOrEqualTo(String value) {
addCriterion("Car_no >=", value, "carNo");
return (Criteria) this;
}
public Criteria andCarNoLessThan(String value) {
addCriterion("Car_no <", value, "carNo");
return (Criteria) this;
}
public Criteria andCarNoLessThanOrEqualTo(String value) {
addCriterion("Car_no <=", value, "carNo");
return (Criteria) this;
}
public Criteria andCarNoLike(String value) {
addCriterion("Car_no like", value, "carNo");
return (Criteria) this;
}
public Criteria andCarNoNotLike(String value) {
addCriterion("Car_no not like", value, "carNo");
return (Criteria) this;
}
public Criteria andCarNoIn(List<String> values) {
addCriterion("Car_no in", values, "carNo");
return (Criteria) this;
}
public Criteria andCarNoNotIn(List<String> values) {
addCriterion("Car_no not in", values, "carNo");
return (Criteria) this;
}
public Criteria andCarNoBetween(String value1, String value2) {
addCriterion("Car_no between", value1, value2, "carNo");
return (Criteria) this;
}
public Criteria andCarNoNotBetween(String value1, String value2) {
addCriterion("Car_no not between", value1, value2, "carNo");
return (Criteria) this;
}
public Criteria andCarwNoIsNull() {
addCriterion("Carw_no is null");
return (Criteria) this;
}
public Criteria andCarwNoIsNotNull() {
addCriterion("Carw_no is not null");
return (Criteria) this;
}
public Criteria andCarwNoEqualTo(String value) {
addCriterion("Carw_no =", value, "carwNo");
return (Criteria) this;
}
public Criteria andCarwNoNotEqualTo(String value) {
addCriterion("Carw_no <>", value, "carwNo");
return (Criteria) this;
}
public Criteria andCarwNoGreaterThan(String value) {
addCriterion("Carw_no >", value, "carwNo");
return (Criteria) this;
}
public Criteria andCarwNoGreaterThanOrEqualTo(String value) {
addCriterion("Carw_no >=", value, "carwNo");
return (Criteria) this;
}
public Criteria andCarwNoLessThan(String value) {
addCriterion("Carw_no <", value, "carwNo");
return (Criteria) this;
}
public Criteria andCarwNoLessThanOrEqualTo(String value) {
addCriterion("Carw_no <=", value, "carwNo");
return (Criteria) this;
}
public Criteria andCarwNoLike(String value) {
addCriterion("Carw_no like", value, "carwNo");
return (Criteria) this;
}
public Criteria andCarwNoNotLike(String value) {
addCriterion("Carw_no not like", value, "carwNo");
return (Criteria) this;
}
public Criteria andCarwNoIn(List<String> values) {
addCriterion("Carw_no in", values, "carwNo");
return (Criteria) this;
}
public Criteria andCarwNoNotIn(List<String> values) {
addCriterion("Carw_no not in", values, "carwNo");
return (Criteria) this;
}
public Criteria andCarwNoBetween(String value1, String value2) {
addCriterion("Carw_no between", value1, value2, "carwNo");
return (Criteria) this;
}
public Criteria andCarwNoNotBetween(String value1, String value2) {
addCriterion("Carw_no not between", value1, value2, "carwNo");
return (Criteria) this;
}
public Criteria andCownNameIsNull() {
addCriterion("Cown_name is null");
return (Criteria) this;
}
public Criteria andCownNameIsNotNull() {
addCriterion("Cown_name is not null");
return (Criteria) this;
}
public Criteria