diff --git a/Workspace/core/src/main/java/com/pqt/core/entities/user_account/Account.java b/Workspace/core/src/main/java/com/pqt/core/entities/user_account/Account.java index a37517d1..f3d7ad34 100644 --- a/Workspace/core/src/main/java/com/pqt/core/entities/user_account/Account.java +++ b/Workspace/core/src/main/java/com/pqt/core/entities/user_account/Account.java @@ -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; }