parent
8613180c87
commit
4ee47eba4b
6 changed files with 23 additions and 6 deletions
@ -0,0 +1,4 @@ |
||||
export class CreateWalletDto { |
||||
userId: number; |
||||
amount: number; |
||||
} |
@ -0,0 +1,2 @@ |
||||
export * from './create-wallet.dto'; |
||||
export * from './update-wallet.dto'; |
@ -1,3 +1,4 @@ |
||||
export class UpdateWalletDto { |
||||
amount: number; |
||||
} |
||||
import { PartialType } from '@nestjs/mapped-types'; |
||||
import { CreateWalletDto } from './create-wallet.dto'; |
||||
|
||||
export class UpdateWalletDto extends PartialType(CreateWalletDto) {} |
||||
|
Loading…
Reference in new issue