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

43 lines
895 B
JSON
Raw Normal View History

{
2024-05-16 08:20:08 +00:00
"name": "RoadmapStop",
"base": "VnModel",
"options": {
"mysql": {
2024-07-01 15:45:45 +00:00
"table": "roadmapStop"
}
},
"properties": {
"id": {
"type": "number",
"id": true,
"description": "Identifier"
},
"roadmapFk": {
"type": "number"
},
2024-05-24 13:14:20 +00:00
"addressFk": {
"type": "number"
},
"eta": {
"type": "date"
},
"description": {
"type": "string"
},
"userFk": {
"type": "number"
}
},
2024-07-01 15:45:45 +00:00
"relations": {
"roadmap": {
"type": "belongsTo",
"model": "Roadmap",
"foreignKey": "roadmapFk"
},
2024-05-24 13:14:20 +00:00
"address": {
"type": "belongsTo",
2024-07-01 15:45:45 +00:00
"model": "RoadmapAddress",
2024-05-24 13:14:20 +00:00
"foreignKey": "addressFk"
}
2024-07-01 15:45:45 +00:00
}
}