package com.bean;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class ReaderExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public ReaderExample() {
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 andReaderIdIsNull() {
addCriterion("reader_id is null");
return (Criteria) this;
}
public Criteria andReaderIdIsNotNull() {
addCriterion("reader_id is not null");
return (Criteria) this;
}
public Criteria andReaderIdEqualTo(Integer value) {
addCriterion("reader_id =", value, "readerId");
return (Criteria) this;
}
public Criteria andReaderIdNotEqualTo(Integer value) {
addCriterion("reader_id <>", value, "readerId");
return (Criteria) this;
}
public Criteria andReaderIdGreaterThan(Integer value) {
addCriterion("reader_id >", value, "readerId");
return (Criteria) this;
}
public Criteria andReaderIdGreaterThanOrEqualTo(Integer value) {
addCriterion("reader_id >=", value, "readerId");
return (Criteria) this;
}
public Criteria andReaderIdLessThan(Integer value) {
addCriterion("reader_id <", value, "readerId");
return (Criteria) this;
}
public Criteria andReaderIdLessThanOrEqualTo(Integer value) {
addCriterion("reader_id <=", value, "readerId");
return (Criteria) this;
}
public Criteria andReaderIdIn(List<Integer> values) {
addCriterion("reader_id in", values, "readerId");
return (Criteria) this;
}
public Criteria andReaderIdNotIn(List<Integer> values) {
addCriterion("reader_id not in", values, "readerId");
return (Criteria) this;
}
public Criteria andReaderIdBetween(Integer value1, Integer value2) {
addCriterion("reader_id between", value1, value2, "readerId");
return (Criteria) this;
}
public Criteria andReaderIdNotBetween(Integer value1, Integer value2) {
addCriterion("reader_id not between", value1, value2, "readerId");
return (Criteria) this;
}
public Criteria andReaderNameIsNull() {
addCriterion("reader_name is null");
return (Criteria) this;
}
public Criteria andReaderNameIsNotNull() {
addCriterion("reader_name is not null");
return (Criteria) this;
}
public Criteria andReaderNameEqualTo(String value) {
addCriterion("reader_name =", value, "readerName");
return (Criteria) this;
}
public Criteria andReaderNameNotEqualTo(String value) {
addCriterion("reader_name <>", value, "readerName");
return (Criteria) this;
}
public Criteria andReaderNameGreaterThan(String value) {
addCriterion("reader_name >", value, "readerName");
return (Criteria) this;
}
public Criteria andReaderNameGreaterThanOrEqualTo(String value) {
addCriterion("reader_name >=", value, "readerName");
return (Criteria) this;
}
public Criteria andReaderNameLessThan(String value) {
addCriterion("reader_name <", value, "readerName");
return (Criteria) this;
}
public Criteria andReaderNameLessThanOrEqualTo(String value) {
addCriterion("reader_name <=", value, "readerName");
return (Criteria) this;
}
public Criteria andReaderNameLike(String value) {
addCriterion("reader_name like", value, "readerName");
return (Criteria) this;
}
public Criteria andReaderNameNotLike(String value) {
addCriterion("reader_name not like", value, "readerName");
return (Criteria) this;
}
public Criteria andReaderNameIn(List<String> values) {
addCriterion("reader_name in", values, "readerName");
return (Criteria) this;
}
public Criteria andReaderNameNotIn(List<String> values) {
addCriterion("reader_name not in", values, "readerName");
return (Criteria) this;
}
public Criteria andReaderNameBetween(String value1, String value2) {
addCriterion("reader_name between", value1, value2, "readerName");
return (Criteria) this;
}
public Criteria andReaderNameNotBetween(String value1, String value2) {
addCriterion("reader_name not between", value1, value2, "readerName");
return (Criteria) this;
}
public Criteria andReaderGenderIsNull() {
addCriterion("reader_gender is null");
return (Criteria) this;
}
public Criteria andReaderGenderIsNotNull() {
addCriterion("reader_gender is not null");
return (Criteria) this;
}
public Criteria andReaderGenderEqualTo(String value) {
addCriterion("reader_gender =", value, "readerGender");
return (Criteria) this;
}
public Criteria andReaderGenderNotEqualTo(String value) {
addCriterion("reader_gender <>", value, "readerGender");