Changes between Version 1 and Version 2 of UC3003
- Timestamp:
- 06/15/26 14:17:31 (2 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UC3003
v1 v2 3 3 **Initiating actor:** Student 4 4 5 **Other actors:** Professor5 **Other actors:** None 6 6 7 7 **Description:** 8 Student requests academic advising from a professor .8 Student requests academic advising from a professor within their faculty. 9 9 10 10 **Scenario:** 11 11 12 1. Student selects “Request Advisor” 12 1. Student selects “Request Advisor”. 13 13 14 14 2. System lists professors available in the student’s faculty: … … 16 16 SELECT p.Id, p.Name, p.Surname 17 17 FROM Professor p 18 JOIN Faculty f ON p.Faculty_Id = f.Id 19 JOIN Student st ON st.Faculty_Id = f.Id 18 JOIN Student st ON st.Faculty_Id = p.Faculty_Id 20 19 WHERE st.Id = :student_id; 21 20 }}} 22 21 23 3. Student selects professor and sendsrequest.22 3. Student selects a professor and submits the request. 24 23 25 4. System creates advising relationship (pending or immediate):24 4. System creates the advising relationship in the database: 26 25 {{{ 27 26 INSERT INTO Advice(Student_Id, Professor_Id, Start_Date, End_Date) 28 VALUES (:student_id, :professor_id, CURRENT_DATE, NULL);27 VALUES (:student_id, :professor_id, :start_date, :end_date); 29 28 }}} 30 29
