import { IsString, IsOptional, IsEnum, IsDateString } from 'class-validator'

export class UpdateStepDto {
  @IsEnum(['pending', 'in_progress', 'completed', 'skipped'])
  status: 'pending' | 'in_progress' | 'completed' | 'skipped'

  @IsOptional() @IsString() completedBy?: string
  @IsOptional() @IsString() notes?: string
  @IsOptional() @IsDateString() dueDate?: string
}
