initial: standalone repo from monorepo split
This commit is contained in:
8
src/account/dto/transfer-funds.dto.ts
Normal file
8
src/account/dto/transfer-funds.dto.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { IsString, IsNumber, IsPositive, IsOptional, IsUUID } from 'class-validator';
|
||||
|
||||
export class TransferFundsDto {
|
||||
@IsUUID() fromAccountId: string;
|
||||
@IsUUID() toAccountId: string;
|
||||
@IsNumber() @IsPositive() amount: number;
|
||||
@IsOptional() @IsString() description?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user