import PropTypes from "prop-types";
import {PatientPropType} from "./patientPropType.js";
import {UserPropType} from "./userPropType.js";
import {LensPropType} from "./lensPropType.js";

export const LensIssuePropType = PropTypes.shape({
    id: PropTypes.number,
    issue_date: PropTypes.string.isRequired,
    patient_id: PropTypes.number.isRequired,
    doctor_id: PropTypes.number,
    lens_id: PropTypes.number.isRequired,
    patient: PatientPropType,
    doctor: UserPropType,
    lens: LensPropType,
});