export interface StudentProgression {
  id: number;
  student_id: number;
  student_name: string;
  gr_no?: string;
  total_attendance: number;
  total_attendance_present?: number;
  attendance_rate?: number | null;
  total_assignment: number;
  total_marksheet_line: number;
  avg_marks?: number | null;
  total_admissions?: number;
}

export interface StudentAttendanceLine {
  id: number;
  sheet?: string;
  present?: boolean | null;
}

export interface StudentAssignmentLine {
  id: number;
  assignment?: string;
  marks?: number;
  state?: string;
}

export interface StudentMarksheetLine {
  id: number;
  marksheet?: string;
  marks?: number;
  grade?: string;
}

export interface StudentProgressDetail {
  id: number;
  student_name: string;
  gr_no?: string;
  attendance: StudentAttendanceLine[];
  assignments: StudentAssignmentLine[];
  marksheets: StudentMarksheetLine[];
}
