2020-01-09 09:49:09 +00:00
|
|
|
{
|
|
|
|
"name": "TravelThermograph",
|
2023-12-05 06:48:56 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"mixins": {
|
|
|
|
"Loggable": true
|
|
|
|
},
|
2020-01-09 09:49:09 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2023-04-12 10:33:14 +00:00
|
|
|
"table": "travelThermograph"
|
2020-01-09 09:49:09 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
2020-01-21 11:21:53 +00:00
|
|
|
"id": {
|
2021-09-06 14:38:27 +00:00
|
|
|
"type": "number",
|
2020-01-21 08:00:42 +00:00
|
|
|
"description": "Identifier",
|
|
|
|
"id": true
|
2020-01-09 09:49:09 +00:00
|
|
|
},
|
|
|
|
"created": {
|
2021-09-06 14:38:27 +00:00
|
|
|
"type": "date"
|
2020-01-09 09:49:09 +00:00
|
|
|
},
|
2021-09-06 14:38:27 +00:00
|
|
|
"temperatureFk": {
|
|
|
|
"type": "string",
|
2020-05-27 11:11:41 +00:00
|
|
|
"required": true
|
2020-01-09 09:49:09 +00:00
|
|
|
},
|
|
|
|
"result": {
|
2021-09-06 14:38:27 +00:00
|
|
|
"type": "string"
|
2020-05-27 11:11:41 +00:00
|
|
|
},
|
|
|
|
"warehouseFk": {
|
2021-09-06 14:38:27 +00:00
|
|
|
"type": "number",
|
2020-05-27 11:11:41 +00:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|