1
2
3
4 package sk.stuba.fiit.foo07.genex.beans;
5
6
7
8
9
10 public class TUser {
11
12 private String name;
13 private String surname;
14 private String login;
15 private String password;
16 private String email;
17 private String comment;
18 private Integer userID;
19
20 public TUser() {
21 }
22
23 public TUser(String name, String surname, String login, String password,
24 String email, String comment, Integer userID) {
25 super();
26 this.name = name;
27 this.surname = surname;
28 this.login = login;
29 this.password = password;
30 this.email = email;
31 this.comment = comment;
32 this.userID = userID;
33 }
34
35
36
37
38 public String getName() {
39 return name;
40 }
41
42
43
44
45
46 public void setName(String name) {
47 this.name = name;
48 }
49
50
51
52
53 public String getSurname() {
54 return surname;
55 }
56
57
58
59
60
61 public void setSurname(String surname) {
62 this.surname = surname;
63 }
64
65
66
67
68 public String getLogin() {
69 return login;
70 }
71
72
73
74
75
76 public void setLogin(String login) {
77 this.login = login;
78 }
79
80
81
82
83 public String getPassword() {
84 return password;
85 }
86
87
88
89
90
91 public void setPassword(String password) {
92 this.password = password;
93 }
94
95
96
97
98 public String getEmail() {
99 return email;
100 }
101
102
103
104
105
106 public void setEmail(String email) {
107 this.email = email;
108 }
109
110
111
112
113 public String getComment() {
114 return comment;
115 }
116
117
118
119
120
121 public void setComment(String comment) {
122 this.comment = comment;
123 }
124
125
126
127
128 public Integer getUserID() {
129 return userID;
130 }
131
132
133
134
135
136 public void setUserID(Integer userID) {
137 this.userID = userID;
138 }
139
140
141
142
143 @Override
144 public String toString() {
145 return this.surname;
146 }
147
148 }