import { z } from "zod";

export const staffCommissionSchema = z.object({
  id: z.number(),
  staffId: z.number(),
  clientId: z.number(),
  propId: z.number(),
  tenantId: z.number(),
  occupancyId: z.number(),
  amount: z.number(),
  balance: z.number(),
  paidDate: z.string().datetime().nullable(),
  isPaid: z.number(),
  createdAt: z.string().datetime(),
  updatedAt: z.string().datetime(),
});

type staffCommissionTypes = z.infer<typeof staffCommissionSchema>;
export default staffCommissionTypes;