package com.farriver.bwf.data.master.model; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; public class QuestionPaperExample { protected String orderByClause; protected boolean distinct; protected List oredCriteria; /** * 这是Mybatis Generator拓展插件生成的属性(请勿删除). * This field corresponds to the database table fr_bwf..question_paper * * @mbg.generated * @author hewei */ protected Integer offset; /** * 这是Mybatis Generator拓展插件生成的属性(请勿删除). * This field corresponds to the database table fr_bwf..question_paper * * @mbg.generated * @author hewei */ protected Integer rows; public QuestionPaperExample() { oredCriteria = new ArrayList(); } 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 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; rows = null; offset = null; } /** * 这是Mybatis Generator拓展插件生成的方法(请勿删除). * This method corresponds to the database table fr_bwf..question_paper * * @mbg.generated * @author hewei */ public void setOffset(Integer offset) { this.offset = offset; } /** * 这是Mybatis Generator拓展插件生成的方法(请勿删除). * This method corresponds to the database table fr_bwf..question_paper * * @mbg.generated * @author hewei */ public Integer getOffset() { return offset; } /** * 这是Mybatis Generator拓展插件生成的方法(请勿删除). * This method corresponds to the database table fr_bwf..question_paper * * @mbg.generated * @author hewei */ public void setRows(Integer rows) { this.rows = rows; } /** * 这是Mybatis Generator拓展插件生成的方法(请勿删除). * This method corresponds to the database table fr_bwf..question_paper * * @mbg.generated * @author hewei */ public Integer getRows() { return rows; } /** * 这是Mybatis Generator拓展插件生成的方法(请勿删除). * This method corresponds to the database table fr_bwf..question_paper * * @mbg.generated * @author hewei */ public QuestionPaperExample limit(Integer rows) { this.rows = rows; return this; } /** * 这是Mybatis Generator拓展插件生成的方法(请勿删除). * This method corresponds to the database table fr_bwf..question_paper * * @mbg.generated * @author hewei */ public QuestionPaperExample limit(Integer offset, Integer rows) { this.offset = offset; this.rows = rows; return this; } /** * 这是Mybatis Generator拓展插件生成的方法(请勿删除). * This method corresponds to the database table fr_bwf..question_paper * * @mbg.generated * @author hewei */ public QuestionPaperExample page(Integer page, Integer pageSize) { this.offset = page * pageSize; this.rows = pageSize; return this; } protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List 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 andIdIsNull() { addCriterion("id is null"); return (Criteria) this; } public Criteria andIdIsNotNull() { addCriterion("id is not null"); return (Criteria) this; } public Criteria andIdEqualTo(String value) { addCriterion("id =", value, "id"); return (Criteria) this; } public Criteria andIdNotEqualTo(String value) { addCriterion("id <>", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThan(String value) { addCriterion("id >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(String value) { addCriterion("id >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(String value) { addCriterion("id <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(String value) { addCriterion("id <=", value, "id"); return (Criteria) this; } public Criteria andIdLike(String value) { addCriterion("id like", value, "id"); return (Criteria) this; } public Criteria andIdNotLike(String value) { addCriterion("id not like", value, "id"); return (Criteria) this; } public Criteria andIdIn(List values) { addCriterion("id in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List values) { addCriterion("id not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(String value1, String value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(String value1, String value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(Integer value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(Integer value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(Integer value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(Integer value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(Integer value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(Integer value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(Integer value1, Integer value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(Integer value1, Integer value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andIsdeletedIsNull() { addCriterion("isdeleted is null"); return (Criteria) this; } public Criteria andIsdeletedIsNotNull() { addCriterion("isdeleted is not null"); return (Criteria) this; } public Criteria andIsdeletedEqualTo(Boolean value) { addCriterion("isdeleted =", value, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedNotEqualTo(Boolean value) { addCriterion("isdeleted <>", value, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedGreaterThan(Boolean value) { addCriterion("isdeleted >", value, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedGreaterThanOrEqualTo(Boolean value) { addCriterion("isdeleted >=", value, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedLessThan(Boolean value) { addCriterion("isdeleted <", value, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedLessThanOrEqualTo(Boolean value) { addCriterion("isdeleted <=", value, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedIn(List values) { addCriterion("isdeleted in", values, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedNotIn(List values) { addCriterion("isdeleted not in", values, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedBetween(Boolean value1, Boolean value2) { addCriterion("isdeleted between", value1, value2, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedNotBetween(Boolean value1, Boolean value2) { addCriterion("isdeleted not between", value1, value2, "isdeleted"); return (Criteria) this; } public Criteria andRemarkIsNull() { addCriterion("remark is null"); return (Criteria) this; } public Criteria andRemarkIsNotNull() { addCriterion("remark is not null"); return (Criteria) this; } public Criteria andRemarkEqualTo(String value) { addCriterion("remark =", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotEqualTo(String value) { addCriterion("remark <>", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThan(String value) { addCriterion("remark >", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("remark >=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThan(String value) { addCriterion("remark <", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("remark <=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLike(String value) { addCriterion("remark like", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotLike(String value) { addCriterion("remark not like", value, "remark"); return (Criteria) this; } public Criteria andRemarkIn(List values) { addCriterion("remark in", values, "remark"); return (Criteria) this; } public Criteria andRemarkNotIn(List values) { addCriterion("remark not in", values, "remark"); return (Criteria) this; } public Criteria andRemarkBetween(String value1, String value2) { addCriterion("remark between", value1, value2, "remark"); return (Criteria) this; } public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("remark not between", value1, value2, "remark"); return (Criteria) this; } public Criteria andCreatetimeIsNull() { addCriterion("createtime is null"); return (Criteria) this; } public Criteria andCreatetimeIsNotNull() { addCriterion("createtime is not null"); return (Criteria) this; } public Criteria andCreatetimeEqualTo(Date value) { addCriterion("createtime =", value, "createtime"); return (Criteria) this; } public Criteria andCreatetimeNotEqualTo(Date value) { addCriterion("createtime <>", value, "createtime"); return (Criteria) this; } public Criteria andCreatetimeGreaterThan(Date value) { addCriterion("createtime >", value, "createtime"); return (Criteria) this; } public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) { addCriterion("createtime >=", value, "createtime"); return (Criteria) this; } public Criteria andCreatetimeLessThan(Date value) { addCriterion("createtime <", value, "createtime"); return (Criteria) this; } public Criteria andCreatetimeLessThanOrEqualTo(Date value) { addCriterion("createtime <=", value, "createtime"); return (Criteria) this; } public Criteria andCreatetimeIn(List values) { addCriterion("createtime in", values, "createtime"); return (Criteria) this; } public Criteria andCreatetimeNotIn(List values) { addCriterion("createtime not in", values, "createtime"); return (Criteria) this; } public Criteria andCreatetimeBetween(Date value1, Date value2) { addCriterion("createtime between", value1, value2, "createtime"); return (Criteria) this; } public Criteria andCreatetimeNotBetween(Date value1, Date value2) { addCriterion("createtime not between", value1, value2, "createtime"); return (Criteria) this; } public Criteria andUpdatetimeIsNull() { addCriterion("updatetime is null"); return (Criteria) this; } public Criteria andUpdatetimeIsNotNull() { addCriterion("updatetime is not null"); return (Criteria) this; } public Criteria andUpdatetimeEqualTo(Date value) { addCriterion("updatetime =", value, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeNotEqualTo(Date value) { addCriterion("updatetime <>", value, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeGreaterThan(Date value) { addCriterion("updatetime >", value, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) { addCriterion("updatetime >=", value, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeLessThan(Date value) { addCriterion("updatetime <", value, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeLessThanOrEqualTo(Date value) { addCriterion("updatetime <=", value, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeIn(List values) { addCriterion("updatetime in", values, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeNotIn(List values) { addCriterion("updatetime not in", values, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeBetween(Date value1, Date value2) { addCriterion("updatetime between", value1, value2, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeNotBetween(Date value1, Date value2) { addCriterion("updatetime not between", value1, value2, "updatetime"); return (Criteria) this; } public Criteria andCodeIsNull() { addCriterion("code is null"); return (Criteria) this; } public Criteria andCodeIsNotNull() { addCriterion("code is not null"); return (Criteria) this; } public Criteria andCodeEqualTo(String value) { addCriterion("code =", value, "code"); return (Criteria) this; } public Criteria andCodeNotEqualTo(String value) { addCriterion("code <>", value, "code"); return (Criteria) this; } public Criteria andCodeGreaterThan(String value) { addCriterion("code >", value, "code"); return (Criteria) this; } public Criteria andCodeGreaterThanOrEqualTo(String value) { addCriterion("code >=", value, "code"); return (Criteria) this; } public Criteria andCodeLessThan(String value) { addCriterion("code <", value, "code"); return (Criteria) this; } public Criteria andCodeLessThanOrEqualTo(String value) { addCriterion("code <=", value, "code"); return (Criteria) this; } public Criteria andCodeLike(String value) { addCriterion("code like", value, "code"); return (Criteria) this; } public Criteria andCodeNotLike(String value) { addCriterion("code not like", value, "code"); return (Criteria) this; } public Criteria andCodeIn(List values) { addCriterion("code in", values, "code"); return (Criteria) this; } public Criteria andCodeNotIn(List values) { addCriterion("code not in", values, "code"); return (Criteria) this; } public Criteria andCodeBetween(String value1, String value2) { addCriterion("code between", value1, value2, "code"); return (Criteria) this; } public Criteria andCodeNotBetween(String value1, String value2) { addCriterion("code not between", value1, value2, "code"); return (Criteria) this; } public Criteria andNameIsNull() { addCriterion("name is null"); return (Criteria) this; } public Criteria andNameIsNotNull() { addCriterion("name is not null"); return (Criteria) this; } public Criteria andNameEqualTo(String value) { addCriterion("name =", value, "name"); return (Criteria) this; } public Criteria andNameNotEqualTo(String value) { addCriterion("name <>", value, "name"); return (Criteria) this; } public Criteria andNameGreaterThan(String value) { addCriterion("name >", value, "name"); return (Criteria) this; } public Criteria andNameGreaterThanOrEqualTo(String value) { addCriterion("name >=", value, "name"); return (Criteria) this; } public Criteria andNameLessThan(String value) { addCriterion("name <", value, "name"); return (Criteria) this; } public Criteria andNameLessThanOrEqualTo(String value) { addCriterion("name <=", value, "name"); return (Criteria) this; } public Criteria andNameLike(String value) { addCriterion("name like", value, "name"); return (Criteria) this; } public Criteria andNameNotLike(String value) { addCriterion("name not like", value, "name"); return (Criteria) this; } public Criteria andNameIn(List values) { addCriterion("name in", values, "name"); return (Criteria) this; } public Criteria andNameNotIn(List values) { addCriterion("name not in", values, "name"); return (Criteria) this; } public Criteria andNameBetween(String value1, String value2) { addCriterion("name between", value1, value2, "name"); return (Criteria) this; } public Criteria andNameNotBetween(String value1, String value2) { addCriterion("name not between", value1, value2, "name"); return (Criteria) this; } public Criteria andSubjectidIsNull() { addCriterion("subjectid is null"); return (Criteria) this; } public Criteria andSubjectidIsNotNull() { addCriterion("subjectid is not null"); return (Criteria) this; } public Criteria andSubjectidEqualTo(String value) { addCriterion("subjectid =", value, "subjectid"); return (Criteria) this; } public Criteria andSubjectidNotEqualTo(String value) { addCriterion("subjectid <>", value, "subjectid"); return (Criteria) this; } public Criteria andSubjectidGreaterThan(String value) { addCriterion("subjectid >", value, "subjectid"); return (Criteria) this; } public Criteria andSubjectidGreaterThanOrEqualTo(String value) { addCriterion("subjectid >=", value, "subjectid"); return (Criteria) this; } public Criteria andSubjectidLessThan(String value) { addCriterion("subjectid <", value, "subjectid"); return (Criteria) this; } public Criteria andSubjectidLessThanOrEqualTo(String value) { addCriterion("subjectid <=", value, "subjectid"); return (Criteria) this; } public Criteria andSubjectidLike(String value) { addCriterion("subjectid like", value, "subjectid"); return (Criteria) this; } public Criteria andSubjectidNotLike(String value) { addCriterion("subjectid not like", value, "subjectid"); return (Criteria) this; } public Criteria andSubjectidIn(List values) { addCriterion("subjectid in", values, "subjectid"); return (Criteria) this; } public Criteria andSubjectidNotIn(List values) { addCriterion("subjectid not in", values, "subjectid"); return (Criteria) this; } public Criteria andSubjectidBetween(String value1, String value2) { addCriterion("subjectid between", value1, value2, "subjectid"); return (Criteria) this; } public Criteria andSubjectidNotBetween(String value1, String value2) { addCriterion("subjectid not between", value1, value2, "subjectid"); return (Criteria) this; } public Criteria andSubjectnameIsNull() { addCriterion("subjectname is null"); return (Criteria) this; } public Criteria andSubjectnameIsNotNull() { addCriterion("subjectname is not null"); return (Criteria) this; } public Criteria andSubjectnameEqualTo(String value) { addCriterion("subjectname =", value, "subjectname"); return (Criteria) this; } public Criteria andSubjectnameNotEqualTo(String value) { addCriterion("subjectname <>", value, "subjectname"); return (Criteria) this; } public Criteria andSubjectnameGreaterThan(String value) { addCriterion("subjectname >", value, "subjectname"); return (Criteria) this; } public Criteria andSubjectnameGreaterThanOrEqualTo(String value) { addCriterion("subjectname >=", value, "subjectname"); return (Criteria) this; } public Criteria andSubjectnameLessThan(String value) { addCriterion("subjectname <", value, "subjectname"); return (Criteria) this; } public Criteria andSubjectnameLessThanOrEqualTo(String value) { addCriterion("subjectname <=", value, "subjectname"); return (Criteria) this; } public Criteria andSubjectnameLike(String value) { addCriterion("subjectname like", value, "subjectname"); return (Criteria) this; } public Criteria andSubjectnameNotLike(String value) { addCriterion("subjectname not like", value, "subjectname"); return (Criteria) this; } public Criteria andSubjectnameIn(List values) { addCriterion("subjectname in", values, "subjectname"); return (Criteria) this; } public Criteria andSubjectnameNotIn(List values) { addCriterion("subjectname not in", values, "subjectname"); return (Criteria) this; } public Criteria andSubjectnameBetween(String value1, String value2) { addCriterion("subjectname between", value1, value2, "subjectname"); return (Criteria) this; } public Criteria andSubjectnameNotBetween(String value1, String value2) { addCriterion("subjectname not between", value1, value2, "subjectname"); return (Criteria) this; } public Criteria andSubjectcodeIsNull() { addCriterion("subjectcode is null"); return (Criteria) this; } public Criteria andSubjectcodeIsNotNull() { addCriterion("subjectcode is not null"); return (Criteria) this; } public Criteria andSubjectcodeEqualTo(String value) { addCriterion("subjectcode =", value, "subjectcode"); return (Criteria) this; } public Criteria andSubjectcodeNotEqualTo(String value) { addCriterion("subjectcode <>", value, "subjectcode"); return (Criteria) this; } public Criteria andSubjectcodeGreaterThan(String value) { addCriterion("subjectcode >", value, "subjectcode"); return (Criteria) this; } public Criteria andSubjectcodeGreaterThanOrEqualTo(String value) { addCriterion("subjectcode >=", value, "subjectcode"); return (Criteria) this; } public Criteria andSubjectcodeLessThan(String value) { addCriterion("subjectcode <", value, "subjectcode"); return (Criteria) this; } public Criteria andSubjectcodeLessThanOrEqualTo(String value) { addCriterion("subjectcode <=", value, "subjectcode"); return (Criteria) this; } public Criteria andSubjectcodeLike(String value) { addCriterion("subjectcode like", value, "subjectcode"); return (Criteria) this; } public Criteria andSubjectcodeNotLike(String value) { addCriterion("subjectcode not like", value, "subjectcode"); return (Criteria) this; } public Criteria andSubjectcodeIn(List values) { addCriterion("subjectcode in", values, "subjectcode"); return (Criteria) this; } public Criteria andSubjectcodeNotIn(List values) { addCriterion("subjectcode not in", values, "subjectcode"); return (Criteria) this; } public Criteria andSubjectcodeBetween(String value1, String value2) { addCriterion("subjectcode between", value1, value2, "subjectcode"); return (Criteria) this; } public Criteria andSubjectcodeNotBetween(String value1, String value2) { addCriterion("subjectcode not between", value1, value2, "subjectcode"); return (Criteria) this; } public Criteria andCategoryidIsNull() { addCriterion("categoryid is null"); return (Criteria) this; } public Criteria andCategoryidIsNotNull() { addCriterion("categoryid is not null"); return (Criteria) this; } public Criteria andCategoryidEqualTo(String value) { addCriterion("categoryid =", value, "categoryid"); return (Criteria) this; } public Criteria andCategoryidNotEqualTo(String value) { addCriterion("categoryid <>", value, "categoryid"); return (Criteria) this; } public Criteria andCategoryidGreaterThan(String value) { addCriterion("categoryid >", value, "categoryid"); return (Criteria) this; } public Criteria andCategoryidGreaterThanOrEqualTo(String value) { addCriterion("categoryid >=", value, "categoryid"); return (Criteria) this; } public Criteria andCategoryidLessThan(String value) { addCriterion("categoryid <", value, "categoryid"); return (Criteria) this; } public Criteria andCategoryidLessThanOrEqualTo(String value) { addCriterion("categoryid <=", value, "categoryid"); return (Criteria) this; } public Criteria andCategoryidLike(String value) { addCriterion("categoryid like", value, "categoryid"); return (Criteria) this; } public Criteria andCategoryidNotLike(String value) { addCriterion("categoryid not like", value, "categoryid"); return (Criteria) this; } public Criteria andCategoryidIn(List values) { addCriterion("categoryid in", values, "categoryid"); return (Criteria) this; } public Criteria andCategoryidNotIn(List values) { addCriterion("categoryid not in", values, "categoryid"); return (Criteria) this; } public Criteria andCategoryidBetween(String value1, String value2) { addCriterion("categoryid between", value1, value2, "categoryid"); return (Criteria) this; } public Criteria andCategoryidNotBetween(String value1, String value2) { addCriterion("categoryid not between", value1, value2, "categoryid"); return (Criteria) this; } public Criteria andCategorynameIsNull() { addCriterion("categoryname is null"); return (Criteria) this; } public Criteria andCategorynameIsNotNull() { addCriterion("categoryname is not null"); return (Criteria) this; } public Criteria andCategorynameEqualTo(String value) { addCriterion("categoryname =", value, "categoryname"); return (Criteria) this; } public Criteria andCategorynameNotEqualTo(String value) { addCriterion("categoryname <>", value, "categoryname"); return (Criteria) this; } public Criteria andCategorynameGreaterThan(String value) { addCriterion("categoryname >", value, "categoryname"); return (Criteria) this; } public Criteria andCategorynameGreaterThanOrEqualTo(String value) { addCriterion("categoryname >=", value, "categoryname"); return (Criteria) this; } public Criteria andCategorynameLessThan(String value) { addCriterion("categoryname <", value, "categoryname"); return (Criteria) this; } public Criteria andCategorynameLessThanOrEqualTo(String value) { addCriterion("categoryname <=", value, "categoryname"); return (Criteria) this; } public Criteria andCategorynameLike(String value) { addCriterion("categoryname like", value, "categoryname"); return (Criteria) this; } public Criteria andCategorynameNotLike(String value) { addCriterion("categoryname not like", value, "categoryname"); return (Criteria) this; } public Criteria andCategorynameIn(List values) { addCriterion("categoryname in", values, "categoryname"); return (Criteria) this; } public Criteria andCategorynameNotIn(List values) { addCriterion("categoryname not in", values, "categoryname"); return (Criteria) this; } public Criteria andCategorynameBetween(String value1, String value2) { addCriterion("categoryname between", value1, value2, "categoryname"); return (Criteria) this; } public Criteria andCategorynameNotBetween(String value1, String value2) { addCriterion("categoryname not between", value1, value2, "categoryname"); return (Criteria) this; } public Criteria andPriceIsNull() { addCriterion("price is null"); return (Criteria) this; } public Criteria andPriceIsNotNull() { addCriterion("price is not null"); return (Criteria) this; } public Criteria andPriceEqualTo(BigDecimal value) { addCriterion("price =", value, "price"); return (Criteria) this; } public Criteria andPriceNotEqualTo(BigDecimal value) { addCriterion("price <>", value, "price"); return (Criteria) this; } public Criteria andPriceGreaterThan(BigDecimal value) { addCriterion("price >", value, "price"); return (Criteria) this; } public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) { addCriterion("price >=", value, "price"); return (Criteria) this; } public Criteria andPriceLessThan(BigDecimal value) { addCriterion("price <", value, "price"); return (Criteria) this; } public Criteria andPriceLessThanOrEqualTo(BigDecimal value) { addCriterion("price <=", value, "price"); return (Criteria) this; } public Criteria andPriceIn(List values) { addCriterion("price in", values, "price"); return (Criteria) this; } public Criteria andPriceNotIn(List values) { addCriterion("price not in", values, "price"); return (Criteria) this; } public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) { addCriterion("price between", value1, value2, "price"); return (Criteria) this; } public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("price not between", value1, value2, "price"); return (Criteria) this; } public Criteria andTypeIsNull() { addCriterion("type is null"); return (Criteria) this; } public Criteria andTypeIsNotNull() { addCriterion("type is not null"); return (Criteria) this; } public Criteria andTypeEqualTo(Integer value) { addCriterion("type =", value, "type"); return (Criteria) this; } public Criteria andTypeNotEqualTo(Integer value) { addCriterion("type <>", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThan(Integer value) { addCriterion("type >", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThanOrEqualTo(Integer value) { addCriterion("type >=", value, "type"); return (Criteria) this; } public Criteria andTypeLessThan(Integer value) { addCriterion("type <", value, "type"); return (Criteria) this; } public Criteria andTypeLessThanOrEqualTo(Integer value) { addCriterion("type <=", value, "type"); return (Criteria) this; } public Criteria andTypeIn(List values) { addCriterion("type in", values, "type"); return (Criteria) this; } public Criteria andTypeNotIn(List values) { addCriterion("type not in", values, "type"); return (Criteria) this; } public Criteria andTypeBetween(Integer value1, Integer value2) { addCriterion("type between", value1, value2, "type"); return (Criteria) this; } public Criteria andTypeNotBetween(Integer value1, Integer value2) { addCriterion("type not between", value1, value2, "type"); return (Criteria) this; } public Criteria andCoverimageIsNull() { addCriterion("coverimage is null"); return (Criteria) this; } public Criteria andCoverimageIsNotNull() { addCriterion("coverimage is not null"); return (Criteria) this; } public Criteria andCoverimageEqualTo(String value) { addCriterion("coverimage =", value, "coverimage"); return (Criteria) this; } public Criteria andCoverimageNotEqualTo(String value) { addCriterion("coverimage <>", value, "coverimage"); return (Criteria) this; } public Criteria andCoverimageGreaterThan(String value) { addCriterion("coverimage >", value, "coverimage"); return (Criteria) this; } public Criteria andCoverimageGreaterThanOrEqualTo(String value) { addCriterion("coverimage >=", value, "coverimage"); return (Criteria) this; } public Criteria andCoverimageLessThan(String value) { addCriterion("coverimage <", value, "coverimage"); return (Criteria) this; } public Criteria andCoverimageLessThanOrEqualTo(String value) { addCriterion("coverimage <=", value, "coverimage"); return (Criteria) this; } public Criteria andCoverimageLike(String value) { addCriterion("coverimage like", value, "coverimage"); return (Criteria) this; } public Criteria andCoverimageNotLike(String value) { addCriterion("coverimage not like", value, "coverimage"); return (Criteria) this; } public Criteria andCoverimageIn(List values) { addCriterion("coverimage in", values, "coverimage"); return (Criteria) this; } public Criteria andCoverimageNotIn(List values) { addCriterion("coverimage not in", values, "coverimage"); return (Criteria) this; } public Criteria andCoverimageBetween(String value1, String value2) { addCriterion("coverimage between", value1, value2, "coverimage"); return (Criteria) this; } public Criteria andCoverimageNotBetween(String value1, String value2) { addCriterion("coverimage not between", value1, value2, "coverimage"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } public static class Criterion { private String condition; private Object value; private Object secondValue; private boolean noValue; private boolean singleValue; private boolean betweenValue; private boolean listValue; private String typeHandler; public String getCondition() { return condition; } public Object getValue() { return value; } public Object getSecondValue() { return secondValue; } public boolean isNoValue() { return noValue; } public boolean isSingleValue() { return singleValue; } public boolean isBetweenValue() { return betweenValue; } public boolean isListValue() { return listValue; } public String getTypeHandler() { return typeHandler; } protected Criterion(String condition) { super(); this.condition = condition; this.typeHandler = null; this.noValue = true; } protected Criterion(String condition, Object value, String typeHandler) { super(); this.condition = condition; this.value = value; this.typeHandler = typeHandler; if (value instanceof List) { this.listValue = true; } else { this.singleValue = true; } } protected Criterion(String condition, Object value) { this(condition, value, null); } protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { super(); this.condition = condition; this.value = value; this.secondValue = secondValue; this.typeHandler = typeHandler; this.betweenValue = true; } protected Criterion(String condition, Object value, Object secondValue) { this(condition, value, secondValue, null); } } }