mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-25 21:17:54 +00:00
feat: add device name field to DeviceEntity and update related DTOs and services
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user