From 71612d2ed1acc46db408a92748b74e3cab32d5ac Mon Sep 17 00:00:00 2001 From: Tobias Herbert Date: Tue, 6 Feb 2024 17:53:21 +0100 Subject: [PATCH] Added getters to Admin Class --- src/main/java/org/example/Admin.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/java/org/example/Admin.java b/src/main/java/org/example/Admin.java index 9b9bc76..62385b3 100644 --- a/src/main/java/org/example/Admin.java +++ b/src/main/java/org/example/Admin.java @@ -13,4 +13,16 @@ public class Admin { this.id = id; this.role = role; } + + public String getName() { + return name; + } + + public String getId() { + return id; + } + + public String getRole() { + return role; + } }