import { OptionalNullable } from '@humand-packages/common';

export class TimeTrackingDaySummaryHours {
    constructor(properties: OptionalNullable<TimeTrackingDaySummaryHours>) {
        this.scheduled = properties.scheduled;
        this.worked = properties.worked;
        this.estimated = properties.estimated;
        this.timeOff = properties.timeOff ?? null;
    }

    scheduled: number;
    worked: number;
    estimated: number;
    timeOff: number | null;
}
