You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
406 B
22 lines
406 B
import { Expose, Type } from 'class-transformer';
|
|
import { Race } from './race.model';
|
|
import { Racer } from './racer.model';
|
|
|
|
export class RaceEntry {
|
|
@Expose()
|
|
id: number = -1;
|
|
|
|
@Expose()
|
|
@Type(() => Race)
|
|
race: Race | null = null;
|
|
|
|
@Expose()
|
|
@Type(() => Racer)
|
|
racer: Racer | null = null;
|
|
|
|
@Expose()
|
|
replayPath: string = "";
|
|
|
|
@Expose()
|
|
time: number = 0;
|
|
}
|