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

export interface PolicyHourCategoryDTO {
    id: number;
    name: string;
    description?: string;
    assigned: boolean;
    requiresApproval: boolean | null;
}

export class TimeTrackingPolicyHourCategoriesSC extends PaginatedSerializationClass<PolicyHourCategoryDTO, PolicyHourCategoryDTO> {
    serialize(serializableObject: PolicyHourCategoryDTO): PolicyHourCategoryDTO {
        return serializableObject;
    }
}
