{ "name": "TravelThermograph", "base": "Loggable", "log": { "model":"TravelLog", "relation": "travel", "showField": "ref" }, "options": { "mysql": { "table": "travelThermograph" } }, "properties": { "id": { "type": "Number", "description": "Identifier", "id": true }, "created": { "type": "Date" }, "temperature": { "type": "String" }, "result": { "type": "String" } }, "relations": { "travel": { "type": "belongsTo", "model": "Travel", "foreignKey": "travelFk" }, "warehouse": { "type": "belongsTo", "model": "Warehouse", "foreignKey": "warehouseFk" }, "dms": { "type": "belongsTo", "model": "Dms", "foreignKey": "dmsFk" }, "thermograph": { "type": "belongsTo", "model": "Thermograph", "foreignKey": "thermographFk" } } }