mirror of
https://github.com/klmp200/PQT_Gestionnaire_vente_stock.git
synced 2024-12-22 23:41:09 +00:00
Module Core, clss Account : ajout constructeur de recopie
This commit is contained in:
parent
1d0628ffe9
commit
312a5ce293
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user