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

30 lines
443 B
JSON
Raw Normal View History

2019-09-25 18:06:42 +00:00
{
"name": "ZoneExclusion",
2022-09-13 10:15:28 +00:00
"base": "Loggable",
"log": {
"model":"ZoneLog",
"relation": "zone"
},
2019-09-25 18:06:42 +00:00
"options": {
"mysql": {
"table": "zoneExclusion"
}
},
"properties": {
"id": {
"id": true,
2022-05-12 07:47:47 +00:00
"type": "number"
2019-09-25 18:06:42 +00:00
},
2019-11-18 15:31:37 +00:00
"dated": {
"type": "date",
2019-09-25 18:06:42 +00:00
"required": true
}
},
"relations": {
"zone": {
"type": "belongsTo",
"model": "Zone",
"foreignKey": "zoneFk"
}
}
}