latest work #20

Merged
philipp merged 233 commits from dev into main 2020-12-09 18:49:33 +00:00
Showing only changes of commit b632c09924 - Show all commits

17
src/models/Donor.ts Normal file
View File

@ -0,0 +1,17 @@
import { Entity, Column } from "typeorm";
import { IsBoolean } from "class-validator";
import { Participant } from "./Participant";
/**
* Defines a donor.
*/
@Entity()
export class Donor extends Participant {
/**
* Does this donor need a receipt?.
* Default: True
*/
@Column()
@IsBoolean()
receiptNeeded = false;
}