Moved attribute to super

ref #11
This commit is contained in:
2020-12-02 15:44:56 +01:00
parent c1242b2a2a
commit c82cc9a670
2 changed files with 7 additions and 15 deletions

View File

@@ -33,4 +33,11 @@ export abstract class Scan {
@IsInt()
@IsPositive()
abstract distance: number;
/**
* Is the scan valid (for fraud reasons).
*/
@Column()
@Boolean()
valid = true;
}