{ "name": "DeviceProductionUser", "base": "VnModel", "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" } } }