How tijartaufikrahman/employee-shift-scheduling-ga-web works
SisJad is an ASP.NET Core MVC employee-shift scheduling application. Employees submit leave requests and view schedules; administrators manage staff, shifts, approvals, announcements, and schedule generation. The documented scheduling workflow applies leave and operational constraints in a genetic-algorithm service, persists schedules, and supports PDF export and public QR verification. The graph combines related domain entities and repository implementations; unsampled controller behavior is represented only where the README documents it. Edges are limited to relationships visible in indexed source or explicitly described in the README.
Main entry points: Repositories Operational repositories · ScheduleController.cs Schedule workflow · ScheduleRepository.cs Schedule repository · AuthService.cs Authentication service
Components 20
Web workflows
- Account access
SistemPenjadwalanShiftGA/Controllers/AccountController.cs - Authentication service
SistemPenjadwalanShiftGA/Services/AuthService.cs - Employee portal
SistemPenjadwalanShiftGA/Controllers/HomeController.cs - Leave requests
SistemPenjadwalanShiftGA/Controllers/LeaveRequestController.cs
Scheduling
- Schedule workflow
SistemPenjadwalanShiftGA/Controllers/ScheduleController.cs - Genetic optimizer
SistemPenjadwalanShiftGA/Services/ScheduleService.cs - Schedule repository
SistemPenjadwalanShiftGA/Repositories/ScheduleRepository.cs - PDF export
SistemPenjadwalanShiftGA/Services/PdfExportService.cs - QR verification
SistemPenjadwalanShiftGA/Controllers/VerifyController.cs
Operations
- Admin operations
SistemPenjadwalanShiftGA/Controllers/AdminController.cs - Announcements
SistemPenjadwalanShiftGA/Controllers/AnnouncementController.cs - Employee management
SistemPenjadwalanShiftGA/Controllers/EmployeeController.cs - Shift configuration
SistemPenjadwalanShiftGA/Controllers/ShiftTypeController.cs - Email service
SistemPenjadwalanShiftGA/Services/EmailService.cs
Domain and persistence
- Scheduling and workforce entities
SistemPenjadwalanShiftGA/Models/Entities - EF Core context
SistemPenjadwalanShiftGA/Data/AppDbContext.cs - Operational repositories
SistemPenjadwalanShiftGA/Repositories
Other components
- Employee
- Admin or manager
- Public visitor
Connections 28
- Employee → Account access: signs in
- Account access → Authentication service: authenticates
SistemPenjadwalanShiftGA/Controllers/AccountController.cs - Authentication service → Operational repositories: looks up users
SistemPenjadwalanShiftGA/Services/AuthService.cs - Authentication service → Email service: sends reset email
SistemPenjadwalanShiftGA/Services/AuthService.cs - Employee → Employee portal: views portal
- Employee portal → Operational repositories: loads portal data
SistemPenjadwalanShiftGA/Controllers/HomeController.cs - Employee → Leave requests: submits request
- Admin or manager → Leave requests: reviews request
- Leave requests → Operational repositories: stores requests
SistemPenjadwalanShiftGA/Controllers/LeaveRequestController.cs - Admin or manager → Admin operations: manages operations
- Admin operations → Operational repositories: manages records
SistemPenjadwalanShiftGA/Controllers/AdminController.cs - Admin or manager → Announcements: publishes notices
- Employee → Announcements: reads notices
- Admin or manager → Employee management: manages staff
- Admin or manager → Shift configuration: configures shifts
- Admin or manager → Schedule workflow: generates schedule
- Employee → Schedule workflow: views schedule
- Schedule workflow → Genetic optimizer: requests generation
SistemPenjadwalanShiftGA/Controllers/ScheduleController.cs - Schedule workflow → Schedule repository: reads and saves
SistemPenjadwalanShiftGA/Controllers/ScheduleController.cs - Schedule workflow → PDF export: exports schedule
SistemPenjadwalanShiftGA/Controllers/ScheduleController.cs - Genetic optimizer → Operational repositories: loads staff, shifts, leave
SistemPenjadwalanShiftGA/Services/ScheduleService.cs - Genetic optimizer → Schedule repository: persists generated schedule
SistemPenjadwalanShiftGA/Services/ScheduleService.cs - PDF export → Schedule repository: loads schedule data
SistemPenjadwalanShiftGA/Services/PdfExportService.cs - PDF export → QR verification: links QR to portal
- Public visitor → QR verification: checks QR code
- Operational repositories → EF Core context: queries and updates
SistemPenjadwalanShiftGA/Repositories/LeaveRequestRepository.cs - Schedule repository → EF Core context: queries and updates
SistemPenjadwalanShiftGA/Repositories/ScheduleRepository.cs - EF Core context → Scheduling and workforce entities: maps entities
SistemPenjadwalanShiftGA/Data/AppDbContext.cs