public class User extends AbstractDto
Constructor and Description |
---|
User() |
User(java.lang.String username,
boolean admin) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPassword() |
java.lang.String |
getUsername() |
boolean |
isAdmin() |
void |
setAdmin(boolean admin) |
void |
setPassword(java.lang.String password) |
void |
setUsername(java.lang.String username) |
toString
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public boolean isAdmin()
public void setAdmin(boolean admin)