1
0
mirror of https://github.com/klmp200/PQT_Gestionnaire_vente_stock.git synced 2025-04-14 10:00:14 +00:00

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

@ -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;
}