import { z } from "zod";
import { propertiesSchema } from "./property.schema";

export const landlordBankAccountsSchema = z.object({
  id: z.number(),
  clientId: z.number(),
  landlordId: z.number(),
  bankName: z.string(),
  accountNum: z.string(),
  ifsc: z.string(),
  bankAddress: z.string(),
  holderName: z.string(),
  createdAt: z.string().datetime(),
  updatedAt: z.string().datetime(),
});

type landlordBankAccountsTypes = z.infer<typeof landlordBankAccountsSchema>;

export default landlordBankAccountsTypes;