import type { StaffAttendanceStatus } from '@/shared/types/staffAttendance';

export interface StaffAttendanceRecordViewModel {
  readonly id: string;
  readonly date: string;
  readonly status: StaffAttendanceStatus;
  readonly note: string | null;
  readonly userName: string;
  readonly userRole: string | null;
}

export interface StaffAttendanceRollup {
  readonly name: string;
  readonly present: number;
  readonly late: number;
  readonly absent: number;
  readonly trend: 'up' | 'down';
}

export interface StaffAttendanceSummaryViewModel {
  readonly staffCount: number;
  readonly recordsCount: number;
  readonly present: number;
  readonly late: number;
  readonly absent: number;
}
