import { z } from "zod";

export const staffBalanceSchema = z.object({
  id: z.number(),
  staffId: z.number(),
  totalCollected: z.number(),
  totalGivenToOwner: z.number(),
  totalExpense: z.number(),
  amountReimbursed: z.number(),
  createdAt: z.string().datetime(),
  updatedAt: z.string().datetime(),
});

type staffBalanceTypes = z.infer<typeof staffBalanceSchema>;

export default staffBalanceTypes;