import { z } from "zod";

export const landlordAccountsSchema = z.object({
  id: z.number(),
  clientId: z.number(),
  propId: z.number(),
  landlordId: z.number(),
  bankName: z.string().max(150).optional(),
  holderName: z.string().max(80).optional(),
  accountNum: z.string().max(25).optional(),
  ifsc: z.string().max(20).optional(),
  gateway: z.number().min(0).optional(),
  mId: z.string().max(20),
  key: z.string().max(20),
  createdAt: z.string().datetime(),
  updatedAt: z.string().datetime(),
});

type landlordAccountsTypes = z.infer<typeof landlordAccountsSchema>;


export default landlordAccountsTypes;
