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