import PropTypes from "prop-types";

export const UserPropType = PropTypes.shape({
    id: PropTypes.number,
    first_name: PropTypes.string.isRequired,
    last_name: PropTypes.string.isRequired,
    patronymic: PropTypes.string,
    login: PropTypes.string.isRequired,
    role_id: PropTypes.number.isRequired,
});