{ "name": "RoleRole", "base": "VnModel", "options": { "mysql": { "table": "account.roleRole" } }, "properties": { "role": { "id": true } }, "relations": { "owner": { "type": "belongsTo", "model": "Role", "foreignKey": "role" }, "inherits": { "type": "belongsTo", "model": "Role", "foreignKey": "inheritsFrom" } } }