From 3ae41ceab720b48f2022471d1cb2c6fa5ee8280e Mon Sep 17 00:00:00 2001 From: Tobias Herbert Date: Tue, 6 Feb 2024 17:54:44 +0100 Subject: [PATCH] Added setters to Admin Class --- src/main/java/org/example/Admin.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/example/Admin.java b/src/main/java/org/example/Admin.java index 62385b3..4c0470b 100644 --- a/src/main/java/org/example/Admin.java +++ b/src/main/java/org/example/Admin.java @@ -17,12 +17,20 @@ public class Admin { public String getName() { return name; } - + public void setName(String name) { + this.name = name; + } public String getId() { return id; } - + public void setId(String id) { + this.id = id; + } public String getRole() { return role; } + + public void setRole(String role) { + this.role = role; + } }