{ "name": "WorkerTimeControl", "base": "VnModel", "options": { "mysql": { "table": "workerTimeControl" } }, "properties": { "id": { "id": true, "type": "Number" }, "timed": { "type": "Date" }, "manual": { "type": "Boolean" }, "order": { "type": "Number" } }, "relations": { "user": { "type": "belongsTo", "model": "Account", "foreignKey": "userFk" }, "warehouse": { "type": "belongsTo", "model": "Warehouse", "foreignKey": "warehouseFk" } } }