import { TimeTrackingEntryType } from '../../business/types/entry';
import { TimeTrackingEntrySource } from '../../business/types/source';
import { LocationVC } from '../validationClasses/locationValidationClass';

export class TimeTrackingEntryExtended {
    constructor(
        public readonly type: TimeTrackingEntryType,
        public readonly userId: number,
        public readonly time: Date,
        public readonly siteId: number | undefined,
        public readonly source: TimeTrackingEntrySource,
        public readonly location: LocationVC | undefined,
        public readonly createdBy: number | undefined,
        public readonly summaryId: number | undefined,
        public readonly comment: string | undefined,
        public readonly facialRecognitionSkipped: boolean | undefined,
        public readonly id: number,
        public readonly siteName: string,
        public readonly locationIncidence: boolean,
        public readonly isRemoteWork: boolean,
    ) {}
}
