/******************************************************************************* * 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 AttachmentExample implements BaseExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public AttachmentExample() { oredCriteria = new ArrayList<Criteria>(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @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 attachment * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public AttachmentExample(AttachmentObject sample) { oredCriteria = new ArrayList<Criteria>(); Criteria criteria = this.or(); if (sample.getProjectId() != null) { criteria.andProjectIdEqualTo(sample.getProjectId()); } if (sample.getName() != null) { criteria.andNameEqualTo(sample.getName()); } if (sample.getSize() != null) { criteria.andSizeEqualTo(sample.getSize()); } if (sample.getContentType() != null) { criteria.andContentTypeEqualTo(sample.getContentType()); } if (sample.getCreatorId() != null) { criteria.andCreatorIdEqualTo(sample.getCreatorId()); } if (sample.getAttachId() != null) { criteria.andAttachIdEqualTo(sample.getAttachId()); } if (sample.getAttachType() != null) { criteria.andAttachTypeEqualTo(sample.getAttachType()); } if (sample.getCreated() != null) { criteria.andCreatedEqualTo(sample.getCreated()); } if (sample.getCreatorName() != null) { criteria.andCreatorNameEqualTo(sample.getCreatorName()); } if (sample.getTargetType() != null) { criteria.andTargetTypeEqualTo(sample.getTargetType()); } if (sample.getTargetId() != null) { criteria.andTargetIdEqualTo(sample.getTargetId()); } if (sample.getCompanyId() != null) { criteria.andCompanyIdEqualTo(sample.getCompanyId()); } if (sample.getDeleted() != null) { criteria.andDeletedEqualTo(sample.getDeleted()); } if (sample.getCreatorAvatar() != null) { criteria.andCreatorAvatarEqualTo(sample.getCreatorAvatar()); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table attachment * * @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 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<String> values) { addCriterion("name in", values, "name"); return (Criteria) this; } public Criteria andNameNotIn(List<String> 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 andSizeIsNull() { addCriterion("size is null"); return (Criteria) this; } public Criteria andSizeIsNotNull() { addCriterion("size is not null"); return (Criteria) this; } public Criteria andSizeEqualTo(Long value) { addCriterion("size =", value, "size"); return (Criteria) this; } public Criteria andSizeNotEqualTo(Long value) { addCriterion("size <>", value, "size"); return (Criteria) this; } public Criteria andSizeGreaterThan(Long value) { addCriterion("size >", value, "size"); return (Criteria) this; } public Criteria andSizeGreaterThanOrEqualTo(Long value) { addCriterion("size >=", value, "size"); return (Criteria) this; } public Criteria andSizeLessThan(Long value) { addCriterion("size <", value, "size"); return (Criteria) this; } public Criteria andSizeLessThanOrEqualTo(Long value) { addCriterion("size <=", value, "size"); return (Criteria) this; } public Criteria andSizeIn(List<Long> values) { addCriterion("size in", values, "size"); return (Criteria) this; } public Criteria andSizeNotIn(List<Long> values) { addCriterion("size not in", values, "size"); return (Criteria) this; } public Criteria andSizeBetween(Long value1, Long value2) { addCriterion("size between", value1, value2, "size"); return (Criteria) this; } public Criteria andSizeNotBetween(Long value1, Long value2) { addCriterion("size not between", value1, value2, "size"); return (Criteria) this; } public Criteria andContentTypeIsNull() { addCriterion("contentType is null"); return (Criteria) this; } public Criteria andContentTypeIsNotNull() { addCriterion("contentType is not null"); return (Criteria) this; } public Criteria andContentTypeEqualTo(String value) { addCriterion("contentType =", value, "contentType"); return (Criteria) this; } public Criteria andContentTypeNotEqualTo(String value) { addCriterion("contentType <>", value, "contentType"); return (Criteria) this; } public Criteria andContentTypeGreaterThan(String value) { addCriterion("contentType >", value, "contentType"); return (Criteria) this; } public Criteria andContentTypeGreaterThanOrEqualTo(String value) { addCriterion("contentType >=", value, "contentType"); return (Criteria) this; } public Criteria andContentTypeLessThan(String value) { addCriterion("contentType <", value, "contentType"); return (Criteria) this; } public Criteria andContentTypeLessThanOrEqualTo(String value) { addCriterion("contentType <=", value, "contentType"); return (Criteria) this; } public Criteria andContentTypeLike(String value) { addCriterion("contentType like", value, "contentType"); return (Criteria) this; } public Criteria andContentTypeNotLike(String value) { addCriterion("contentType not like", value, "contentType"); return (Criteria) this; } public Criteria andContentTypeIn(List<String> values) { addCriterion("contentType in", values, "contentType"); return (Criteria) this; } public Criteria andContentTypeNotIn(List<String> values) { addCriterion("contentType not in", values, "contentType"); return (Criteria) this; } public Criteria andContentTypeBetween(String value1, String value2) { addCriterion("contentType between", value1, value2, "contentType"); return (Criteria) this; } public Criteria andContentTypeNotBetween(String value1, String value2) { addCriterion("contentType not between", value1, value2, "contentType"); 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 andAttachIdIsNull() { addCriterion("attachId is null"); return (Criteria) this; } public Criteria andAttachIdIsNotNull() { addCriterion("attachId is not null"); return (Criteria) this; } public Criteria andAttachIdEqualTo(Integer value) { addCriterion("attachId =", value, "attachId"); return (Criteria) this; } public Criteria andAttachIdNotEqualTo(Integer value) { addCriterion("attachId <>", value, "attachId"); return (Criteria) this; } public Criteria andAttachIdGreaterThan(Integer value) { addCriterion("attachId >", value, "attachId"); return (Criteria) this; } public Criteria andAttachIdGreaterThanOrEqualTo(Integer value) { addCriterion("attachId >=", value, "attachId"); return (Criteria) this; } public Criteria andAttachIdLessThan(Integer value) { addCriterion("attachId <", value, "attachId"); return (Criteria) this; } public Criteria andAttachIdLessThanOrEqualTo(Integer value) { addCriterion("attachId <=", value, "attachId"); return (Criteria) this; } public Criteria andAttachIdIn(List<Integer> values) { addCriterion("attachId in", values, "attachId"); return (Criteria) this; } public Criteria andAttachIdNotIn(List<Integer> values) { addCriterion("attachId not in", values, "attachId"); return (Criteria) this; } public Criteria andAttachIdBetween(Integer value1, Integer value2) { addCriterion("attachId between", value1, value2, "attachId"); return (Criteria) this; } public Criteria andAttachIdNotBetween(Integer value1, Integer value2) { addCriterion("attachId not between", value1, value2, "attachId"); return (Criteria) this; } public Criteria andAttachTypeIsNull() { addCriterion("attachType is null"); return (Criteria) this; } public Criteria andAttachTypeIsNotNull() { addCriterion("attachType is not null"); return (Criteria) this; } public Criteria andAttachTypeEqualTo(String value) { addCriterion("attachType =", value, "attachType"); return (Criteria) this; } public Criteria andAttachTypeNotEqualTo(String value) { addCriterion("attachType <>", value, "attachType"); return (Criteria) this; } public Criteria andAttachTypeGreaterThan(String value) { addCriterion("attachType >", value, "attachType"); return (Criteria) this; } public Criteria andAttachTypeGreaterThanOrEqualTo(String value) { addCriterion("attachType >=", value, "attachType"); return (Criteria) this; } public Criteria andAttachTypeLessThan(String value) { addCriterion("attachType <", value, "attachType"); return (Criteria) this; } public Criteria andAttachTypeLessThanOrEqualTo(String value) { addCriterion("attachType <=", value, "attachType"); return (Criteria) this; } public Criteria andAttachTypeLike(String value) { addCriterion("attachType like", value, "attachType"); return (Criteria) this; } public Criteria andAttachTypeNotLike(String value) { addCriterion("attachType not like", value, "attachType"); return (Criteria) this; } public Criteria andAttachTypeIn(List<String> values) { addCriterion("attachType in", values, "attachType"); return (Criteria) this; } public Criteria andAttachTypeNotIn(List<String> values) { addCriterion("attachType not in", values, "attachType"); return (Criteria) this; } public Criteria andAttachTypeBetween(String value1, String value2) { addCriterion("attachType between", value1, value2, "attachType"); return (Criteria) this; } public Criteria andAttachTypeNotBetween(String value1, String value2) { addCriterion("attachType not between", value1, value2, "attachType"); 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 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 andTargetTypeIsNull() { addCriterion("targetType is null"); return (Criteria) this; } public Criteria andTargetTypeIsNotNull() { addCriterion("targetType is not null"); return (Criteria) this; } public Criteria andTargetTypeEqualTo(String value) { addCriterion("targetType =", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeNotEqualTo(String value) { addCriterion("targetType <>", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeGreaterThan(String value) { addCriterion("targetType >", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeGreaterThanOrEqualTo(String value) { addCriterion("targetType >=", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeLessThan(String value) { addCriterion("targetType <", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeLessThanOrEqualTo(String value) { addCriterion("targetType <=", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeLike(String value) { addCriterion("targetType like", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeNotLike(String value) { addCriterion("targetType not like", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeIn(List<String> values) { addCriterion("targetType in", values, "targetType"); return (Criteria) this; } public Criteria andTargetTypeNotIn(List<String> values) { addCriterion("targetType not in", values, "targetType"); return (Criteria) this; } public Criteria andTargetTypeBetween(String value1, String value2) { addCriterion("targetType between", value1, value2, "targetType"); return (Criteria) this; } public Criteria andTargetTypeNotBetween(String value1, String value2) { addCriterion("targetType not between", value1, value2, "targetType"); return (Criteria) this; } public Criteria andTargetIdIsNull() { addCriterion("targetId is null"); return (Criteria) this; } public Criteria andTargetIdIsNotNull() { addCriterion("targetId is not null"); return (Criteria) this; } public Criteria andTargetIdEqualTo(Integer value) { addCriterion("targetId =", value, "targetId"); return (Criteria) this; } public Criteria andTargetIdNotEqualTo(Integer value) { addCriterion("targetId <>", value, "targetId"); return (Criteria) this; } public Criteria andTargetIdGreaterThan(Integer value) { addCriterion("targetId >", value, "targetId"); return (Criteria) this; } public Criteria andTargetIdGreaterThanOrEqualTo(Integer value) { addCriterion("targetId >=", value, "targetId"); return (Criteria) this; } public Criteria andTargetIdLessThan(Integer value) { addCriterion("targetId <", value, "targetId"); return (Criteria) this; } public Criteria andTargetIdLessThanOrEqualTo(Integer value) { addCriterion("targetId <=", value, "targetId"); return (Criteria) this; } public Criteria andTargetIdIn(List<Integer> values) { addCriterion("targetId in", values, "targetId"); return (Criteria) this; } public Criteria andTargetIdNotIn(List<Integer> values) { addCriterion("targetId not in", values, "targetId"); return (Criteria) this; } public Criteria andTargetIdBetween(Integer value1, Integer value2) { addCriterion("targetId between", value1, value2, "targetId"); return (Criteria) this; } public Criteria andTargetIdNotBetween(Integer value1, Integer value2) { addCriterion("targetId not between", value1, value2, "targetId"); 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 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 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 attachment * * @mbggenerated do_not_delete_during_merge Wed Aug 26 19:51:19 CST 2015 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } }