feature/11-new_classes #15
@ -29,10 +29,10 @@ export class Track {
|
|||||||
name: string;
|
name: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The track's length in meters.
|
* The track's length/distance in meters.
|
||||||
*/
|
*/
|
||||||
@Column()
|
@Column()
|
||||||
@IsInt()
|
@IsInt()
|
||||||
@IsPositive()
|
@IsPositive()
|
||||||
length: number;
|
distance: number;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user