diff --git a/apps/api/src/app/account/transfer-cash-balance.dto.ts b/apps/api/src/app/account/transfer-cash-balance.dto.ts new file mode 100644 index 000000000..3ccb12e15 --- /dev/null +++ b/apps/api/src/app/account/transfer-cash-balance.dto.ts @@ -0,0 +1,15 @@ +import { + IsNumber, + IsString, +} from 'class-validator'; + +export class TransferCashBalanceDto { + @IsString() + fromAccount: string; + + @IsString() + toAccount: string; + + @IsNumber() + balance: number; +} diff --git a/apps/client/src/app/pages/accounts/transfer-cash-balance/interfaces/interfaces.ts b/apps/client/src/app/pages/accounts/transfer-cash-balance/interfaces/interfaces.ts new file mode 100644 index 000000000..b3e2649c4 --- /dev/null +++ b/apps/client/src/app/pages/accounts/transfer-cash-balance/interfaces/interfaces.ts @@ -0,0 +1,5 @@ +import { Account } from '@prisma/client'; + +export interface TransferCashBalanceDialogParams { + accounts: Account[]; +}