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