日期:2014-05-16 浏览次数:20340 次
01 |
package com.sivalabs.json;
|
02 |
? ? |
03 |
import java.util.Date;
|
04 |
?? ? |
05 |
public class User {
|
06 |
? private String userId;
|
07 |
? private UserName userName;
|
08 |
? private Date dob;
|
09 |
??? ? |
10 |
? @Override |
11 |
? public String toString(){
|
12 |
?? return "User [dob=" + dob + ", userId=" + userId + ", userName=" + userName + "]" ;
|
13 |
? }
|
14 |
? //setters and getters
|
15 |
??? ? |
16 |
} |