/******************************************************************************* * 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; public class ActivityDTO implements DTO { private Integer id; private Integer projectId; private Integer companyId; private String subject; private String target; private String content; private Integer creatorId; private UserDTO creatorDTO; private String action; private Integer attachId; private String attachType; private Date created; private String creatorName; private String projectName; private Boolean trash; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Integer getProjectId() { return projectId; } public void setProjectId(Integer projectId) { this.projectId = projectId; } public Integer getCompanyId() { return companyId; } public void setCompanyId(Integer companyId) { this.companyId = companyId; } public String getSubject() { return subject; } public void setSubject(String subject) { this.subject = subject; } public String getTarget() { return target; } public void setTarget(String target) { this.target = target; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public Integer getCreatorId() { return creatorId; } public void setCreatorId(Integer creatorId) { this.creatorId = creatorId; } public UserDTO getCreator() { return creatorDTO; } public void setCreator(UserDTO creator) { creatorDTO = creator; } public String getAction() { return action; } public void setAction(String action) { this.action = action; } public Integer getAttachId() { return attachId; } public void setAttachId(Integer attachId) { this.attachId = attachId; } public String getAttachType() { return attachType; } public void setAttachType(String attachType) { this.attachType = attachType; } public Date getCreated() { return created; } public void setCreated(Date created) { this.created = created; } public String getCreatorName() { return creatorName; } public void setCreatorName(String creatorName) { this.creatorName = creatorName; } public String getProjectName() { return projectName; } public void setProjectName(String projectName) { this.projectName = projectName; } public Boolean getTrash() { return trash; } public void setTrash(Boolean trash) { this.trash = trash; } }