01: /*
02: * This program is free software; you can redistribute it and/or modify
03: * it under the terms of the GNU General Public License as published by
04: * the Free Software Foundation; either version 2 of the License, or
05: * (at your option) any later version.
06: *
07: * This program is distributed in the hope that it will be useful,
08: * but WITHOUT ANY WARRANTY; without even the implied warranty of
09: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10: * GNU Library General Public License for more details.
11: *
12: * You should have received a copy of the GNU General Public License
13: * along with this program; if not, write to the Free Software
14: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15: */
16: package dlog4j.formbean;
17:
18: /**
19: * 日记附件,对应表dlog_attachement
20: * @author Liudong
21: */
22: public class AttachmentForm extends DlogActionForm {
23:
24: int id;
25: int type;
26: LogForm log;
27: int urlType;
28: String url;
29:
30: public int getId() {
31: return id;
32: }
33:
34: public void setId(int id) {
35: this .id = id;
36: }
37:
38: public LogForm getLog() {
39: return log;
40: }
41:
42: public void setLog(LogForm log) {
43: this .log = log;
44: }
45:
46: public int getType() {
47: return type;
48: }
49:
50: public void setType(int type) {
51: this .type = type;
52: }
53:
54: public String getUrl() {
55: return url;
56: }
57:
58: public void setUrl(String url) {
59: this .url = url;
60: }
61:
62: public int getUrlType() {
63: return urlType;
64: }
65:
66: public void setUrlType(int urlType) {
67: this.urlType = urlType;
68: }
69: }
|