50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
|
{
|
||
|
"name": "TravelThermograph",
|
||
|
"base": "VnModel",
|
||
|
"options": {
|
||
|
"mysql": {
|
||
|
"table": "travelThermograph"
|
||
|
}
|
||
|
},
|
||
|
"properties": {
|
||
|
"thermographFk": {
|
||
|
"type": "Number",
|
||
|
"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"
|
||
|
}
|
||
|
}
|
||
|
}
|