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

export class RefuseClientDto {
  @ApiProperty({
    description: 'Reason for refusal (required)',
    maxLength: 1000,
    example: 'Client decided to postpone training indefinitely',
  })
  @IsString()
  @IsNotEmpty()
  @MaxLength(1000)
  comment: string;
}
