import { z } from "zod";

export const eqaroPropertiesSchema = z.object({
    id: z.number(),
    clientId: z.number(),
    propId: z.number(),
    name: z.string(),
    landlordId: z.number(),
    propertyCategory: z.string(),
    propertyType: z.string(),
    numberOfUnits: z.number(),
    No_of_Bedrooms: z.number(),
    noOfBathrooms: z.number(),
    expectedRent: z.number(),
    expectedBondValue: z.number(),
    bondFees: z.number(),
    bondAmount: z.number(),
    expectedAdvanceRent: z.number(),
    propertyAge: z.number(),
    servantRoom: z.number(),
    studyRoom: z.number(),
    status: z.number(),
    visibility: z.string(),
    useOwnerNameInBond: z.number(),
    approvalType: z.string(),
    isBondValueEditable: z.number(),
    ownerFullName: z.string(),
    productId: z.string(),
    address: z.string(),
    eqaroId: z.string(),
    propertyId: z.string(),
    amenities: z.string(),
    createdAt: z.string().datetime(),
    updatedAt: z.string().datetime(),
});

type eqaroPropertiesType = z.infer<typeof eqaroPropertiesSchema>;

export default eqaroPropertiesType;