bugfix/68-address_circular_dependencies #70

Merged
niggl merged 5 commits from bugfix/68-address_circular_dependencies into feature/65-donor_controllers 2021-01-02 20:55:04 +00:00
Showing only changes of commit 9c4e54fc6e - Show all commits

View File

@ -1,6 +1,10 @@
import { Entity, ManyToOne, PrimaryColumn } from 'typeorm';
import { Address } from './Address';
/**
* The interface(-ish) all entities using addresses have to implement.
* This is a abstract class, because apparently typeorm can't really work with interfaces :/
*/
@Entity()
export abstract class IAddressUser {
@PrimaryColumn()