export interface SchedulePreset {
    name: string;
    is_default: boolean;
    presets_shifts: ShiftPreset[];
}

class ShiftPreset {
    week_day: Weekday;
    preset_id: number;
    sort_order: number;
    type: string;
    start_time: string;
    end_time: string;
    is_remote: boolean;

    constructor() {
        this.week_day = '';
        this.preset_id = -1;
        this.sort_order = -1;
        this.type = '';
        this.start_time = '';
        this.end_time = '';
        this.is_remote = false;
    }
}

export type Weekday = 'SUN' | 'MON' | 'TUE' | 'WED' | 'THU' | 'FRI' | 'SAT' | '';