Added comments to the bugfix

This commit is contained in:
Nicolai Ort 2021-01-02 19:57:33 +01:00
parent 2c47436259
commit 9c4e54fc6e
1 changed files with 4 additions and 0 deletions

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()