parent
c82cc9a670
commit
abf7aaeda3
@ -1,5 +1,6 @@
|
|||||||
import { PrimaryGeneratedColumn, Column, ManyToOne } from "typeorm";
|
import { PrimaryGeneratedColumn, Column, ManyToOne } from "typeorm";
|
||||||
import {
|
import {
|
||||||
|
IsBoolean,
|
||||||
IsInt,
|
IsInt,
|
||||||
IsNotEmpty,
|
IsNotEmpty,
|
||||||
IsOptional,
|
IsOptional,
|
||||||
@ -38,6 +39,6 @@ export abstract class Scan {
|
|||||||
* Is the scan valid (for fraud reasons).
|
* Is the scan valid (for fraud reasons).
|
||||||
*/
|
*/
|
||||||
@Column()
|
@Column()
|
||||||
@Boolean()
|
@IsBoolean()
|
||||||
valid = true;
|
valid = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user