9 lines
297 B
TypeScript
9 lines
297 B
TypeScript
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;
|
|
} |