{ "name": "Company", "description": "Companies", "base": "VnModel", "options": { "mysql": { "table": "company" } }, "properties": { "id": { "id": true, "type": "number", "description": "Identifier" }, "code": { "type": "string" }, "expired": { "type": "date" }, "supplierAccountFk": { "type": "number" } }, "scope": { "where" :{ "expired": null } }, "relations": { "client": { "type": "belongsTo", "model": "Client", "foreignKey": "clientFk" } } }