mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-26 00:24:54 +00:00
fix: fix mock request for funding decorators
This commit is contained in:
@ -1,7 +1,9 @@
|
|||||||
import { ApiProperty } from '@nestjs/swagger';
|
import { ApiProperty } from '@nestjs/swagger';
|
||||||
|
import { IsString } from 'class-validator';
|
||||||
import { TransferToJuniorRequestDto } from '~/junior/dtos/request';
|
import { TransferToJuniorRequestDto } from '~/junior/dtos/request';
|
||||||
|
|
||||||
export class FundIbanRequestDto extends TransferToJuniorRequestDto {
|
export class FundIbanRequestDto extends TransferToJuniorRequestDto {
|
||||||
@ApiProperty({ example: 'DE89370400440532013000' })
|
@ApiProperty({ example: 'DE89370400440532013000' })
|
||||||
|
@IsString()
|
||||||
iban!: string;
|
iban!: string;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user