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

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