import type { GetEntitySponsorshipPricingResultDTO } from '@core/racing/application/use-cases/GetEntitySponsorshipPricingUseCase';
import type { IEntitySponsorshipPricingPresenter } from '@core/racing/application/presenters/IEntitySponsorshipPricingPresenter';

export class GetEntitySponsorshipPricingPresenter implements IEntitySponsorshipPricingPresenter {
  private result: GetEntitySponsorshipPricingResultDTO | null = null;

  reset() {
    this.result = null;
  }

  present(dto: GetEntitySponsorshipPricingResultDTO | null) {
    this.result = dto;
  }

  getViewModel(): GetEntitySponsorshipPricingResultDTO | null {
    return this.result;
  }

  get viewModel(): GetEntitySponsorshipPricingResultDTO | null {
    return this.result;
  }
}