From 26b8268f73ebb733dea74a25e6b64bc8ca3f0c9e Mon Sep 17 00:00:00 2001 From: realrafi Date: Wed, 1 Jul 2026 13:17:21 +0330 Subject: [PATCH] feat: added change task phase DTO for task --- .../task-manager/dto/task/change-task-phase.dto.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/modules/task-manager/dto/task/change-task-phase.dto.ts diff --git a/src/modules/task-manager/dto/task/change-task-phase.dto.ts b/src/modules/task-manager/dto/task/change-task-phase.dto.ts new file mode 100644 index 0000000..c98872d --- /dev/null +++ b/src/modules/task-manager/dto/task/change-task-phase.dto.ts @@ -0,0 +1,9 @@ +import { ApiProperty } from '@nestjs/swagger'; +import { IsUUID, IsNotEmpty } from 'class-validator'; + +export class ChangeTaskPhaseDto { + @ApiProperty({ description: 'ID of the new task phase', example: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890' }) + @IsUUID() + @IsNotEmpty() + taskPhaseId: string; +} \ No newline at end of file