feat: add device name field to DeviceEntity and update related DTOs and services

This commit is contained in:
faris Aljohari
2025-04-22 01:53:03 +03:00
parent 1e6503c072
commit 2f12189eef
7 changed files with 69 additions and 126 deletions
+8
View File
@@ -17,6 +17,14 @@ export class AddDeviceDto {
@IsString()
@IsNotEmpty()
public spaceUuid: string;
@ApiProperty({
description: 'deviceName',
required: true,
})
@IsString()
@IsNotEmpty()
public deviceName: string;
}
export class AssignDeviceToSpaceDto {
@ApiProperty({