text: module.exports = app => {
    const mongoose = app.mongoose;
    const Schema = mongoose.Schema;
  
    const RoleAccess = new Schema({
      role_id: {
        type: Schema.Types.ObjectId
      },
      access_id: {
        type: Schema.Types.ObjectId
      }
    })
  
    return mongoose.model('RoleAccess', RoleAccess, 'role_access')
  }