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

View File

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