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

30 lines
436 B
JSON

{
"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"
}
}
}