/*******************************************************************************
* 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.dto;
import java.util.Date;
import java.util.List;
import java.util.Map;
public class IndexDocumentDTO {
private String modelType;
private Integer modelId;
private Integer projectId;
private String projectName;
private Integer companyId;
private Date createdTime;
private Integer creatorId;
private String creatorName;
private String creatorAvatar;
private List<Integer> relatorIds;
private String title;
private String content;
private Map<String, Object> extendIndexFileds;
public String getModelType() {
return modelType;
}
public void setModelType(String modelType) {
this.modelType = modelType;
}
public Integer getModelId() {
return modelId;
}
public void setModelId(Integer modelId) {
this.modelId = modelId;
}
public Integer getProjectId() {
return projectId;
}
public void setProjectId(Integer projectId) {
this.projectId = projectId;
}
public String getProjectName() {
return projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
}
public Integer getCompanyId() {
return companyId;
}
public void setCompanyId(Integer companyId) {
this.companyId = companyId;
}
public Date getCreatedTime() {
return createdTime;
}
public void setCreatedTime(Date createdTime) {
this.createdTime = createdTime;
}
public Integer getCreatorId() {
return creatorId;
}
public void setCreatorId(Integer creatorId) {
this.creatorId = creatorId;
}
public String getCreatorName() {
return creatorName;
}
public void setCreatorName(String creatorName) {
this.creatorName = creatorName;
}
public String getCreatorAvatar() {
return creatorAvatar;
}
public void setCreatorAvatar(String creatorAvatar) {
this.creatorAvatar = creatorAvatar;
}
public List<Integer> getRelatorIds() {
return relatorIds;
}
public void setRelatorIds(List<Integer> relatorIds) {
this.relatorIds = relatorIds;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public boolean needIndex() {
return false;
}
public Map<String, Object> getExtendIndexFileds() {
return extendIndexFileds;
}
public void setExtendIndexFileds(Map<String, Object> extendIndexFileds) {
this.extendIndexFileds = extendIndexFileds;
}
}