import { z } from "zod";

export const locationSchema = z.object({
  id: z.number(),
  clientId: z.number(),
  name: z.string(),
  description: z.string(),
  createdAt: z.string().datetime(),
  updatedAt: z.string().datetime(),
});

type locationTypes = z.infer<typeof locationSchema>;
export default locationTypes;