2020-01-09 09:49:09 +00:00
|
|
|
{
|
|
|
|
"name": "TravelThermograph",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "travelThermograph"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"thermographFk": {
|
2020-01-09 10:27:53 +00:00
|
|
|
"type": "String",
|
2020-01-09 09:49:09 +00:00
|
|
|
"id": 1,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"created": {
|
|
|
|
"type": "Date",
|
|
|
|
"id": 2,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|