ref #193
This commit is contained in:
@@ -35,12 +35,12 @@ export abstract class Donation {
|
||||
public abstract get amount(): number;
|
||||
|
||||
/**
|
||||
* The donation's payed amount in cents (or whatever your currency's smallest unit is.).
|
||||
* Used to mark donations as payed.
|
||||
* The donation's paid amount in cents (or whatever your currency's smallest unit is.).
|
||||
* Used to mark donations as paid.
|
||||
*/
|
||||
@Column({ nullable: true })
|
||||
@IsInt()
|
||||
payedAmount: number;
|
||||
paidAmount: number;
|
||||
|
||||
/**
|
||||
* Turns this entity into it's response class.
|
||||
|
||||
Reference in New Issue
Block a user