Files
DentalManagement09/packages/db/shared/schemas/variants/pure/PatientServiceHistory.pure.ts
T

16 lines
524 B
TypeScript

import * as z from 'zod';
// prettier-ignore
export const PatientServiceHistoryModelSchema = z.object({
id: z.number().int(),
patientId: z.number().int(),
procedureCode: z.string(),
description: z.string().nullable(),
toothQuadArchSurface: z.string().nullable(),
placeOfService: z.string().nullable(),
serviceDate: z.string().nullable(),
createdAt: z.date(),
patient: z.unknown()
}).strict();
export type PatientServiceHistoryPureType = z.infer<typeof PatientServiceHistoryModelSchema>;