|
|
@@ -3,6 +3,7 @@ import { DisabledBankCard } from './disabled-bank-card.entity';
|
|
|
import { DisabledPhoto } from './disabled-photo.entity';
|
|
|
import { DisabledRemark } from './disabled-remark.entity';
|
|
|
import { DisabledVisit } from './disabled-visit.entity';
|
|
|
+import { OrderPerson } from '@d8d/allin-order-module/entities';
|
|
|
|
|
|
@Entity('disabled_person')
|
|
|
@Index(['name'])
|
|
|
@@ -231,4 +232,7 @@ export class DisabledPerson {
|
|
|
|
|
|
@OneToMany(() => DisabledVisit, (visit: DisabledVisit) => visit.person)
|
|
|
visits!: DisabledVisit[];
|
|
|
+
|
|
|
+ @OneToMany(() => OrderPerson, (orderPerson: OrderPerson) => orderPerson.person)
|
|
|
+ orderPersons!: OrderPerson[];
|
|
|
}
|