{ "name": "ClaimBeginning", "base": "Loggable", "log": { "model": "ClaimLog", "relation": "claim", "showField": "quantity" }, "options": { "mysql": { "table": "claimBeginning" } }, "properties": { "id": { "type": "Number", "id": true, "description": "Identifier" }, "quantity": { "type": "Number", "required": true } }, "relations": { "claim": { "type": "belongsTo", "model": "Claim", "foreignKey": "claimFk" }, "sale": { "type": "belongsTo", "model": "Sale", "foreignKey": "saleFk" } } }