@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user