{ "name": "DeviceProductionUser", "base": "Loggable", "log": { "model": "DeviceProductionLog", "relation": "deviceProduction" }, "options": { "mysql": { "table": "deviceProductionUser" } }, "properties": { "deviceProductionFk": { "type": "number", "id": true }, "userFk": { "type": "number" }, "created": { "type": "date" } }, "relations": { "deviceProduction": { "type": "belongsTo", "model": "DeviceProduction", "foreignKey": "deviceProductionFk" }, "user": { "type": "belongsTo", "model": "User", "foreignKey": "userFk" } } }