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