salix/modules/zone/back/models/zone-exclusion.json

26 lines
380 B
JSON

{
"name": "ZoneExclusion",
"base": "VnModel",
"options": {
"mysql": {
"table": "zoneExclusion"
}
},
"properties": {
"id": {
"id": true,
"type": "Number"
},
"dated": {
"type": "Date",
"required": true
}
},
"relations": {
"zone": {
"type": "belongsTo",
"model": "Zone",
"foreignKey": "zoneFk"
}
}
}