feat(FE-41): create Bank type

This commit is contained in:
ValdiANS
2025-10-08 15:35:00 +07:00
parent 780c0bb9d0
commit 293f457ecb
+20
View File
@@ -0,0 +1,20 @@
import { BaseMetadata } from '@/types/api/api-general';
export type BaseBank = {
id: number;
name: string;
alias: string;
owner?: string;
account_number: string;
};
export type Bank = BaseMetadata & BaseBank;
export type CreateBankPayload = {
name: string;
alias: string;
account_number: string;
owner?: string;
};
export type UpdateBankPayload = CreateBankPayload;