27 lines
507 B
JSON
27 lines
507 B
JSON
{
|
|
"name": "RoadmapAddress",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "roadmapAddress"
|
|
}
|
|
},
|
|
"properties": {
|
|
"addressFk": {
|
|
"type": "number",
|
|
"id": true,
|
|
"description": "Identifier"
|
|
},
|
|
"isActive": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"relations": {
|
|
"address": {
|
|
"type": "belongsTo",
|
|
"model": "Address",
|
|
"foreignKey": "addressFk"
|
|
}
|
|
}
|
|
}
|