2024-07-03 07:21:58 +00:00
|
|
|
{
|
|
|
|
"name": "RoadmapStop",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "roadmapStop"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"roadmapFk": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"addressFk": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"eta": {
|
|
|
|
"type": "date"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"userFk": {
|
|
|
|
"type": "number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"roadmap": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Roadmap",
|
|
|
|
"foreignKey": "roadmapFk"
|
|
|
|
},
|
|
|
|
"address": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "RoadmapAddress",
|
|
|
|
"foreignKey": "addressFk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|