| Current Path : /home/deltalab/PMS/partner-manager-backend/models/mongoose/ |
| Current File : //home/deltalab/PMS/partner-manager-backend/models/mongoose/module-accessible-feature.js |
const mongoose = require('mongoose');
// SCHEMA ============================================
/**
* The ServiceAccessibleFeature model represents the ability for a partner's user to operate on specific parts of a service.
*/
const ModuleAccessibleFeatureSchema = new mongoose.Schema(
{
code: { type: String, required: true },
name: { type: String, required: true },
},
{
_id: false,
},
);
// EXPORTS ===========================================
module.exports = { ModuleAccessibleFeatureSchema };