mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-15 18:27:05 +00:00
feat: add device name field to DeviceEntity and update related DTOs and services
This commit is contained in:
@ -32,7 +32,10 @@ export class DeviceEntity extends AbstractEntity<DeviceDto> {
|
||||
type: 'boolean',
|
||||
})
|
||||
isActive: boolean;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
})
|
||||
name: string;
|
||||
@OneToMany(
|
||||
() => DeviceUserPermissionEntity,
|
||||
(permission) => permission.device,
|
||||
|
Reference in New Issue
Block a user