import { z } from "zod";

export const notificationSchema = z.object({
  id: z.number(),
  userType: z.number(),
  userId: z.number(),
  title: z.string(),
  message: z.string(),
  notiCategory: z.number(),
  status: z.number(),
  createdAt: z.string().datetime(),
  updatedAt: z.string().datetime(),
});

type notificationTypes = z.infer<typeof notificationSchema>;

export default notificationTypes;
