Changed the distance to be an abstract

ref #11
This commit is contained in:
Nicolai Ort 2020-12-01 18:57:34 +01:00
parent 084e2d9930
commit df3715d8d6
1 changed files with 1 additions and 2 deletions

View File

@ -30,8 +30,7 @@ export abstract class Scan {
/**
* The scan's distance in meters.
*/
@Column()
@IsInt()
@IsPositive()
distance: number;
abstract distance: number;
}