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

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

  @ApiProperty({ type: [TransactionDto] })
  @IsArray()
  transactions!: TransactionDto[];
}