{ "name": "MailForward", "base": "VnModel", "options": { "mysql": { "table": "account.mailForward" } }, "properties": { "account": { "id": true }, "forwardTo": { "type": "string", "required": true } }, "relations": { "user": { "type": "belongsTo", "model": "VnUser", "foreignKey": "account" } }, "acls": [{ "accessType": "READ", "principalType": "ROLE", "principalId": "$owner", "permission": "ALLOW" }, { "accessType": "WRITE", "principalType": "ROLE", "principalId": "$owner", "permission": "ALLOW" }] }