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

30 lines
436 B
JSON
Raw Normal View History

2020-01-22 09:41:09 +00:00
{
"name": "ZoneClosure",
"base": "VnModel",
"options": {
"mysql": {
"table": "zoneClosure"
}
},
"properties": {
"zoneFk": {
"id": true,
"type": "Number"
},
"dated": {
"type": "Date",
"required": true
},
"hour": {
"type": "date",
"required": true
}
},
"relations": {
"zone": {
"type": "belongsTo",
"model": "Zone",
"foreignKey": "zoneFk"
}
}
}