/******************************************************************************* * 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 TopicExample implements BaseExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public TopicExample() { oredCriteria = new ArrayList<Criteria>(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @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 topic * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public TopicExample(TopicObject sample) { oredCriteria = new ArrayList<Criteria>(); Criteria criteria = this.or(); if (sample.getProjectId() != null) { criteria.andProjectIdEqualTo(sample.getProjectId()); } if (sample.getTitle() != null) { criteria.andTitleEqualTo(sample.getTitle()); } if (sample.getExcerpt() != null) { criteria.andExcerptEqualTo(sample.getExcerpt()); } if (sample.getLastUpdatorId() != null) { criteria.andLastUpdatorIdEqualTo(sample.getLastUpdatorId()); } if (sample.getLastUpdatorName() != null) { criteria.andLastUpdatorNameEqualTo(sample.getLastUpdatorName()); } if (sample.getRefId() != null) { criteria.andRefIdEqualTo(sample.getRefId()); } if (sample.getRefType() != null) { criteria.andRefTypeEqualTo(sample.getRefType()); } 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.getCompanyId() != null) { criteria.andCompanyIdEqualTo(sample.getCompanyId()); } if (sample.getStick() != null) { criteria.andStickEqualTo(sample.getStick()); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table topic * * @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 andTitleIsNull() { addCriterion("title is null"); return (Criteria) this; } public Criteria andTitleIsNotNull() { addCriterion("title is not null"); return (Criteria) this; } public Criteria andTitleEqualTo(String value) { addCriterion("title =", value, "title"); return (Criteria) this; } public Criteria andTitleNotEqualTo(String value) { addCriterion("title <>", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThan(String value) { addCriterion("title >", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThanOrEqualTo(String value) { addCriterion("title >=", value, "title"); return (Criteria) this; } public Criteria andTitleLessThan(String value) { addCriterion("title <", value, "title"); return (Criteria) this; } public Criteria andTitleLessThanOrEqualTo(String value) { addCriterion("title <=", value, "title"); return (Criteria) this; } public Criteria andTitleLike(String value) { addCriterion("title like", value, "title"); return (Criteria) this; } public Criteria andTitleNotLike(String value) { addCriterion("title not like", value, "title"); return (Criteria) this; } public Criteria andTitleIn(List<String> values) { addCriterion("title in", values, "title"); return (Criteria) this; } public Criteria andTitleNotIn(List<String> values) { addCriterion("title not in", values, "title"); return (Criteria) this; } public Criteria andTitleBetween(String value1, String value2) { addCriterion("title between", value1, value2, "title"); return (Criteria) this; } public Criteria andTitleNotBetween(String value1, String value2) { addCriterion("title not between", value1, value2, "title"); return (Criteria) this; } public Criteria andExcerptIsNull() { addCriterion("excerpt is null"); return (Criteria) this; } public Criteria andExcerptIsNotNull() { addCriterion("excerpt is not null"); return (Criteria) this; } public Criteria andExcerptEqualTo(String value) { addCriterion("excerpt =", value, "excerpt"); return (Criteria) this; } public Criteria andExcerptNotEqualTo(String value) { addCriterion("excerpt <>", value, "excerpt"); return (Criteria) this; } public Criteria andExcerptGreaterThan(String value) { addCriterion("excerpt >", value, "excerpt"); return (Criteria) this; } public Criteria andExcerptGreaterThanOrEqualTo(String value) { addCriterion("excerpt >=", value, "excerpt"); return (Criteria) this; } public Criteria andExcerptLessThan(String value) { addCriterion("excerpt <", value, "excerpt"); return (Criteria) this; } public Criteria andExcerptLessThanOrEqualTo(String value) { addCriterion("excerpt <=", value, "excerpt"); return (Criteria) this; } public Criteria andExcerptLike(String value) { addCriterion("excerpt like", value, "excerpt"); return (Criteria) this; } public Criteria andExcerptNotLike(String value) { addCriterion("excerpt not like", value, "excerpt"); return (Criteria) this; } public Criteria andExcerptIn(List<String> values) { addCriterion("excerpt in", values, "excerpt"); return (Criteria) this; } public Criteria andExcerptNotIn(List<String> values) { addCriterion("excerpt not in", values, "excerpt"); return (Criteria) this; } public Criteria andExcerptBetween(String value1, String value2) { addCriterion("excerpt between", value1, value2, "excerpt"); return (Criteria) this; } public Criteria andExcerptNotBetween(String value1, String value2) { addCriterion("excerpt not between", value1, value2, "excerpt"); return (Criteria) this; } public Criteria andLastUpdatorIdIsNull() { addCriterion("lastUpdatorId is null"); return (Criteria) this; } public Criteria andLastUpdatorIdIsNotNull() { addCriterion("lastUpdatorId is not null"); return (Criteria) this; } public Criteria andLastUpdatorIdEqualTo(Integer value) { addCriterion("lastUpdatorId =", value, "lastUpdatorId"); return (Criteria) this; } public Criteria andLastUpdatorIdNotEqualTo(Integer value) { addCriterion("lastUpdatorId <>", value, "lastUpdatorId"); return (Criteria) this; } public Criteria andLastUpdatorIdGreaterThan(Integer value) { addCriterion("lastUpdatorId >", value, "lastUpdatorId"); return (Criteria) this; } public Criteria andLastUpdatorIdGreaterThanOrEqualTo(Integer value) { addCriterion("lastUpdatorId >=", value, "lastUpdatorId"); return (Criteria) this; } public Criteria andLastUpdatorIdLessThan(Integer value) { addCriterion("lastUpdatorId <", value, "lastUpdatorId"); return (Criteria) this; } public Criteria andLastUpdatorIdLessThanOrEqualTo(Integer value) { addCriterion("lastUpdatorId <=", value, "lastUpdatorId"); return (Criteria) this; } public Criteria andLastUpdatorIdIn(List<Integer> values) { addCriterion("lastUpdatorId in", values, "lastUpdatorId"); return (Criteria) this; } public Criteria andLastUpdatorIdNotIn(List<Integer> values) { addCriterion("lastUpdatorId not in", values, "lastUpdatorId"); return (Criteria) this; } public Criteria andLastUpdatorIdBetween(Integer value1, Integer value2) { addCriterion("lastUpdatorId between", value1, value2, "lastUpdatorId"); return (Criteria) this; } public Criteria andLastUpdatorIdNotBetween(Integer value1, Integer value2) { addCriterion("lastUpdatorId not between", value1, value2, "lastUpdatorId"); return (Criteria) this; } public Criteria andLastUpdatorNameIsNull() { addCriterion("lastUpdatorName is null"); return (Criteria) this; } public Criteria andLastUpdatorNameIsNotNull() { addCriterion("lastUpdatorName is not null"); return (Criteria) this; } public Criteria andLastUpdatorNameEqualTo(String value) { addCriterion("lastUpdatorName =", value, "lastUpdatorName"); return (Criteria) this; } public Criteria andLastUpdatorNameNotEqualTo(String value) { addCriterion("lastUpdatorName <>", value, "lastUpdatorName"); return (Criteria) this; } public Criteria andLastUpdatorNameGreaterThan(String value) { addCriterion("lastUpdatorName >", value, "lastUpdatorName"); return (Criteria) this; } public Criteria andLastUpdatorNameGreaterThanOrEqualTo(String value) { addCriterion("lastUpdatorName >=", value, "lastUpdatorName"); return (Criteria) this; } public Criteria andLastUpdatorNameLessThan(String value) { addCriterion("lastUpdatorName <", value, "lastUpdatorName"); return (Criteria) this; } public Criteria andLastUpdatorNameLessThanOrEqualTo(String value) { addCriterion("lastUpdatorName <=", value, "lastUpdatorName"); return (Criteria) this; } public Criteria andLastUpdatorNameLike(String value) { addCriterion("lastUpdatorName like", value, "lastUpdatorName"); return (Criteria) this; } public Criteria andLastUpdatorNameNotLike(String value) { addCriterion("lastUpdatorName not like", value, "lastUpdatorName"); return (Criteria) this; } public Criteria andLastUpdatorNameIn(List<String> values) { addCriterion("lastUpdatorName in", values, "lastUpdatorName"); return (Criteria) this; } public Criteria andLastUpdatorNameNotIn(List<String> values) { addCriterion("lastUpdatorName not in", values, "lastUpdatorName"); return (Criteria) this; } public Criteria andLastUpdatorNameBetween(String value1, String value2) { addCriterion("lastUpdatorName between", value1, value2, "lastUpdatorName"); return (Criteria) this; } public Criteria andLastUpdatorNameNotBetween(String value1, String value2) { addCriterion("lastUpdatorName not between", value1, value2, "lastUpdatorName"); return (Criteria) this; } public Criteria andRefIdIsNull() { addCriterion("refId is null"); return (Criteria) this; } public Criteria andRefIdIsNotNull() { addCriterion("refId is not null"); return (Criteria) this; } public Criteria andRefIdEqualTo(Integer value) { addCriterion("refId =", value, "refId"); return (Criteria) this; } public Criteria andRefIdNotEqualTo(Integer value) { addCriterion("refId <>", value, "refId"); return (Criteria) this; } public Criteria andRefIdGreaterThan(Integer value) { addCriterion("refId >", value, "refId"); return (Criteria) this; } public Criteria andRefIdGreaterThanOrEqualTo(Integer value) { addCriterion("refId >=", value, "refId"); return (Criteria) this; } public Criteria andRefIdLessThan(Integer value) { addCriterion("refId <", value, "refId"); return (Criteria) this; } public Criteria andRefIdLessThanOrEqualTo(Integer value) { addCriterion("refId <=", value, "refId"); return (Criteria) this; } public Criteria andRefIdIn(List<Integer> values) { addCriterion("refId in", values, "refId"); return (Criteria) this; } public Criteria andRefIdNotIn(List<Integer> values) { addCriterion("refId not in", values, "refId"); return (Criteria) this; } public Criteria andRefIdBetween(Integer value1, Integer value2) { addCriterion("refId between", value1, value2, "refId"); return (Criteria) this; } public Criteria andRefIdNotBetween(Integer value1, Integer value2) { addCriterion("refId not between", value1, value2, "refId"); return (Criteria) this; } public Criteria andRefTypeIsNull() { addCriterion("refType is null"); return (Criteria) this; } public Criteria andRefTypeIsNotNull() { addCriterion("refType is not null"); return (Criteria) this; } public Criteria andRefTypeEqualTo(String value) { addCriterion("refType =", value, "refType"); return (Criteria) this; } public Criteria andRefTypeNotEqualTo(String value) { addCriterion("refType <>", value, "refType"); return (Criteria) this; } public Criteria andRefTypeGreaterThan(String value) { addCriterion("refType >", value, "refType"); return (Criteria) this; } public Criteria andRefTypeGreaterThanOrEqualTo(String value) { addCriterion("refType >=", value, "refType"); return (Criteria) this; } public Criteria andRefTypeLessThan(String value) { addCriterion("refType <", value, "refType"); return (Criteria) this; } public Criteria andRefTypeLessThanOrEqualTo(String value) { addCriterion("refType <=", value, "refType"); return (Criteria) this; } public Criteria andRefTypeLike(String value) { addCriterion("refType like", value, "refType"); return (Criteria) this; } public Criteria andRefTypeNotLike(String value) { addCriterion("refType not like", value, "refType"); return (Criteria) this; } public Criteria andRefTypeIn(List<String> values) { addCriterion("refType in", values, "refType"); return (Criteria) this; } public Criteria andRefTypeNotIn(List<String> values) { addCriterion("refType not in", values, "refType"); return (Criteria) this; } public Criteria andRefTypeBetween(String value1, String value2) { addCriterion("refType between", value1, value2, "refType"); return (Criteria) this; } public Criteria andRefTypeNotBetween(String value1, String value2) { addCriterion("refType not between", value1, value2, "refType"); 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 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 andStickIsNull() { addCriterion("stick is null"); return (Criteria) this; } public Criteria andStickIsNotNull() { addCriterion("stick is not null"); return (Criteria) this; } public Criteria andStickEqualTo(Boolean value) { addCriterion("stick =", value, "stick"); return (Criteria) this; } public Criteria andStickNotEqualTo(Boolean value) { addCriterion("stick <>", value, "stick"); return (Criteria) this; } public Criteria andStickGreaterThan(Boolean value) { addCriterion("stick >", value, "stick"); return (Criteria) this; } public Criteria andStickGreaterThanOrEqualTo(Boolean value) { addCriterion("stick >=", value, "stick"); return (Criteria) this; } public Criteria andStickLessThan(Boolean value) { addCriterion("stick <", value, "stick"); return (Criteria) this; } public Criteria andStickLessThanOrEqualTo(Boolean value) { addCriterion("stick <=", value, "stick"); return (Criteria) this; } public Criteria andStickIn(List<Boolean> values) { addCriterion("stick in", values, "stick"); return (Criteria) this; } public Criteria andStickNotIn(List<Boolean> values) { addCriterion("stick not in", values, "stick"); return (Criteria) this; } public Criteria andStickBetween(Boolean value1, Boolean value2) { addCriterion("stick between", value1, value2, "stick"); return (Criteria) this; } public Criteria andStickNotBetween(Boolean value1, Boolean value2) { addCriterion("stick not between", value1, value2, "stick"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table topic * * @mbggenerated do_not_delete_during_merge Wed Aug 26 19:51:19 CST 2015 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } }