org.zodiac.monitor.console.model.UserInfo Maven / Gradle / Ivy
package org.zodiac.monitor.console.model;
import java.io.Serializable;
/**
* 用户信息。
*
* @author 陈付菲
* @author zodiac
*
*/
public class UserInfo implements Serializable {
private static final long serialVersionUID = 3355584270488183943L;
private String salt;
private String username;
private String password;
private String usernameToken;
public UserInfo() {
}
public UserInfo(String salt, String username, String password) {
this.salt = salt;
this.username = username;
this.password = password;
}
public String getSalt() {
return salt;
}
public UserInfo setSalt(String salt) {
this.salt = salt;
return this;
}
public String getUsername() {
return username;
}
public UserInfo setUsername(String username) {
this.username = username;
return this;
}
public String getPassword() {
return password;
}
public UserInfo setPassword(String password) {
this.password = password;
return this;
}
public String getUsernameToken() {
return usernameToken;
}
public UserInfo setUsernameToken(String usernameToken) {
this.usernameToken = usernameToken;
return this;
}
}