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

26 lines
378 B
JSON
Raw Normal View History

2019-09-25 18:06:42 +00:00
{
"name": "ZoneExclusion",
"base": "VnModel",
"options": {
"mysql": {
"table": "zoneExclusion"
}
},
"properties": {
"id": {
"id": true,
"type": "Number"
},
"day": {
"type": "Date",
"required": true
}
},
"relations": {
"zone": {
"type": "belongsTo",
"model": "Zone",
"foreignKey": "zoneFk"
}
}
}