import { UserRole } from '@/shared/types/app';

export interface SafetyQuizResultDto {
  readonly id: string;
  readonly quiz_id: string;
  readonly quiz_title: string;
  readonly week_of: string;
  readonly score: number;
  readonly total_questions: number;
  readonly answers: readonly number[];
  readonly user_name: string;
  readonly user_role: UserRole;
  readonly completed_at: string;
  readonly organizationId: string;
  readonly campusId: string | null;
  readonly userId: string;
  readonly createdAt: string;
  readonly updatedAt: string;
}

export interface SafetyQuizResultCreateDto {
  readonly quiz_id: string;
  readonly quiz_title: string;
  readonly week_of: string;
  readonly score: number;
  readonly total_questions: number;
  readonly answers: readonly number[];
}
