Merge pull request #339 from SyncrowIOT/feat/commission-device

Feat/commission device
This commit is contained in:
hannathkadher
2025-04-22 11:04:15 +04:00
committed by GitHub
17 changed files with 495 additions and 66 deletions

View File

@ -78,7 +78,7 @@ export class DeviceEntity extends AbstractEntity<DeviceDto> {
@OneToMany(() => NewTagEntity, (tag) => tag.devices)
// @JoinTable({ name: 'device_tags' })
public tag: NewTagEntity[];
public tag: NewTagEntity;
constructor(partial: Partial<DeviceEntity>) {
super();