import { z } from "zod";

export const reportsSchema = z.object({
  id: z.number(),
  reportName: z.string(),
  reportType: z.number(),
  clientId: z.number(),
  propId: z.number(),
  status: z.number(),
  value: z.string(),
  generatedBy: z.string(),
  startDate: z.string().datetime(),
  endDate: z.string().datetime(),
  createdAt: z.string().datetime(),
  updatedAt: z.string().datetime(),
});

type reportTypes = z.infer<typeof reportsSchema>;
export default reportTypes;
