Added comments to the bugfix
This commit is contained in:
parent
2c47436259
commit
9c4e54fc6e
@ -1,6 +1,10 @@
|
|||||||
import { Entity, ManyToOne, PrimaryColumn } from 'typeorm';
|
import { Entity, ManyToOne, PrimaryColumn } from 'typeorm';
|
||||||
import { Address } from './Address';
|
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()
|
@Entity()
|
||||||
export abstract class IAddressUser {
|
export abstract class IAddressUser {
|
||||||
@PrimaryColumn()
|
@PrimaryColumn()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user