質問編集履歴
1
追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -187,3 +187,79 @@
|
|
187
187
|
|
188
188
|
|
189
189
|
![イメージ説明](c17232992d3fb8431c96842e420d7e81.png)
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
```User.java
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
package model;
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
import java.io.Serializable;
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
public class User implements Serializable {
|
208
|
+
|
209
|
+
private int userId;
|
210
|
+
|
211
|
+
private String nickName;
|
212
|
+
|
213
|
+
private String eMail;
|
214
|
+
|
215
|
+
private String pass;
|
216
|
+
|
217
|
+
private String userName;
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
public User(String nickName, String eMail, String pass, String userName){
|
222
|
+
|
223
|
+
this.nickName = nickName;
|
224
|
+
|
225
|
+
this.eMail = eMail;
|
226
|
+
|
227
|
+
this.pass = pass;
|
228
|
+
|
229
|
+
this.userName = userName;
|
230
|
+
|
231
|
+
}
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
public User(int userId, String nickName, String eMail, String pass, String userName){
|
236
|
+
|
237
|
+
this.userId = userId;
|
238
|
+
|
239
|
+
this.nickName = nickName;
|
240
|
+
|
241
|
+
this.eMail = eMail;
|
242
|
+
|
243
|
+
this.pass = pass;
|
244
|
+
|
245
|
+
this.userName = userName;
|
246
|
+
|
247
|
+
}
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
public int getUserId(){return userId;}
|
252
|
+
|
253
|
+
public String getNickName(){return nickName;}
|
254
|
+
|
255
|
+
public String getEMail(){return eMail;}
|
256
|
+
|
257
|
+
public String getPass(){return pass;}
|
258
|
+
|
259
|
+
public String getUserName(){return userName;}
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
}
|
264
|
+
|
265
|
+
```
|