import type { DriverRegistrationStatusDto } from '../dtos';
import type { DriverRegistrationStatusViewModel } from '../view-models';
import { DriverRegistrationStatusViewModel as ViewModel } from '../view-models';

/**
 * Driver Registration Status Presenter
 * Transforms DriverRegistrationStatusDto to DriverRegistrationStatusViewModel
 */
export class DriverRegistrationStatusPresenter {
  present(dto: DriverRegistrationStatusDto): DriverRegistrationStatusViewModel {
    return new ViewModel(dto);
  }
}

// Legacy functional export for backward compatibility
export const presentDriverRegistrationStatus = (dto: DriverRegistrationStatusDto): DriverRegistrationStatusViewModel => {
  const presenter = new DriverRegistrationStatusPresenter();
  return presenter.present(dto);
};