diff --git a/src/main/java/org/example/Admin.java b/src/main/java/org/example/Admin.java index 4c0470b..f33b1c1 100644 --- a/src/main/java/org/example/Admin.java +++ b/src/main/java/org/example/Admin.java @@ -33,4 +33,11 @@ public class Admin { public void setRole(String role) { this.role = role; } + + public void printAdminInfo() + { + System.out.println("Name: " + getName()); + System.out.println("ID: " + getId()); + System.out.println("role: " + getRole()); + } }