import { HourCategory } from './hourCategorization';

export class TimeTrackingPolicyHourCategory {
    id!: number;
    instanceId!: number;
    name!: string;
    description?: string;
    assigned!: boolean;
    requiresApproval!: boolean | null;
}

export class TimeTrackingPolicyHourCategoryAssociation {
    hourCategoryId!: number;
    requiresApproval!: boolean;
}

export class TimeTrackingHourCategoryWithAssociationData {
    category!: HourCategory;
    requiresApproval!: boolean;
    policyId!: number;
}
