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

export class UpdatePaymentStatusInputDTO {
  @ApiProperty()
  @IsString()
  paymentId!: string;

  @ApiProperty({ enum: PaymentStatus })
  @IsEnum(PaymentStatus)
  status!: PaymentStatus;
}