import { z } from "zod";

export const bookingSchema = z.object({
  id: z.number(),
  clientId: z.number(),
  tenantId: z.number(),
  propId: z.number().nullable(),
  roomId: z.number().nullable(),
  moveInDate: z.string().datetime(),
  status: z.number(),
  stayType: z.number(),
  applicationNumber: z.string(),
  bookedBy: z.number().nullable(),
  createdAt: z.string().datetime(),
  updatedAt: z.string().datetime(),
});

type bookingsTypes = z.infer<typeof bookingSchema>;

export default bookingsTypes;