Moved distance to the main runner object

ref #1
This commit is contained in:
2021-02-02 09:05:02 +01:00
parent d08bdfd961
commit 1d1fa50327
2 changed files with 9 additions and 10 deletions

View File

@@ -38,4 +38,10 @@ export class Runner {
*/
@IsObject()
group: RunnerGroup;
/**
* The total distance ran by the runner.
*/
@IsInt()
distance: number;
}