import { IsNotEmpty, IsString } from 'class-validator'; export class SceneDeviceDto { @IsString() @IsNotEmpty() public uuid: string; @IsString() @IsNotEmpty() public deviceUuid: string; @IsString() @IsNotEmpty() public sceneUuid: string; @IsString() @IsNotEmpty() public switchName: string; @IsString() @IsNotEmpty() public automationTuyaUuid: string; }