import { UserStatus } from '@humand-packages/common';
import { Incidence } from '../../infrastructure/constants/incidences';
import { TimeTrackingEmployeeStatus } from '../types/status';
import { TimeTrackingDaySummary } from './daySummary';

export class EmployeeSummary {
    constructor(
        public readonly userId: number,
        public readonly employeeInternalId: string,
        public readonly fullName: string,
        public readonly profilePicture: string | null,
        public readonly workedHours: number,
        public readonly estimatedHours: number,
        public readonly differenceHours: number,
        public readonly incidencesTagsPresent: Incidence[],
        public readonly status: TimeTrackingEmployeeStatus,
        public readonly daySummaries: TimeTrackingDaySummary[],
        public readonly extraHours: number,
        public readonly currentDate: string,
        public readonly userAccountStatus: UserStatus,
    ) {}
}
