salix/modules/agency/back/models/zone-included.json

30 lines
496 B
JSON
Raw Normal View History

2018-09-19 13:05:07 +00:00
{
"name": "ZoneIncluded",
"base": "VnModel",
"options": {
"mysql": {
"table": "zoneIncluded"
}
},
"properties": {
"zoneFk": {
"id": true,
"type": "Number"
},
"isIncluded": {
"type": "Boolean"
}
},
"relations": {
"zone": {
"type": "belongsTo",
"model": "Zone",
"foreignKey": "zoneFk"
},
"geo": {
"type": "belongsTo",
"model": "ZoneGeo",
"foreignKey": "geoFk"
}
}
}