2020-01-09 09:49:09 +00:00
|
|
|
{
|
|
|
|
"name": "TravelThermograph",
|
2020-01-13 10:53:10 +00:00
|
|
|
"base": "Loggable",
|
|
|
|
"log": {
|
2020-01-21 08:00:42 +00:00
|
|
|
"model":"TravelLog",
|
|
|
|
"relation": "travel",
|
|
|
|
"showField": "ref"
|
2020-01-13 10:53:10 +00:00
|
|
|
},
|
2020-01-09 09:49:09 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "travelThermograph"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
2020-01-21 11:21:53 +00:00
|
|
|
"id": {
|
|
|
|
"type": "Number",
|
2020-01-21 08:00:42 +00:00
|
|
|
"description": "Identifier",
|
|
|
|
"id": true
|
2020-01-09 09:49:09 +00:00
|
|
|
},
|
|
|
|
"created": {
|
2020-01-21 11:21:53 +00:00
|
|
|
"type": "Date"
|
2020-01-09 09:49:09 +00:00
|
|
|
},
|
|
|
|
"temperature": {
|
2020-05-27 11:11:41 +00:00
|
|
|
"type": "String",
|
|
|
|
"required": true
|
2020-01-09 09:49:09 +00:00
|
|
|
},
|
|
|
|
"result": {
|
|
|
|
"type": "String"
|
2020-05-27 11:11:41 +00:00
|
|
|
},
|
|
|
|
"warehouseFk": {
|
|
|
|
"type": "Number",
|
|
|
|
"required": true
|
2020-01-09 09:49:09 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|