작성
·
119
0
public void updateAccount(String username, String password, AccountRole role) {
if(username != null && !username.isBlank()) {
this.username = username;
}
if(password != null && !password.isBlank()) {
this.password = password;
}
this.role = role;
}