website cleanup
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
import { RaceResultDTO } from '../types/generated/RaceResultDTO';
|
||||
|
||||
export class RaceResultViewModel {
|
||||
driverId: string;
|
||||
driverName: string;
|
||||
avatarUrl: string;
|
||||
position: number;
|
||||
startPosition: number;
|
||||
incidents: number;
|
||||
fastestLap: number;
|
||||
positionChange: number;
|
||||
isPodium: boolean;
|
||||
isClean: boolean;
|
||||
driverId!: string;
|
||||
driverName!: string;
|
||||
avatarUrl!: string;
|
||||
position!: number;
|
||||
startPosition!: number;
|
||||
incidents!: number;
|
||||
fastestLap!: number;
|
||||
positionChange!: number;
|
||||
isPodium!: boolean;
|
||||
isClean!: boolean;
|
||||
|
||||
constructor(dto: RaceResultDTO) {
|
||||
Object.assign(this, dto);
|
||||
|
||||
Reference in New Issue
Block a user