package com.zhaoqingjie.service.hibernate;
import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;
public class UserInfo implements Serializable{
private String id;
private String username;
private String email;
public UserInfo(String id,String username,String email){
this.id = id;
this.username = username;
this.email = email;
}
public UserInfo(){
}
public UserInfo(String id){
this.id = id;
}
public String getId(){
return id;
}
public void setId(String id){
this.id = id;
}
public String getEmail(){
return email;
}
public void setEmail(String email){
this.email = emial;
}
public String getUsername(){
return username;
}
public void setUsername(String username){
this.username = username;
}
public String toString(){
return new ToStringBuilder(this).append("id",getId()).toString();
}
}
--------------------next---------------------
阅读(117) | 评论(0) | 转发(0) |