salix/modules/agency/models/zone-calendar.json

25 lines
365 B
JSON

{
"name": "ZoneCalendar",
"base": "VnModel",
"options": {
"mysql": {
"table": "ZoneCalendar"
}
},
"properties": {
"zoneFk": {
"id": true,
"type": "Number"
},
"delivered": {
"type": "Date"
}
},
"relations": {
"zone": {
"type": "belongsTo",
"model": "Zone",
"foreignKey": "zoneFk"
}
}
}