salix/modules/agency/back/models/zone-event.json

47 lines
635 B
JSON
Raw Normal View History

2019-09-25 18:06:42 +00:00
{
"name": "ZoneEvent",
"base": "VnModel",
"options": {
"mysql": {
"table": "zoneEvent"
}
},
"properties": {
"id": {
"id": true,
"type": "Number"
},
"zoneFk": {
"id": true,
"type": "Number"
},
"from": {
"type": "Date"
},
"to": {
"type": "Date"
},
"weekDays": {
"type": "String"
},
"hour": {
"type": "Date"
},
"travelingDays": {
"type": "Number"
},
"price": {
"type": "Number"
},
"bonus": {
"type": "Number"
}
},
"relations": {
"zone": {
"type": "belongsTo",
"model": "Zone",
"foreignKey": "zoneFk"
}
}
}