diff --git a/src/main/java/org/example/Professor.java b/src/main/java/org/example/Professor.java index 7dc15b1..c1dd274 100644 --- a/src/main/java/org/example/Professor.java +++ b/src/main/java/org/example/Professor.java @@ -29,4 +29,8 @@ public class Professor { public void setName(String name) { Name = name; } + + public String getRole() { + return role; + } }