package com.baidu.exam.model;
import java.util.ArrayList;
import java.util.List;
public class ExamItemsExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public ExamItemsExample() {
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 andEidIsNull() {
addCriterion("eid is null");
return (Criteria) this;
}
public Criteria andEidIsNotNull() {
addCriterion("eid is not null");
return (Criteria) this;
}
public Criteria andEidEqualTo(Integer value) {
addCriterion("eid =", value, "eid");
return (Criteria) this;
}
public Criteria andEidNotEqualTo(Integer value) {
addCriterion("eid <>", value, "eid");
return (Criteria) this;
}
public Criteria andEidGreaterThan(Integer value) {
addCriterion("eid >", value, "eid");
return (Criteria) this;
}
public Criteria andEidGreaterThanOrEqualTo(Integer value) {
addCriterion("eid >=", value, "eid");
return (Criteria) this;
}
public Criteria andEidLessThan(Integer value) {
addCriterion("eid <", value, "eid");
return (Criteria) this;
}
public Criteria andEidLessThanOrEqualTo(Integer value) {
addCriterion("eid <=", value, "eid");
return (Criteria) this;
}
public Criteria andEidIn(List<Integer> values) {
addCriterion("eid in", values, "eid");
return (Criteria) this;
}
public Criteria andEidNotIn(List<Integer> values) {
addCriterion("eid not in", values, "eid");
return (Criteria) this;
}
public Criteria andEidBetween(Integer value1, Integer value2) {
addCriterion("eid between", value1, value2, "eid");
return (Criteria) this;
}
public Criteria andEidNotBetween(Integer value1, Integer value2) {
addCriterion("eid not between", value1, value2, "eid");
return (Criteria) this;
}
public Criteria andEnameIsNull() {
addCriterion("ename is null");
return (Criteria) this;
}
public Criteria andEnameIsNotNull() {
addCriterion("ename is not null");
return (Criteria) this;
}
public Criteria andEnameEqualTo(String value) {
addCriterion("ename =", value, "ename");
return (Criteria) this;
}
public Criteria andEnameNotEqualTo(String value) {
addCriterion("ename <>", value, "ename");
return (Criteria) this;
}
public Criteria andEnameGreaterThan(String value) {
addCriterion("ename >", value, "ename");
return (Criteria) this;
}
public Criteria andEnameGreaterThanOrEqualTo(String value) {
addCriterion("ename >=", value, "ename");
return (Criteria) this;
}
public Criteria andEnameLessThan(String value) {
addCriterion("ename <", value, "ename");
return (Criteria) this;
}
public Criteria andEnameLessThanOrEqualTo(String value) {
addCriterion("ename <=", value, "ename");
return (Criteria) this;
}
public Criteria andEnameLike(String value) {
addCriterion("ename like", value, "ename");
return (Criteria) this;
}
public Criteria andEnameNotLike(String value) {
addCriterion("ename not like", value, "ename");
return (Criteria) this;
}
public Criteria andEnameIn(List<String> values) {
addCriterion("ename in", values, "ename");
return (Criteria) this;
}
public Criteria andEnameNotIn(List<String> values) {
addCriterion("ename not in", values, "ename");
return (Criteria) this;
}
public Criteria andEnameBetween(String value1, String value2) {
addCriterion("ename between", value1, value2, "ename");
return (Criteria) this;
}
public Criteria andEnameNotBetween(String value1, String value2) {
addCriterion("ename not between", value1, value2, "ename");
return (Criteria) this;
}
public Criteria andEpaperidIsNull() {
addCriterion("epaperid is null");
return (Criteria) this;
}
public Criteria andEpaperidIsNotNull() {
addCriterion("epaperid is not null");
return (Criteria) this;
}
public Criteria andEpaperidEqualTo(Integer value) {
addCriterion("epaperid =", value, "epaperid");
return (Criteria) this;
}
public Criteria andEpaperidNotEqualTo(Integer value) {
addCriterion("epaperid <>", value, "epaperid");
return (Criteria) this;
}
public Criteria andEpaperidGreaterThan(Integer value) {
addCriterion("epaperid >", value, "epaperid");
return (Criteria) this;
}
public Criteria andEpaperidGreaterThanOrEqualTo(Integer value) {
addCriterion("epaperid >=", value, "epaperid");
return (Criteria) this;
}
public Criteria andEpaperidLessThan(Integer valu