26 lines
378 B
JSON
26 lines
378 B
JSON
{
|
|
"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"
|
|
}
|
|
}
|
|
} |