Added defaults back in
This commit is contained in:
parent
ac0ce799f9
commit
932e782a14
@ -9,9 +9,9 @@ import { Participant } from "./Participant";
|
|||||||
export class Donor extends Participant {
|
export class Donor extends Participant {
|
||||||
/**
|
/**
|
||||||
* Does this donor need a receipt?.
|
* Does this donor need a receipt?.
|
||||||
* Default: True
|
* Default: false
|
||||||
*/
|
*/
|
||||||
@Column()
|
@Column()
|
||||||
@IsBoolean()
|
@IsBoolean()
|
||||||
receiptNeeded: boolean;
|
receiptNeeded: boolean = false;
|
||||||
}
|
}
|
@ -42,10 +42,11 @@ export class RunnerCard {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Is the card enabled (for fraud reasons)?
|
* Is the card enabled (for fraud reasons)?
|
||||||
|
* Default: true
|
||||||
*/
|
*/
|
||||||
@Column()
|
@Column()
|
||||||
@IsBoolean()
|
@IsBoolean()
|
||||||
enabled: boolean;
|
enabled: boolean = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Used to link cards to a track scans.
|
* Used to link cards to a track scans.
|
||||||
|
@ -37,8 +37,9 @@ export abstract class Scan {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Is the scan valid (for fraud reasons).
|
* Is the scan valid (for fraud reasons).
|
||||||
|
* Default: true
|
||||||
*/
|
*/
|
||||||
@Column()
|
@Column()
|
||||||
@IsBoolean()
|
@IsBoolean()
|
||||||
valid: boolean;
|
valid: boolean = true;
|
||||||
}
|
}
|
||||||
|
@ -47,10 +47,11 @@ export class ScanStation {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Is the station enabled (for fraud reasons)?
|
* Is the station enabled (for fraud reasons)?
|
||||||
|
* Default: true
|
||||||
*/
|
*/
|
||||||
@Column()
|
@Column()
|
||||||
@IsBoolean()
|
@IsBoolean()
|
||||||
enabled: boolean;
|
enabled: boolean = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Used to link track scans to a scan station.
|
* Used to link track scans to a scan station.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user