Source: models/config.js

/* Packages */
const mongoose = require('mongoose');

const schema = new mongoose.Schema({
  valueID: {
    type: String,
    required: true,
    unique: true,
  },
  value: {
    type: String,
    required: true,
  },
});

/**
 * Class representing a SensorHub.
 * @class
 */
class Config {}

schema.loadClass(Config);
module.exports = mongoose.model('Config', schema);