Merge pull request #341 from SyncrowIOT/SP-1357-be-add-our-product-name-and-device-name-related-to-the-syncrow-regardless-the-supplier

SP-1357-be-add-our-product-name-and-device-name-related-to-the-syncrow-regardless-the-supplier
This commit is contained in:
hannathkadher
2025-04-22 09:47:21 +04:00
committed by GitHub
9 changed files with 72 additions and 126 deletions
@@ -32,7 +32,10 @@ export class DeviceEntity extends AbstractEntity<DeviceDto> {
type: 'boolean',
})
isActive: boolean;
@Column({
nullable: false,
})
name: string;
@OneToMany(
() => DeviceUserPermissionEntity,
(permission) => permission.device,