package com.shan.reservation.bean;
import java.util.ArrayList;
import java.util.List;
public class restaurantExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public restaurantExample() {
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 andRestaurantIdIsNull() {
addCriterion("restaurant_id is null");
return (Criteria) this;
}
public Criteria andRestaurantIdIsNotNull() {
addCriterion("restaurant_id is not null");
return (Criteria) this;
}
public Criteria andRestaurantIdEqualTo(Integer value) {
addCriterion("restaurant_id =", value, "restaurantId");
return (Criteria) this;
}
public Criteria andRestaurantIdNotEqualTo(Integer value) {
addCriterion("restaurant_id <>", value, "restaurantId");
return (Criteria) this;
}
public Criteria andRestaurantIdGreaterThan(Integer value) {
addCriterion("restaurant_id >", value, "restaurantId");
return (Criteria) this;
}
public Criteria andRestaurantIdGreaterThanOrEqualTo(Integer value) {
addCriterion("restaurant_id >=", value, "restaurantId");
return (Criteria) this;
}
public Criteria andRestaurantIdLessThan(Integer value) {
addCriterion("restaurant_id <", value, "restaurantId");
return (Criteria) this;
}
public Criteria andRestaurantIdLessThanOrEqualTo(Integer value) {
addCriterion("restaurant_id <=", value, "restaurantId");
return (Criteria) this;
}
public Criteria andRestaurantIdIn(List<Integer> values) {
addCriterion("restaurant_id in", values, "restaurantId");
return (Criteria) this;
}
public Criteria andRestaurantIdNotIn(List<Integer> values) {
addCriterion("restaurant_id not in", values, "restaurantId");
return (Criteria) this;
}
public Criteria andRestaurantIdBetween(Integer value1, Integer value2) {
addCriterion("restaurant_id between", value1, value2, "restaurantId");
return (Criteria) this;
}
public Criteria andRestaurantIdNotBetween(Integer value1, Integer value2) {
addCriterion("restaurant_id not between", value1, value2, "restaurantId");
return (Criteria) this;
}
public Criteria andRestaurantPasswordIsNull() {
addCriterion("restaurant_password is null");
return (Criteria) this;
}
public Criteria andRestaurantPasswordIsNotNull() {
addCriterion("restaurant_password is not null");
return (Criteria) this;
}
public Criteria andRestaurantPasswordEqualTo(String value) {
addCriterion("restaurant_password =", value, "restaurantPassword");
return (Criteria) this;
}
public Criteria andRestaurantPasswordNotEqualTo(String value) {
addCriterion("restaurant_password <>", value, "restaurantPassword");
return (Criteria) this;
}
public Criteria andRestaurantPasswordGreaterThan(String value) {
addCriterion("restaurant_password >", value, "restaurantPassword");
return (Criteria) this;
}
public Criteria andRestaurantPasswordGreaterThanOrEqualTo(String value) {
addCriterion("restaurant_password >=", value, "restaurantPassword");
return (Criteria) this;
}
public Criteria andRestaurantPasswordLessThan(String value) {
addCriterion("restaurant_password <", value, "restaurantPassword");
return (Criteria) this;
}
public Criteria andRestaurantPasswordLessThanOrEqualTo(String value) {
addCriterion("restaurant_password <=", value, "restaurantPassword");
return (Criteria) this;
}
public Criteria andRestaurantPasswordLike(String value) {
addCriterion("restaurant_password like", value, "restaurantPassword");
return (Criteria) this;
}
public Criteria andRestaurantPasswordNotLike(String value) {
addCriterion("restaurant_password not like", value, "restaurantPassword");
return (Criteria) this;
}
public Criteria andRestaurantPasswordIn(List<String> values) {
addCriterion("restaurant_password in", values, "restaurantPassword");
return (Criteria) this;
}
public Criteria andRestaurantPasswordNotIn(List<String> values) {
addCriterion("restaurant_password not in", values, "restaurantPassword");
return (Criteria) this;
}
public Criteria andRestaurantPasswordBetween(String value1, String value2) {
addCriterion("restaurant_password between", value1, value2, "restaurantPassword");
return (Criteria) this;
}
public Criteria andRestaurantPasswordNotBetween(String value1, String value2) {
addCriterion("restaurant_password not between", value1, value2, "restaurantPassword");
return (Criteria) this;
}
public Criteria andRestaurantAddressIsNull() {
addCriterion("restaurant_address is null");
return (Criteria) this;
}
pu