14 lines
413 B
TypeScript
14 lines
413 B
TypeScript
import { RaceWithSOFDTO } from '../types/generated/RaceWithSOFDTO';
|
|
|
|
export class RaceWithSOFViewModel {
|
|
id: string;
|
|
track: string;
|
|
|
|
constructor(dto: RaceWithSOFDTO) {
|
|
this.id = dto.id;
|
|
this.track = dto.track;
|
|
}
|
|
|
|
// The view model currently exposes only basic race identity and track information.
|
|
// Additional strength-of-field or result details can be added here once the DTO carries them.
|
|
} |