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

30 lines
436 B
JSON
Raw Permalink Normal View History

2020-01-22 09:41:09 +00:00
{
2020-02-20 14:15:50 +00:00
"name": "ZoneClosure",
2020-01-22 09:41:09 +00:00
"base": "VnModel",
"options": {
"mysql": {
2020-02-20 14:15:50 +00:00
"table": "zoneClosure"
2020-01-22 09:41:09 +00:00
}
},
"properties": {
"zoneFk": {
"id": true,
2022-05-12 07:47:47 +00:00
"type": "number"
2020-02-20 14:15:50 +00:00
},
"dated": {
"type": "date",
2020-02-20 14:15:50 +00:00
"required": true
},
"hour": {
"type": "date",
"required": true
2020-01-22 09:41:09 +00:00
}
},
"relations": {
"zone": {
"type": "belongsTo",
"model": "Zone",
"foreignKey": "zoneFk"
}
}
}