import { PaginatedSerializationClass } from '@humand-packages/common';
import { HourCategory } from '../../business/models/hourCategorization';

export class TimeTrackingSimplifiedHourCategoriesSC extends PaginatedSerializationClass<{ id: number; name: string }, { id: number; name: string }> {
    serialize(serializableObject: HourCategory): { id: number; name: string } {
        return { id: serializableObject.id, name: serializableObject.name };
    }
}
