latest work #20

Merged
philipp merged 233 commits from dev into main 2020-12-09 18:49:33 +00:00
4 changed files with 8 additions and 5 deletions
Showing only changes of commit 932e782a14 - Show all commits

View File

@ -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;
} }

View File

@ -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.

View File

@ -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;
} }

View File

@ -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.