Data Layer low complexity backend
0
Dependencies
3
Dependents
0
Entities
0
Integrations

Description

Data access layer for retrieving and managing workshop participant lists. Queries the course_enrollments table filtered by workshop-type course ID and the current user's organization, returning enrolled users with attendance state.

Feature: Career Workshops

workshop-participants-repository

Responsibilities

  • Query enrolled participants for a workshop session from course_enrollments
  • Record and update participant check-in/attendance status
  • Filter participant list to organization scope for multi-tenancy correctness

Interfaces

getParticipants(String workshopId) → Future<List<WorkshopParticipant>>
updateAttendance(String enrollmentId, bool attended) → Future<void>
getEnrollmentCount(String workshopId) → Future<int>

Relationships

Dependents (3)

Components that depend on this component