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

export class TimeTrackingDaySummaryHoliday {
    constructor(properties: OptionalNullable<TimeTrackingDaySummaryHoliday>) {
        this.id = properties.id;
        this.daySummaryId = properties.daySummaryId;
        this.holidayId = properties.holidayId;
        this.holidayName = properties.holidayName;
    }

    id: number;
    daySummaryId: number;
    holidayId: number;
    holidayName: string;
}

export class TimeTrackingDaySummaryHolidayApi {
    constructor(properties: OptionalNullable<TimeTrackingDaySummaryHolidayApi>) {
        this.id = properties.id;
        this.name = properties.name;
    }

    id: number;
    name: string;
}
