package org.activityinfo.legacy.shared.model; /* * #%L * ActivityInfo Server * %% * Copyright (C) 2009 - 2013 UNICEF * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this program. If not, see * <http://www.gnu.org/licenses/gpl-3.0.html>. * #L% */ import com.extjs.gxt.ui.client.data.BaseModelData; public class SiteAttachmentDTO extends BaseModelData implements DTO { private static final long serialVersionUID = 4834762767256920716L; private int siteId; private String blobId; private String fileName; private int uploadedBy; private double blobSize; private String contentType; public SiteAttachmentDTO() { } public int getSiteId() { return siteId; } public void setSiteId(int siteId) { this.siteId = siteId; } public String getBlobId() { return blobId; } public void setBlobId(String blobId) { this.blobId = blobId; } public String getFileName() { return fileName; } public void setFileName(String fileName) { set("fileName", fileName); this.fileName = fileName; } public int getUploadedBy() { return uploadedBy; } public void setUploadedBy(int uploadedBy) { this.uploadedBy = uploadedBy; } public double getBlobSize() { return blobSize; } public void setBlobSize(double blobSize) { this.blobSize = blobSize; } public String getContentType() { return contentType; } public void setContentType(String contentType) { this.contentType = contentType; } }