import { TimeTrackingCategorizedHourApprovalStepPotentialApprover } from '../../../business/models/timeTracking/timeTrackingCategorizedHourApprovalStepPotentialApprover';
import { TimeTrackingCategorizedHourApprovalStepPotentialApproverDAO } from '../../dataAccessObjects/timeTracking/timeTrackingCategorizedHourApprovalStepPotentialApproverDAO';

export const timeTrackingCategorizedHourApprovalStepPotentialApproverDAOToModel = (
    dao: TimeTrackingCategorizedHourApprovalStepPotentialApproverDAO,
): TimeTrackingCategorizedHourApprovalStepPotentialApprover => {
    return new TimeTrackingCategorizedHourApprovalStepPotentialApprover({
        approvalStepId: dao.approvalStepId,
        categorizedHourId: dao.categorizedHourId,
        createdAt: dao.createdAt,
        deletedAt: dao.deletedAt,
        id: dao.id,
        updatedAt: dao.updatedAt,
        userId: dao.userId,
    });
};
