import { EObjectType } from '../constant';
export const getObjectType = (roleCode) => {
    const typeMap = {
        GV: EObjectType.TEACHER,
        SV: EObjectType.STUDENT,
        NV: EObjectType.STAFF,
        DEPARTMENT: EObjectType.DEPARTMENT,
    };
    return typeMap[roleCode] || EObjectType.DEPARTMENT;
};
//# sourceMappingURL=get-object-type.js.map