"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getObjectType = void 0;
const constant_1 = require("../constant");
const getObjectType = (roleCode) => {
    const typeMap = {
        GV: constant_1.EObjectType.TEACHER,
        SV: constant_1.EObjectType.STUDENT,
        NV: constant_1.EObjectType.STAFF,
        DEPARTMENT: constant_1.EObjectType.DEPARTMENT,
    };
    return typeMap[roleCode] || constant_1.EObjectType.DEPARTMENT;
};
exports.getObjectType = getObjectType;
//# sourceMappingURL=get-object-type.js.map