import { z } from "zod";

export const requestsSchema = z.object({
  id: z.number(),
  clientId: z.number(),
  occupancyId: z.number(),
  tenantId: z.number(),
  propId: z.number(),
  roomId: z.number(),
  floor: z.string(),
  title: z.string(),
  description: z.string(),
  reason: z.string(),
  type: z.number(),
  status: z.number(),
  isMoveOutId: z.number(),
  createdAt: z.string().datetime(),
  updatedAt: z.string().datetime(),
});

type requestsTypes = z.infer<typeof requestsSchema>;
export default requestsTypes;
