/* An object to represent an entry in the database. */ class Entry { constructor(PROPERTIES) { (PROPERTIES && (Object.keys(PROPERTIES).length)) ? Object.entries(PROPERTIES).forEach(([property, value]) => { this[property] = value; }) : false; }; }; module.exports = Entry;