Module Core, clss Account : ajout constructeur de recopie

This commit is contained in:
Notmoo 2017-08-19 19:06:20 +02:00
parent 1d0628ffe9
commit 312a5ce293

View File

@ -23,6 +23,10 @@ public class Account implements ILoggable, Serializable {
this.permissionLevel = permissionLevel;
}
public Account(Account account) {
this(account.getUsername(), account.getPassword(), account.getPermissionLevel());
}
public String getUsername() {
return username;
}