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;
