import { IsString, MinLength } from 'class-validator'; import { ApiProperty } from '@nestjs/swagger'; export class RefundPaymentDto { @ApiProperty({ description: 'Reason for the refund', example: 'Customer requested cancellation' }) @IsString() @MinLength(1) reason!: string; }