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

30 lines
429 B
JSON
Raw Normal View History

2019-09-25 18:06:42 +00:00
{
"name": "ZoneExclusion",
"base": "VnModel",
"mixins": {
"Loggable": true
},
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"
}
}
}