Turned the abstracts into entities

ref #11
This commit is contained in:
2020-12-02 16:07:18 +01:00
parent dd5f4488be
commit 5bf978d32d
5 changed files with 10 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
import { PrimaryGeneratedColumn, Column, ManyToOne } from "typeorm";
import { PrimaryGeneratedColumn, Column, ManyToOne, Entity } from "typeorm";
import {
IsInt,
IsNotEmpty,
@@ -10,6 +10,7 @@ import { Participant } from "./Participant";
/**
* Defines the donation interface.
*/
@Entity()
export abstract class Donation {
/**
* Autogenerated unique id (primary key).