From 221bcdd93306ee9bbcdd73ea4ff5b3c4ae2232fe Mon Sep 17 00:00:00 2001 From: fdai7600 Date: Tue, 6 Feb 2024 18:58:42 +0100 Subject: [PATCH] Added Setter for Professor ID --- src/main/java/org/example/Professor.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/example/Professor.java b/src/main/java/org/example/Professor.java index 53b26eb..48f8110 100644 --- a/src/main/java/org/example/Professor.java +++ b/src/main/java/org/example/Professor.java @@ -17,4 +17,8 @@ public class Professor { public String getProfessorID() { return professorID; } + + public void setProfessorID(String professorID) { + this.professorID = professorID; + } }