feat: added change task phase DTO for task
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user