001: /*
002: * $Header: /cvsroot/mvnforum/mvnforum/src/com/mvnforum/db/PmAttachmentBean.java,v 1.11 2007/10/09 11:09:19 lexuanttkhtn Exp $
003: * $Author: lexuanttkhtn $
004: * $Revision: 1.11 $
005: * $Date: 2007/10/09 11:09:19 $
006: *
007: * ====================================================================
008: *
009: * Copyright (C) 2002-2007 by MyVietnam.net
010: *
011: * All copyright notices regarding mvnForum MUST remain
012: * intact in the scripts and in the outputted HTML.
013: * The "powered by" text/logo with a link back to
014: * http://www.mvnForum.com and http://www.MyVietnam.net in
015: * the footer of the pages MUST remain visible when the pages
016: * are viewed on the internet or intranet.
017: *
018: * This program is free software; you can redistribute it and/or modify
019: * it under the terms of the GNU General Public License as published by
020: * the Free Software Foundation; either version 2 of the License, or
021: * any later version.
022: *
023: * This program is distributed in the hope that it will be useful,
024: * but WITHOUT ANY WARRANTY; without even the implied warranty of
025: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
026: * GNU General Public License for more details.
027: *
028: * You should have received a copy of the GNU General Public License
029: * along with this program; if not, write to the Free Software
030: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
031: *
032: * Support can be obtained from support forums at:
033: * http://www.mvnForum.com/mvnforum/index
034: *
035: * Correspondence and Marketing Questions can be sent to:
036: * info at MyVietnam net
037: *
038: * @author: Minh Nguyen
039: * @author: Mai Nguyen
040: */
041: package com.mvnforum.db;
042:
043: import java.sql.Timestamp;
044:
045: import net.myvietnam.mvncore.util.StringUtil;
046:
047: /*
048: * Included columns: PmAttachID, MemberID, PmAttachFilename, PmAttachFileSize,
049: * PmAttachMimeType, PmAttachDesc, PmAttachCreationIP, PmAttachCreationDate, PmAttachModifiedDate,
050: * PmAttachDownloadCount, PmAttachOption, PmAttachStatus
051: * Excluded columns:
052: */
053: public class PmAttachmentBean {
054: private int pmAttachID;
055: private int memberID;
056: private String pmAttachFilename;
057: private int pmAttachFileSize;
058: private String pmAttachMimeType;
059: private String pmAttachDesc;
060: private String pmAttachCreationIP;
061: private Timestamp pmAttachCreationDate;
062: private Timestamp pmAttachModifiedDate;
063: private int pmAttachDownloadCount;
064: private int pmAttachOption;
065: private int pmAttachStatus;
066:
067: public int getPmAttachID() {
068: return pmAttachID;
069: }
070:
071: public void setPmAttachID(int pmAttachID) {
072: this .pmAttachID = pmAttachID;
073: }
074:
075: public int getMemberID() {
076: return memberID;
077: }
078:
079: public void setMemberID(int memberID) {
080: this .memberID = memberID;
081: }
082:
083: public String getPmAttachFilename() {
084: return pmAttachFilename;
085: }
086:
087: public void setPmAttachFilename(String pmAttachFilename) {
088: this .pmAttachFilename = StringUtil
089: .getEmptyStringIfNull(pmAttachFilename);
090: }
091:
092: public int getPmAttachFileSize() {
093: return pmAttachFileSize;
094: }
095:
096: public void setPmAttachFileSize(int pmAttachFileSize) {
097: this .pmAttachFileSize = pmAttachFileSize;
098: }
099:
100: public String getPmAttachMimeType() {
101: return pmAttachMimeType;
102: }
103:
104: public void setPmAttachMimeType(String pmAttachMimeType) {
105: this .pmAttachMimeType = StringUtil
106: .getEmptyStringIfNull(pmAttachMimeType);
107: }
108:
109: public String getPmAttachDesc() {
110: return pmAttachDesc;
111: }
112:
113: public void setPmAttachDesc(String pmAttachDesc) {
114: this .pmAttachDesc = StringUtil
115: .getEmptyStringIfNull(pmAttachDesc);
116: }
117:
118: public String getPmAttachCreationIP() {
119: return pmAttachCreationIP;
120: }
121:
122: public void setPmAttachCreationIP(String pmAttachCreationIP) {
123: this .pmAttachCreationIP = StringUtil
124: .getEmptyStringIfNull(pmAttachCreationIP);
125: }
126:
127: public Timestamp getPmAttachCreationDate() {
128: return pmAttachCreationDate;
129: }
130:
131: public void setPmAttachCreationDate(Timestamp pmAttachCreationDate) {
132: this .pmAttachCreationDate = pmAttachCreationDate;
133: }
134:
135: public Timestamp getPmAttachModifiedDate() {
136: return pmAttachModifiedDate;
137: }
138:
139: public void setPmAttachModifiedDate(Timestamp pmAttachModifiedDate) {
140: this .pmAttachModifiedDate = pmAttachModifiedDate;
141: }
142:
143: public int getPmAttachDownloadCount() {
144: return pmAttachDownloadCount;
145: }
146:
147: public void setPmAttachDownloadCount(int pmAttachDownloadCount) {
148: this .pmAttachDownloadCount = pmAttachDownloadCount;
149: }
150:
151: public int getPmAttachOption() {
152: return pmAttachOption;
153: }
154:
155: public void setPmAttachOption(int pmAttachOption) {
156: this .pmAttachOption = pmAttachOption;
157: }
158:
159: public int getPmAttachStatus() {
160: return pmAttachStatus;
161: }
162:
163: public void setPmAttachStatus(int pmAttachStatus) {
164: this .pmAttachStatus = pmAttachStatus;
165: }
166:
167: } //end of class PmAttachmentBean
|