import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { IsUUID, IsNotEmpty, IsString, IsOptional } from 'class-validator';

export class LoseDealDto {
  @ApiProperty({ description: 'Lost reason ID' })
  @IsUUID()
  @IsNotEmpty()
  lostReasonId: string;

  @ApiPropertyOptional({ description: 'Additional comment' })
  @IsString()
  @IsOptional()
  lostComment?: string;
}
