Added comments to the bugfix

This commit is contained in:
niggl committed 2021-01-02 19:57:33 +01:00
1 parent 2c47436259
commit 9c4e54fc6e
1 file changed
+4
+4
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()