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