Implemented the second round of the toResponse normalisationf for all classes
ref #67
This commit is contained in:
@@ -32,4 +32,11 @@ export abstract class Donation {
|
||||
* The exact implementation may differ for each type of donation.
|
||||
*/
|
||||
abstract amount: number;
|
||||
|
||||
/**
|
||||
* Turns this entity into it's response class.
|
||||
*/
|
||||
public toResponse() {
|
||||
return new Error("NotImplemented");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user