{ "name": "UserConfig", "base": "VnModel", "options": { "mysql": { "table": "userConfig" } }, "properties": { "userFk": { "id": true, "type": "number", "required": true }, "warehouseFk": { "type": "number" }, "companyFk": { "type": "number" }, "created": { "type": "date" }, "updated": { "type": "date" }, "darkMode": { "type": "boolean" } }, "relations": { "warehouse": { "type": "belongsTo", "model": "Warehouse", "foreignKey": "warehouseFk" }, "company": { "type": "belongsTo", "model": "Company", "foreignKey": "companyFk" }, "VnUser": { "type": "belongsTo", "model": "VnUser", "foreignKey": "userFk" } } }