RegistrationRecordDto typedef

RegistrationRecordDto = ({List<String> classCadres, String? className, EnrollmentStatus? enrollmentStatus, bool graduated, bool registered, SemesterDto semester, List<ReferenceDto> tutors})

A semester registration record from the class and mentor page.

Implementation

typedef RegistrationRecordDto = ({
  /// Semester identifier.
  SemesterDto semester,

  /// Student's assigned class name (e.g., "電子四甲").
  String? className,

  /// Enrollment status (在學, 休學, or 退學).
  EnrollmentStatus? enrollmentStatus,

  /// Whether the student is registered for this semester.
  bool registered,

  /// Whether the student graduated this semester.
  bool graduated,

  /// Tutors/mentors assigned to the student's class.
  List<ReferenceDto> tutors,

  /// Class cadre roles held (e.g., ["學輔股長", "服務股長"]).
  List<String> classCadres,
});