Refactor lecturer management to support multiple departments #55

Merged
pangestu merged 1 commits from refactor/lecturer-management-to-support-multiple-departments into dev 2026-08-30 13:18:37 +08:00
Owner
  • Updated LecturerController to load multiple departments for lecturers.
  • Modified LecturerRequest to accept an array of department IDs instead of a single department ID.
  • Changed Department model to establish a many-to-many relationship with Lecturer.
  • Adjusted Lecturer model to reflect the new many-to-many relationship with Department.
  • Updated LecturerService to handle multiple departments during creation and updates.
  • Created LecturerFactory and StudentFactory for generating test data.
  • Added a migration for the new lecturer_department pivot table.
  • Refactored seeder classes to accommodate the new structure for lecturers and departments.
  • Enhanced frontend components for creating and editing lecturers to support multiple department selection.
- Updated LecturerController to load multiple departments for lecturers. - Modified LecturerRequest to accept an array of department IDs instead of a single department ID. - Changed Department model to establish a many-to-many relationship with Lecturer. - Adjusted Lecturer model to reflect the new many-to-many relationship with Department. - Updated LecturerService to handle multiple departments during creation and updates. - Created LecturerFactory and StudentFactory for generating test data. - Added a migration for the new lecturer_department pivot table. - Refactored seeder classes to accommodate the new structure for lecturers and departments. - Enhanced frontend components for creating and editing lecturers to support multiple department selection.
pangestu added 1 commit 2026-08-30 13:18:31 +08:00
Refactor lecturer management to support multiple departments
Some checks failed
tests / ci (pull_request) Has been cancelled
07a00a92a2
- Updated LecturerController to load multiple departments for lecturers.
- Modified LecturerRequest to accept an array of department IDs instead of a single department ID.
- Changed Department model to establish a many-to-many relationship with Lecturer.
- Adjusted Lecturer model to reflect the new many-to-many relationship with Department.
- Updated LecturerService to handle multiple departments during creation and updates.
- Created LecturerFactory and StudentFactory for generating test data.
- Added a migration for the new lecturer_department pivot table.
- Refactored seeder classes to accommodate the new structure for lecturers and departments.
- Enhanced frontend components for creating and editing lecturers to support multiple department selection.
pangestu merged commit 82d7b9bb1e into dev 2026-08-30 13:18:37 +08:00
pangestu deleted branch refactor/lecturer-management-to-support-multiple-departments 2026-08-30 13:18:37 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: itm/siakad-itm#55
No description provided.