| Version 1 (modified by , 3 weeks ago) ( diff ) |
|---|
UseCase3003 – Request Advice
Initiating actor: Student
Other actors: Professor
Description: Student requests academic advising from a professor.
Scenario:
- Student selects “Request Advisor”
- System lists professors available in the student’s faculty:
SELECT p.Id, p.Name, p.Surname FROM Professor p JOIN Faculty f ON p.Faculty_Id = f.Id JOIN Student st ON st.Faculty_Id = f.Id WHERE st.Id = :student_id;
- Student selects professor and sends request.
- System creates advising relationship (pending or immediate):
INSERT INTO Advice(Student_Id, Professor_Id, Start_Date, End_Date) VALUES (:student_id, :professor_id, CURRENT_DATE, NULL);
- System confirms request submission.
Note:
See TracWiki
for help on using the wiki.
