日期:2014-05-20 浏览次数:20669 次
import java.io.Serializable; public class User implements Serializable { private static final long serialVersionUID = 1L; private long id; private String name; public void setId(long id) { this.id = id; } public void setName(String name) { this.name = name; } public long getId() { return id; } public String getName() { return name; } }