Added the laptime to createtrack

ref #71
This commit is contained in:
Nicolai Ort 2021-01-03 17:05:43 +01:00
parent 02f7ddbb37
commit 907259bf73

View File

@ -19,7 +19,7 @@ export class Track {
*/ */
@PrimaryGeneratedColumn() @PrimaryGeneratedColumn()
@IsInt() @IsInt()
id: number;; id: number;
/** /**
* The track's name. * The track's name.
@ -47,7 +47,7 @@ export class Track {
@IsInt() @IsInt()
@IsOptional() @IsOptional()
@IsPositive() @IsPositive()
minimumLapTime: number; minimumLapTime?: number;
/** /**
* Used to link scan stations to a certain track. * Used to link scan stations to a certain track.