{ "name": "ItemTaxCountry", "base": "Loggable", "log": { "model": "ItemLog", "relation": "item", "showField": "countryFk" }, "options": { "mysql": { "table": "itemTaxCountry" } }, "properties": { "id": { "type": "Number", "id": true, "description": "Identifier" }, "effectived": { "type": "Boolean" }, "itemFk": { "type": "Number" }, "countryFk": { "type": "Number" }, "taxClassFk": { "type": "Number" } }, "relations": { "item": { "type": "belongsTo", "model": "Item", "foreignKey": "itemFk" }, "country": { "type": "belongsTo", "model": "Country", "foreignKey": "countryFk" }, "taxClass": { "type": "belongsTo", "model": "TaxClass", "foreignKey": "taxClassFk" } } }