import { RaceWithSOFDTO } from '../types/generated/RaceWithSOFDTO';

export class RaceWithSOFViewModel {
  id: string;
  track: string;
  strengthOfField: number | null;

  constructor(dto: RaceWithSOFDTO) {
    this.id = dto.id;
    this.track = dto.track;
    this.strengthOfField = (dto as any).strengthOfField ?? null;
  }
}