|
@ -55,6 +55,10 @@ public class Student { |
|
|
this.studentRole = studentRole; |
|
|
this.studentRole = studentRole; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public List<Course> getCourses() { |
|
|
|
|
|
return courses; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Prints the basic information of the student in the console. |
|
|
* Prints the basic information of the student in the console. |
|
|
* This methods displays the student´s ID, name and role, providing a quick overview of the student´s identity |
|
|
* This methods displays the student´s ID, name and role, providing a quick overview of the student´s identity |
|
|