salix/modules/route/back/models/roadmapStop.json

44 lines
881 B
JSON
Raw Normal View History

{
2024-05-16 08:20:08 +00:00
"name": "RoadmapStop",
"base": "VnModel",
"options": {
"mysql": {
2024-05-16 08:20:08 +00:00
"table": "roadmapStop"
}
},
"properties": {
"id": {
"type": "number",
"id": true,
"description": "Identifier"
},
"roadmapFk": {
"type": "number"
},
"warehouseFk": {
"type": "number"
},
"eta": {
"type": "date"
},
"description": {
"type": "string"
},
"userFk": {
"type": "number"
}
},
"relations": {
"roadmap": {
"type": "belongsTo",
"model": "Roadmap",
"foreignKey": "roadmapFk"
},
"warehouse": {
"type": "belongsTo",
"model": "Warehouse",
"foreignKey": "warehouseFk"
}
}
}