parent
7ce8c375a2
commit
b632c09924
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue