Remove lazy loading for productDevice in DeviceEntity

This commit is contained in:
faris Aljohari
2024-07-22 19:12:47 +03:00
parent 86a9a6ceda
commit c89694919d

View File

@ -48,7 +48,6 @@ export class DeviceEntity extends AbstractEntity<DeviceDto> {
@ManyToOne(() => ProductEntity, (product) => product.devicesProductEntity, { @ManyToOne(() => ProductEntity, (product) => product.devicesProductEntity, {
nullable: false, nullable: false,
lazy: true,
}) })
productDevice: ProductEntity; productDevice: ProductEntity;