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

45 lines
743 B
JSON

{
"name": "ZoneIncludedCheck",
"base": "Loggable",
"options": {
"mysql": {
"table": "zoneIncludedCheck"
}
},
"properties": {
"id": {
"id": true,
"type": "number"
},
"zoneFk": {
"type": "int"
},
"geoFk": {
"type": "int"
},
"userFk": {
"type": "int"
},
"action": {
"type": "string"
}
},
"relations": {
"zone": {
"type": "belongsTo",
"model": "Zone",
"foreignKey": "zoneFk"
},
"geo": {
"type": "belongsTo",
"model": "ZoneGeo",
"foreignKey": "geoFk"
},
"user": {
"type": "belongsTo",
"model": "VnUser",
"foreignKey": "userFk"
}
}
}