/******************************************************************************* * 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; public class AttachmentDTO implements DTO { public AttachmentDTO() { } private String attachUrl; private List<TagDTO> tagDtos; private Integer id; private Integer projectId; private String name; private Long size; private String code; private String contentType; private Integer creatorId; private Integer attachId; private String attachType; private Date created; private String creatorName; private String targetType; private Integer targetId; private Integer companyId; private Boolean deleted; public String getAttachUrl() { return attachUrl; } public void setAttachUrl(String attachUrl) { this.attachUrl = attachUrl; } 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 String getName() { return name; } public void setName(String name) { this.name = name; } public Long getSize() { return size; } public void setSize(Long size) { this.size = size; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } public String getContentType() { return contentType; } public void setContentType(String contentType) { this.contentType = contentType; } public Integer getCreatorId() { return creatorId; } public void setCreatorId(Integer creatorId) { this.creatorId = creatorId; } 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 getTargetType() { return targetType; } public void setTargetType(String targetType) { this.targetType = targetType; } public Integer getTargetId() { return targetId; } public void setTargetId(Integer targetId) { this.targetId = targetId; } public Integer getCompanyId() { return companyId; } public void setCompanyId(Integer companyId) { this.companyId = companyId; } public Boolean getDeleted() { return deleted; } public void setDeleted(Boolean deleted) { this.deleted = deleted; } public List<TagDTO> getTagDtos() { return tagDtos; } public void setTagDtos(List<TagDTO> tagDtos) { this.tagDtos = tagDtos; } }