{ "name": "ItemLog", "base": "VnModel", "options": { "mysql": { "table": "itemLog", "database": "vn" } }, "properties": { "id": { "type": "Number", "id": true, "description": "Identifier" }, "creationDate": { "type": "Date" }, "description": { "type": "String" }, "action": { "type": "String" } }, "relations": { "item": { "type": "belongsTo", "model": "Item", "foreignKey": "originFk" }, "user": { "type": "belongsTo", "model": "Account", "foreignKey": "userFk" } } }