{ "name": "NotificationQueue", "base": "VnModel", "options": { "mysql": { "table": "util.notificationQueue" } }, "properties": { "id": { "type": "number", "id": true, "description": "Identifier" }, "params": { "type": "string" }, "status": { "type": "string" }, "created": { "type": "date" } }, "relations": { "notification": { "type": "belongsTo", "model": "Notification", "foreignKey": "notificationFk", "primaryKey": "name" }, "author": { "type": "belongsTo", "model": "VnUser", "foreignKey": "authorFk" } } }