30 lines
436 B
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"
|
||
|
}
|
||
|
}
|
||
|
}
|