feature/11-new_classes #15

Merged
niggl merged 55 commits from feature/11-new_classes into dev 2020-12-02 17:48:19 +00:00
Showing only changes of commit abf7aaeda3 - Show all commits

View File

@ -1,5 +1,6 @@
import { PrimaryGeneratedColumn, Column, ManyToOne } from "typeorm";
import {
IsBoolean,
IsInt,
IsNotEmpty,
IsOptional,
@ -38,6 +39,6 @@ export abstract class Scan {
* Is the scan valid (for fraud reasons).
*/
@Column()
@Boolean()
@IsBoolean()
valid = true;
}