{ "name": "ItemLog", "base": "VnModel", "options": { "mysql": { "table": "itemLog" } }, "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" } }, "acls": [ { "accessType": "READ", "principalType": "ROLE", "principalId": "$everyone", "permission": "ALLOW" } ] }