{ "name": "ClientRisk", "base": "VnModel", "options": { "mysql": { "table": "clientRisk" } }, "properties": { "clientFk": { "type": "number", "id": true }, "companyFk": { "type": "number", "id": true }, "amount": { "type": "number" } }, "relations": { "client": { "type": "belongsTo", "model": "Client", "foreignKey": "clientFk" }, "company": { "type": "belongsTo", "model": "Company", "foreignKey": "companyFk" } } }