标签:turn return super use 实现 his login username bean
import java.io.Serializable;
//实现 Serializable 接口 表明当前类为 序列化类
public class LoginBean implements Serializable {
private String username;
private String password;
public LoginBean() {
super();
}
public LoginBean(String username, String password) {
this.username = username;
this.password = password;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword(http://www.amjmh.com/v/BIBRGZ_558768/) {
return password;
}
public void setPassword(String password) {
this.password = password;
}
@Override
public String toString() {
return "LoginBean{" +
"username=‘" + username + ‘\‘‘ +
", password=‘" + password + ‘\‘‘ +
‘}‘;
}
}
标签:turn return super use 实现 his login username bean
原文地址:https://www.cnblogs.com/hyhy904/p/11379392.html