package com.friend.py.model;
import java.util.ArrayList;
import java.util.List;
public class TeacherExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TeacherExample() {
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 andTeanoIsNull() {
addCriterion("teaNo is null");
return (Criteria) this;
}
public Criteria andTeanoIsNotNull() {
addCriterion("teaNo is not null");
return (Criteria) this;
}
public Criteria andTeanoEqualTo(String value) {
addCriterion("teaNo =", value, "teano");
return (Criteria) this;
}
public Criteria andTeanoNotEqualTo(String value) {
addCriterion("teaNo <>", value, "teano");
return (Criteria) this;
}
public Criteria andTeanoGreaterThan(String value) {
addCriterion("teaNo >", value, "teano");
return (Criteria) this;
}
public Criteria andTeanoGreaterThanOrEqualTo(String value) {
addCriterion("teaNo >=", value, "teano");
return (Criteria) this;
}
public Criteria andTeanoLessThan(String value) {
addCriterion("teaNo <", value, "teano");
return (Criteria) this;
}
public Criteria andTeanoLessThanOrEqualTo(String value) {
addCriterion("teaNo <=", value, "teano");
return (Criteria) this;
}
public Criteria andTeanoLike(String value) {
addCriterion("teaNo like", value, "teano");
return (Criteria) this;
}
public Criteria andTeanoNotLike(String value) {
addCriterion("teaNo not like", value, "teano");
return (Criteria) this;
}
public Criteria andTeanoIn(List<String> values) {
addCriterion("teaNo in", values, "teano");
return (Criteria) this;
}
public Criteria andTeanoNotIn(List<String> values) {
addCriterion("teaNo not in", values, "teano");
return (Criteria) this;
}
public Criteria andTeanoBetween(String value1, String value2) {
addCriterion("teaNo between", value1, value2, "teano");
return (Criteria) this;
}
public Criteria andTeanoNotBetween(String value1, String value2) {
addCriterion("teaNo not between", value1, value2, "teano");
return (Criteria) this;
}
public Criteria andTeanameIsNull() {
addCriterion("teaName is null");
return (Criteria) this;
}
public Criteria andTeanameIsNotNull() {
addCriterion("teaName is not null");
return (Criteria) this;
}
public Criteria andTeanameEqualTo(String value) {
addCriterion("teaName =", value, "teaname");
return (Criteria) this;
}
public Criteria andTeanameNotEqualTo(String value) {
addCriterion("teaName <>", value, "teaname");
return (Criteria) this;
}
public Criteria andTeanameGreaterThan(String value) {
addCriterion("teaName >", value, "teaname");
return (Criteria) this;
}
public Criteria andTeanameGreaterThanOrEqualTo(String value) {
addCriterion("teaName >=", value, "teaname");
return (Criteria) this;
}
public Criteria andTeanameLessThan(String value) {
addCriterion("teaName <", value, "teaname");
return (Criteria) this;
}
public Criteria andTeanameLessThanOrEqualTo(String value) {
addCriterion("teaName <=", value, "teaname");
return (Criteria) this;
}
public Criteria andTeanameLike(String value) {
addCriterion("teaName like", value, "teaname");
return (Criteria) this;
}
public Criteria andTeanameNotLike(String value) {
addCriterion("teaName not like", value, "teaname");
return (Criteria) this;
}
public Criteria andTeanameIn(List<String> values) {
addCriterion("teaName in", values, "teaname");
return (Criteria) this;
}
public Criteria andTeanameNotIn(List<String> values) {
addCriterion("teaName not in", values, "teaname");
return (Criteria) this;
}
public Criteria andTeanameBetween(String value1, String value2) {
addCriterion("teaName between", value1, value2, "teaname");
return (Criteria) this;
}
public Criteria andTeanameNotBetween(String value1, String value2) {
addCriterion("teaName not between", value1, value2, "teaname");
return (Criteria) this;
}
public Criteria andGenderIsNull() {
addCriterion("gender is null");
return (Criteria) this;
}
public Criteria andGenderIsNotNull() {
addCriterion("gender is not null");
return (Criteria) this;
}
public Criteria andGenderEqualTo(String value) {
addCriterion("gender =", value, "gender");
return (Criteria) this;
}
public Criteria andGenderNotEqualTo(String value) {
addCriterion("gender <>", value, "gender");
return (Crite