Browse Source

Added getters and setters in Administration class

remotes/origin/fdai7780
fdai7887 11 months ago
parent
commit
5f422da079
  1. 32
      src/main/java/org/example/Administration.java

32
src/main/java/org/example/Administration.java

@ -14,6 +14,38 @@ public class Administration {
private List<Course> courses;
Scanner scanner = new Scanner(System.in);
public List<Professor> getProfessors() {
return professors;
}
public void setProfessors(List<Professor> professors) {
this.professors = professors;
}
public List<Admin> getAdmins() {
return admins;
}
public void setAdmins(List<Admin> admins) {
this.admins = admins;
}
public List<Student> getStudents() {
return students;
}
public void setStudents(List<Student> students) {
this.students = students;
}
public List<Course> getCourses() {
return courses;
}
public void setCourses(List<Course> courses) {
this.courses = courses;
}
/**
* Constructor
*/

Loading…
Cancel
Save