/******************************************************************************* * Copyright [2015] [Onboard team of SERC, Peking University] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *******************************************************************************/ package com.onboard.domain.mapper.model; import com.onboard.domain.mapper.model.common.BaseCriteria; import com.onboard.domain.mapper.model.common.BaseExample; import java.util.ArrayList; import java.util.Date; import java.util.List; public class DiscussionExample implements BaseExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ protected List<Criteria> oredCriteria; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ protected int start = 0; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ protected int limit = -1; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public DiscussionExample() { oredCriteria = new ArrayList<Criteria>(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public List<Criteria> getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public List<BaseCriteria> getOredBaseCriteria() { List<com.onboard.domain.mapper.model.common.BaseCriteria> list = new ArrayList<com.onboard.domain.mapper.model.common.BaseCriteria>(); list.addAll(oredCriteria); return list; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public void setStart(int start) { this.start=start; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public int getStart() { return start; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public void setLimit(int limit) { this.limit=limit; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public int getLimit() { return limit; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public void setLimit(int start, int limit) { this.start = start; this.limit = limit; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public DiscussionExample(DiscussionObject sample) { oredCriteria = new ArrayList<Criteria>(); Criteria criteria = this.or(); if (sample.getProjectId() != null) { criteria.andProjectIdEqualTo(sample.getProjectId()); } if (sample.getSubject() != null) { criteria.andSubjectEqualTo(sample.getSubject()); } if (sample.getContent() != null) { criteria.andContentEqualTo(sample.getContent()); } if (sample.getCreatorId() != null) { criteria.andCreatorIdEqualTo(sample.getCreatorId()); } if (sample.getDeleted() != null) { criteria.andDeletedEqualTo(sample.getDeleted()); } if (sample.getCreated() != null) { criteria.andCreatedEqualTo(sample.getCreated()); } if (sample.getUpdated() != null) { criteria.andUpdatedEqualTo(sample.getUpdated()); } if (sample.getBcId() != null) { criteria.andBcIdEqualTo(sample.getBcId()); } if (sample.getCreatorName() != null) { criteria.andCreatorNameEqualTo(sample.getCreatorName()); } if (sample.getCompanyId() != null) { criteria.andCompanyIdEqualTo(sample.getCompanyId()); } if (sample.getCreatorAvatar() != null) { criteria.andCreatorAvatarEqualTo(sample.getCreatorAvatar()); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table discussion * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ protected abstract static class GeneratedCriteria extends BaseCriteria { protected GeneratedCriteria() { super(); } public Criteria andIdIsNull() { addCriterion("id is null"); return (Criteria) this; } public Criteria andIdIsNotNull() { addCriterion("id is not null"); return (Criteria) this; } public Criteria andIdEqualTo(Integer value) { addCriterion("id =", value, "id"); return (Criteria) this; } public Criteria andIdNotEqualTo(Integer value) { addCriterion("id <>", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThan(Integer value) { addCriterion("id >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(Integer value) { addCriterion("id >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(Integer value) { addCriterion("id <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(Integer value) { addCriterion("id <=", value, "id"); return (Criteria) this; } public Criteria andIdIn(List<Integer> values) { addCriterion("id in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List<Integer> values) { addCriterion("id not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(Integer value1, Integer value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(Integer value1, Integer value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } public Criteria andProjectIdIsNull() { addCriterion("projectId is null"); return (Criteria) this; } public Criteria andProjectIdIsNotNull() { addCriterion("projectId is not null"); return (Criteria) this; } public Criteria andProjectIdEqualTo(Integer value) { addCriterion("projectId =", value, "projectId"); return (Criteria) this; } public Criteria andProjectIdNotEqualTo(Integer value) { addCriterion("projectId <>", value, "projectId"); return (Criteria) this; } public Criteria andProjectIdGreaterThan(Integer value) { addCriterion("projectId >", value, "projectId"); return (Criteria) this; } public Criteria andProjectIdGreaterThanOrEqualTo(Integer value) { addCriterion("projectId >=", value, "projectId"); return (Criteria) this; } public Criteria andProjectIdLessThan(Integer value) { addCriterion("projectId <", value, "projectId"); return (Criteria) this; } public Criteria andProjectIdLessThanOrEqualTo(Integer value) { addCriterion("projectId <=", value, "projectId"); return (Criteria) this; } public Criteria andProjectIdIn(List<Integer> values) { addCriterion("projectId in", values, "projectId"); return (Criteria) this; } public Criteria andProjectIdNotIn(List<Integer> values) { addCriterion("projectId not in", values, "projectId"); return (Criteria) this; } public Criteria andProjectIdBetween(Integer value1, Integer value2) { addCriterion("projectId between", value1, value2, "projectId"); return (Criteria) this; } public Criteria andProjectIdNotBetween(Integer value1, Integer value2) { addCriterion("projectId not between", value1, value2, "projectId"); return (Criteria) this; } public Criteria andSubjectIsNull() { addCriterion("subject is null"); return (Criteria) this; } public Criteria andSubjectIsNotNull() { addCriterion("subject is not null"); return (Criteria) this; } public Criteria andSubjectEqualTo(String value) { addCriterion("subject =", value, "subject"); return (Criteria) this; } public Criteria andSubjectNotEqualTo(String value) { addCriterion("subject <>", value, "subject"); return (Criteria) this; } public Criteria andSubjectGreaterThan(String value) { addCriterion("subject >", value, "subject"); return (Criteria) this; } public Criteria andSubjectGreaterThanOrEqualTo(String value) { addCriterion("subject >=", value, "subject"); return (Criteria) this; } public Criteria andSubjectLessThan(String value) { addCriterion("subject <", value, "subject"); return (Criteria) this; } public Criteria andSubjectLessThanOrEqualTo(String value) { addCriterion("subject <=", value, "subject"); return (Criteria) this; } public Criteria andSubjectLike(String value) { addCriterion("subject like", value, "subject"); return (Criteria) this; } public Criteria andSubjectNotLike(String value) { addCriterion("subject not like", value, "subject"); return (Criteria) this; } public Criteria andSubjectIn(List<String> values) { addCriterion("subject in", values, "subject"); return (Criteria) this; } public Criteria andSubjectNotIn(List<String> values) { addCriterion("subject not in", values, "subject"); return (Criteria) this; } public Criteria andSubjectBetween(String value1, String value2) { addCriterion("subject between", value1, value2, "subject"); return (Criteria) this; } public Criteria andSubjectNotBetween(String value1, String value2) { addCriterion("subject not between", value1, value2, "subject"); return (Criteria) this; } public Criteria andContentIsNull() { addCriterion("content is null"); return (Criteria) this; } public Criteria andContentIsNotNull() { addCriterion("content is not null"); return (Criteria) this; } public Criteria andContentEqualTo(String value) { addCriterion("content =", value, "content"); return (Criteria) this; } public Criteria andContentNotEqualTo(String value) { addCriterion("content <>", value, "content"); return (Criteria) this; } public Criteria andContentGreaterThan(String value) { addCriterion("content >", value, "content"); return (Criteria) this; } public Criteria andContentGreaterThanOrEqualTo(String value) { addCriterion("content >=", value, "content"); return (Criteria) this; } public Criteria andContentLessThan(String value) { addCriterion("content <", value, "content"); return (Criteria) this; } public Criteria andContentLessThanOrEqualTo(String value) { addCriterion("content <=", value, "content"); return (Criteria) this; } public Criteria andContentLike(String value) { addCriterion("content like", value, "content"); return (Criteria) this; } public Criteria andContentNotLike(String value) { addCriterion("content not like", value, "content"); return (Criteria) this; } public Criteria andContentIn(List<String> values) { addCriterion("content in", values, "content"); return (Criteria) this; } public Criteria andContentNotIn(List<String> values) { addCriterion("content not in", values, "content"); return (Criteria) this; } public Criteria andContentBetween(String value1, String value2) { addCriterion("content between", value1, value2, "content"); return (Criteria) this; } public Criteria andContentNotBetween(String value1, String value2) { addCriterion("content not between", value1, value2, "content"); return (Criteria) this; } public Criteria andCreatorIdIsNull() { addCriterion("creatorId is null"); return (Criteria) this; } public Criteria andCreatorIdIsNotNull() { addCriterion("creatorId is not null"); return (Criteria) this; } public Criteria andCreatorIdEqualTo(Integer value) { addCriterion("creatorId =", value, "creatorId"); return (Criteria) this; } public Criteria andCreatorIdNotEqualTo(Integer value) { addCriterion("creatorId <>", value, "creatorId"); return (Criteria) this; } public Criteria andCreatorIdGreaterThan(Integer value) { addCriterion("creatorId >", value, "creatorId"); return (Criteria) this; } public Criteria andCreatorIdGreaterThanOrEqualTo(Integer value) { addCriterion("creatorId >=", value, "creatorId"); return (Criteria) this; } public Criteria andCreatorIdLessThan(Integer value) { addCriterion("creatorId <", value, "creatorId"); return (Criteria) this; } public Criteria andCreatorIdLessThanOrEqualTo(Integer value) { addCriterion("creatorId <=", value, "creatorId"); return (Criteria) this; } public Criteria andCreatorIdIn(List<Integer> values) { addCriterion("creatorId in", values, "creatorId"); return (Criteria) this; } public Criteria andCreatorIdNotIn(List<Integer> values) { addCriterion("creatorId not in", values, "creatorId"); return (Criteria) this; } public Criteria andCreatorIdBetween(Integer value1, Integer value2) { addCriterion("creatorId between", value1, value2, "creatorId"); return (Criteria) this; } public Criteria andCreatorIdNotBetween(Integer value1, Integer value2) { addCriterion("creatorId not between", value1, value2, "creatorId"); return (Criteria) this; } public Criteria andDeletedIsNull() { addCriterion("deleted is null"); return (Criteria) this; } public Criteria andDeletedIsNotNull() { addCriterion("deleted is not null"); return (Criteria) this; } public Criteria andDeletedEqualTo(Boolean value) { addCriterion("deleted =", value, "deleted"); return (Criteria) this; } public Criteria andDeletedNotEqualTo(Boolean value) { addCriterion("deleted <>", value, "deleted"); return (Criteria) this; } public Criteria andDeletedGreaterThan(Boolean value) { addCriterion("deleted >", value, "deleted"); return (Criteria) this; } public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) { addCriterion("deleted >=", value, "deleted"); return (Criteria) this; } public Criteria andDeletedLessThan(Boolean value) { addCriterion("deleted <", value, "deleted"); return (Criteria) this; } public Criteria andDeletedLessThanOrEqualTo(Boolean value) { addCriterion("deleted <=", value, "deleted"); return (Criteria) this; } public Criteria andDeletedIn(List<Boolean> values) { addCriterion("deleted in", values, "deleted"); return (Criteria) this; } public Criteria andDeletedNotIn(List<Boolean> values) { addCriterion("deleted not in", values, "deleted"); return (Criteria) this; } public Criteria andDeletedBetween(Boolean value1, Boolean value2) { addCriterion("deleted between", value1, value2, "deleted"); return (Criteria) this; } public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) { addCriterion("deleted not between", value1, value2, "deleted"); return (Criteria) this; } public Criteria andCreatedIsNull() { addCriterion("created is null"); return (Criteria) this; } public Criteria andCreatedIsNotNull() { addCriterion("created is not null"); return (Criteria) this; } public Criteria andCreatedEqualTo(Date value) { addCriterion("created =", value, "created"); return (Criteria) this; } public Criteria andCreatedNotEqualTo(Date value) { addCriterion("created <>", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThan(Date value) { addCriterion("created >", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThanOrEqualTo(Date value) { addCriterion("created >=", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThan(Date value) { addCriterion("created <", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThanOrEqualTo(Date value) { addCriterion("created <=", value, "created"); return (Criteria) this; } public Criteria andCreatedIn(List<Date> values) { addCriterion("created in", values, "created"); return (Criteria) this; } public Criteria andCreatedNotIn(List<Date> values) { addCriterion("created not in", values, "created"); return (Criteria) this; } public Criteria andCreatedBetween(Date value1, Date value2) { addCriterion("created between", value1, value2, "created"); return (Criteria) this; } public Criteria andCreatedNotBetween(Date value1, Date value2) { addCriterion("created not between", value1, value2, "created"); return (Criteria) this; } public Criteria andUpdatedIsNull() { addCriterion("updated is null"); return (Criteria) this; } public Criteria andUpdatedIsNotNull() { addCriterion("updated is not null"); return (Criteria) this; } public Criteria andUpdatedEqualTo(Date value) { addCriterion("updated =", value, "updated"); return (Criteria) this; } public Criteria andUpdatedNotEqualTo(Date value) { addCriterion("updated <>", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThan(Date value) { addCriterion("updated >", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThanOrEqualTo(Date value) { addCriterion("updated >=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThan(Date value) { addCriterion("updated <", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThanOrEqualTo(Date value) { addCriterion("updated <=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedIn(List<Date> values) { addCriterion("updated in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedNotIn(List<Date> values) { addCriterion("updated not in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedBetween(Date value1, Date value2) { addCriterion("updated between", value1, value2, "updated"); return (Criteria) this; } public Criteria andUpdatedNotBetween(Date value1, Date value2) { addCriterion("updated not between", value1, value2, "updated"); return (Criteria) this; } public Criteria andBcIdIsNull() { addCriterion("bcId is null"); return (Criteria) this; } public Criteria andBcIdIsNotNull() { addCriterion("bcId is not null"); return (Criteria) this; } public Criteria andBcIdEqualTo(Integer value) { addCriterion("bcId =", value, "bcId"); return (Criteria) this; } public Criteria andBcIdNotEqualTo(Integer value) { addCriterion("bcId <>", value, "bcId"); return (Criteria) this; } public Criteria andBcIdGreaterThan(Integer value) { addCriterion("bcId >", value, "bcId"); return (Criteria) this; } public Criteria andBcIdGreaterThanOrEqualTo(Integer value) { addCriterion("bcId >=", value, "bcId"); return (Criteria) this; } public Criteria andBcIdLessThan(Integer value) { addCriterion("bcId <", value, "bcId"); return (Criteria) this; } public Criteria andBcIdLessThanOrEqualTo(Integer value) { addCriterion("bcId <=", value, "bcId"); return (Criteria) this; } public Criteria andBcIdIn(List<Integer> values) { addCriterion("bcId in", values, "bcId"); return (Criteria) this; } public Criteria andBcIdNotIn(List<Integer> values) { addCriterion("bcId not in", values, "bcId"); return (Criteria) this; } public Criteria andBcIdBetween(Integer value1, Integer value2) { addCriterion("bcId between", value1, value2, "bcId"); return (Criteria) this; } public Criteria andBcIdNotBetween(Integer value1, Integer value2) { addCriterion("bcId not between", value1, value2, "bcId"); return (Criteria) this; } public Criteria andCreatorNameIsNull() { addCriterion("creatorName is null"); return (Criteria) this; } public Criteria andCreatorNameIsNotNull() { addCriterion("creatorName is not null"); return (Criteria) this; } public Criteria andCreatorNameEqualTo(String value) { addCriterion("creatorName =", value, "creatorName"); return (Criteria) this; } public Criteria andCreatorNameNotEqualTo(String value) { addCriterion("creatorName <>", value, "creatorName"); return (Criteria) this; } public Criteria andCreatorNameGreaterThan(String value) { addCriterion("creatorName >", value, "creatorName"); return (Criteria) this; } public Criteria andCreatorNameGreaterThanOrEqualTo(String value) { addCriterion("creatorName >=", value, "creatorName"); return (Criteria) this; } public Criteria andCreatorNameLessThan(String value) { addCriterion("creatorName <", value, "creatorName"); return (Criteria) this; } public Criteria andCreatorNameLessThanOrEqualTo(String value) { addCriterion("creatorName <=", value, "creatorName"); return (Criteria) this; } public Criteria andCreatorNameLike(String value) { addCriterion("creatorName like", value, "creatorName"); return (Criteria) this; } public Criteria andCreatorNameNotLike(String value) { addCriterion("creatorName not like", value, "creatorName"); return (Criteria) this; } public Criteria andCreatorNameIn(List<String> values) { addCriterion("creatorName in", values, "creatorName"); return (Criteria) this; } public Criteria andCreatorNameNotIn(List<String> values) { addCriterion("creatorName not in", values, "creatorName"); return (Criteria) this; } public Criteria andCreatorNameBetween(String value1, String value2) { addCriterion("creatorName between", value1, value2, "creatorName"); return (Criteria) this; } public Criteria andCreatorNameNotBetween(String value1, String value2) { addCriterion("creatorName not between", value1, value2, "creatorName"); return (Criteria) this; } public Criteria andCompanyIdIsNull() { addCriterion("companyId is null"); return (Criteria) this; } public Criteria andCompanyIdIsNotNull() { addCriterion("companyId is not null"); return (Criteria) this; } public Criteria andCompanyIdEqualTo(Integer value) { addCriterion("companyId =", value, "companyId"); return (Criteria) this; } public Criteria andCompanyIdNotEqualTo(Integer value) { addCriterion("companyId <>", value, "companyId"); return (Criteria) this; } public Criteria andCompanyIdGreaterThan(Integer value) { addCriterion("companyId >", value, "companyId"); return (Criteria) this; } public Criteria andCompanyIdGreaterThanOrEqualTo(Integer value) { addCriterion("companyId >=", value, "companyId"); return (Criteria) this; } public Criteria andCompanyIdLessThan(Integer value) { addCriterion("companyId <", value, "companyId"); return (Criteria) this; } public Criteria andCompanyIdLessThanOrEqualTo(Integer value) { addCriterion("companyId <=", value, "companyId"); return (Criteria) this; } public Criteria andCompanyIdIn(List<Integer> values) { addCriterion("companyId in", values, "companyId"); return (Criteria) this; } public Criteria andCompanyIdNotIn(List<Integer> values) { addCriterion("companyId not in", values, "companyId"); return (Criteria) this; } public Criteria andCompanyIdBetween(Integer value1, Integer value2) { addCriterion("companyId between", value1, value2, "companyId"); return (Criteria) this; } public Criteria andCompanyIdNotBetween(Integer value1, Integer value2) { addCriterion("companyId not between", value1, value2, "companyId"); return (Criteria) this; } public Criteria andCreatorAvatarIsNull() { addCriterion("creatorAvatar is null"); return (Criteria) this; } public Criteria andCreatorAvatarIsNotNull() { addCriterion("creatorAvatar is not null"); return (Criteria) this; } public Criteria andCreatorAvatarEqualTo(String value) { addCriterion("creatorAvatar =", value, "creatorAvatar"); return (Criteria) this; } public Criteria andCreatorAvatarNotEqualTo(String value) { addCriterion("creatorAvatar <>", value, "creatorAvatar"); return (Criteria) this; } public Criteria andCreatorAvatarGreaterThan(String value) { addCriterion("creatorAvatar >", value, "creatorAvatar"); return (Criteria) this; } public Criteria andCreatorAvatarGreaterThanOrEqualTo(String value) { addCriterion("creatorAvatar >=", value, "creatorAvatar"); return (Criteria) this; } public Criteria andCreatorAvatarLessThan(String value) { addCriterion("creatorAvatar <", value, "creatorAvatar"); return (Criteria) this; } public Criteria andCreatorAvatarLessThanOrEqualTo(String value) { addCriterion("creatorAvatar <=", value, "creatorAvatar"); return (Criteria) this; } public Criteria andCreatorAvatarLike(String value) { addCriterion("creatorAvatar like", value, "creatorAvatar"); return (Criteria) this; } public Criteria andCreatorAvatarNotLike(String value) { addCriterion("creatorAvatar not like", value, "creatorAvatar"); return (Criteria) this; } public Criteria andCreatorAvatarIn(List<String> values) { addCriterion("creatorAvatar in", values, "creatorAvatar"); return (Criteria) this; } public Criteria andCreatorAvatarNotIn(List<String> values) { addCriterion("creatorAvatar not in", values, "creatorAvatar"); return (Criteria) this; } public Criteria andCreatorAvatarBetween(String value1, String value2) { addCriterion("creatorAvatar between", value1, value2, "creatorAvatar"); return (Criteria) this; } public Criteria andCreatorAvatarNotBetween(String value1, String value2) { addCriterion("creatorAvatar not between", value1, value2, "creatorAvatar"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table discussion * * @mbggenerated do_not_delete_during_merge Wed Aug 26 19:51:19 CST 2015 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } }