import { ApiProperty } from '@nestjs/swagger';
import { IsObject } from 'class-validator';
import { TransactionDto, WalletDto } from './PaymentsDto';

export class ProcessWalletTransactionResultDTO {
  @ApiProperty({ type: WalletDto })
  @IsObject()
  wallet!: WalletDto;

  @ApiProperty({ type: TransactionDto })
  @IsObject()
  transaction!: TransactionDto;
}