001 /*
002 *
003 * $Revision: 13085 $ $Date: 2008-02-06 18:27:24 +0100 (Mi, 06 Feb 2008) $
004 *
005 * This file is part of *** M y C o R e ***
006 * See http://www.mycore.de/ for details.
007 *
008 * This program is free software; you can use it, redistribute it
009 * and / or modify it under the terms of the GNU General Public License
010 * (GPL) as published by the Free Software Foundation; either version 2
011 * of the License or (at your option) any later version.
012 *
013 * This program is distributed in the hope that it will be useful, but
014 * WITHOUT ANY WARRANTY; without even the implied warranty of
015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
016 * GNU General Public License for more details.
017 *
018 * You should have received a copy of the GNU General Public License
019 * along with this program, in a file called gpl.txt or license.txt.
020 * If not, write to the Free Software Foundation Inc.,
021 * 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA
022 */
023
024 package org.mycore.backend.hibernate.tables;
025
026 import java.sql.Timestamp;
027
028 public class MCRUSERS {
029 private int numid;
030
031 private String uid;
032
033 private String creator;
034
035 private Timestamp creationdate;
036
037 private Timestamp modifieddate;
038
039 private String description;
040
041 private String passwd;
042
043 private String enabled;
044
045 private String upd;
046
047 private String salutation;
048
049 private String firstname;
050
051 private String lastname;
052
053 private String street;
054
055 private String city;
056
057 private String postalcode;
058
059 private String country;
060
061 private String state;
062
063 private String institution;
064
065 private String faculty;
066
067 private String department;
068
069 private String institute;
070
071 private String telephone;
072
073 private String fax;
074
075 private String email;
076
077 private String cellphone;
078
079 private MCRGROUPS primgroup;
080
081 public MCRUSERS() {
082 }
083
084 public MCRUSERS(int numid, String uid) {
085 this.numid=numid;
086 this.uid=uid;
087 }
088
089 /**
090 * @hibernate.property column="NUMID" not-null="true" update="true"
091 */
092 public int getNumid() {
093 return numid;
094 }
095
096 public void setNumid(int numid) {
097 this.numid=numid;
098 }
099
100 /**
101 * @hibernate.property column="UID" not-null="true" update="true"
102 */
103 public String getUid() {
104 return uid;
105 }
106
107 public void setUid(String uid) {
108 this.uid=uid;
109 }
110
111 /**
112 * @hibernate.property column="CREATOR" not-null="true" update="true"
113 */
114 public String getCreator() {
115 return creator;
116 }
117
118 public void setCreator(String creator) {
119 this.creator = creator;
120 }
121
122 /**
123 * @hibernate.property column="CREATIONDATE" not-null="true" update="true"
124 */
125 public Timestamp getCreationdate() {
126 return creationdate;
127 }
128
129 public void setCreationdate(Timestamp creationdate) {
130 this.creationdate = creationdate;
131 }
132
133 /**
134 * @hibernate.property column="MODIFIEDDATE" not-null="true" update="true"
135 */
136 public Timestamp getModifieddate() {
137 return modifieddate;
138 }
139
140 public void setModifieddate(Timestamp modifieddate) {
141 this.modifieddate = modifieddate;
142 }
143
144 /**
145 * @hibernate.property column="DESCRIPTION" not-null="true" update="true"
146 */
147 public String getDescription() {
148 return description;
149 }
150
151 public void setDescription(String description) {
152 this.description = description;
153 }
154
155 /**
156 * @hibernate.property column="PASSWD" not-null="true" update="true"
157 */
158 public String getPasswd() {
159 return passwd;
160 }
161
162 public void setPasswd(String passwd) {
163 this.passwd = passwd;
164 }
165
166 /**
167 * @hibernate.property column="ENABLED" not-null="true" update="true"
168 */
169 public String getEnabled() {
170 return enabled;
171 }
172
173 public void setEnabled(String enabled) {
174 this.enabled = enabled;
175 }
176
177 /**
178 * @hibernate.property column="UPD" not-null="true" update="true"
179 */
180 public String getUpd() {
181 return upd;
182 }
183
184 public void setUpd(String upd) {
185 this.upd = upd;
186 }
187
188 /**
189 * @hibernate.property column="SALUTATION" not-null="true" update="true"
190 */
191 public String getSalutation() {
192 return salutation;
193 }
194
195 public void setSalutation(String salutation) {
196 this.salutation = salutation;
197 }
198
199 /**
200 * @hibernate.property column="FIRSTNAME" not-null="true" update="true"
201 */
202 public String getFirstname() {
203 return firstname;
204 }
205
206 public void setFirstname(String firstname) {
207 this.firstname = firstname;
208 }
209
210 /**
211 * @hibernate.property column="LASTNAME" not-null="true" update="true"
212 */
213 public String getLastname() {
214 return lastname;
215 }
216
217 public void setLastname(String lastname) {
218 this.lastname = lastname;
219 }
220
221 /**
222 * @hibernate.property column="STREET" not-null="true" update="true"
223 */
224 public String getStreet() {
225 return street;
226 }
227
228 public void setStreet(String street) {
229 this.street = street;
230 }
231
232 /**
233 * @hibernate.property column="CITY" not-null="true" update="true"
234 */
235 public String getCity() {
236 return city;
237 }
238
239 public void setCity(String city) {
240 this.city = city;
241 }
242
243 /**
244 * @hibernate.property column="POSTALCODE" not-null="true" update="true"
245 */
246 public String getPostalcode() {
247 return postalcode;
248 }
249
250 public void setPostalcode(String postalcode) {
251 this.postalcode = postalcode;
252 }
253
254 /**
255 * @hibernate.property column="COUNTRY" not-null="true" update="true"
256 */
257 public String getCountry() {
258 return country;
259 }
260
261 public void setCountry(String country) {
262 this.country = country;
263 }
264
265 /**
266 * @hibernate.property column="STATE" not-null="true" update="true"
267 */
268 public String getState() {
269 return state;
270 }
271
272 public void setState(String state) {
273 this.state = state;
274 }
275
276 /**
277 * @hibernate.property column="INSTITUTION" not-null="true" update="true"
278 */
279 public String getInstitution() {
280 return institution;
281 }
282
283 public void setInstitution(String institution) {
284 this.institution = institution;
285 }
286
287 /**
288 * @hibernate.property column="FACULTY" not-null="true" update="true"
289 */
290 public String getFaculty() {
291 return faculty;
292 }
293
294 public void setFaculty(String faculty) {
295 this.faculty = faculty;
296 }
297
298 /**
299 * @hibernate.property column="DEPARTMENT" not-null="true" update="true"
300 */
301 public String getDepartment() {
302 return department;
303 }
304
305 public void setDepartment(String department) {
306 this.department = department;
307 }
308
309 /**
310 * @hibernate.property column="INSTITUTE" not-null="true" update="true"
311 */
312 public String getInstitute() {
313 return institute;
314 }
315
316 public void setInstitute(String institute) {
317 this.institute = institute;
318 }
319
320 /**
321 * @hibernate.property column="TELEPHONE" not-null="true" update="true"
322 */
323 public String getTelephone() {
324 return telephone;
325 }
326
327 public void setTelephone(String telephone) {
328 this.telephone = telephone;
329 }
330
331 /**
332 * @hibernate.property column="FAX" not-null="true" update="true"
333 */
334 public String getFax() {
335 return fax;
336 }
337
338 public void setFax(String fax) {
339 this.fax = fax;
340 }
341
342 /**
343 * @hibernate.property column="EMAIL" not-null="true" update="true"
344 */
345 public String getEmail() {
346 return email;
347 }
348
349 public void setEmail(String email) {
350 this.email = email;
351 }
352
353 /**
354 * @hibernate.property column="CELLPHONE" not-null="true" update="true"
355 */
356 public String getCellphone() {
357 return cellphone;
358 }
359
360 public void setCellphone(String cellphone) {
361 this.cellphone = cellphone;
362 }
363
364 /**
365 * @hibernate.property column="PRIMGROUP" not-null="true" update="true"
366 */
367 public MCRGROUPS getPrimgroup() {
368 return primgroup;
369 }
370
371 public void setPrimgroup(MCRGROUPS primgroup) {
372 this.primgroup = primgroup;
373 }
374 }