{ "name": "ClientLog", "base": "VnModel", "options": { "mysql": { "table": "clientLog" } }, "properties": { "id": { "id": true, "type": "Number", "forceId": false }, "originFk": { "type": "Number", "required": true }, "userFk": { "type": "Number" }, "action": { "type": "String", "required": true }, "model": { "type": "String", "required": true }, "oldInstance": { "type": "Object", "required": true }, "newInstance": { "type": "Object", "required": true }, "creationDate": { "type": "Date" } }, "relations": { "user": { "type": "belongsTo", "model": "Account", "foreignKey": "userFk" } } }