@Override
    public int hashCode() {
        String registerTypeStr = getRegisterType();
        int result = StringUtils.isNotEmpty(registerTypeStr) ? registerTypeStr.hashCode() : 0;
        String serverListsStr = getServerLists();
        result = 31 * result + (StringUtils.isNotEmpty(serverListsStr) ? serverListsStr.hashCode() : 0);

        Properties properties = getProps();
        if (Objects.nonNull(properties)) {
            for (Map.Entry<Object, Object> entry : properties.entrySet()) {
                Object entryKey = entry.getKey();
                result = 31 * result + (Objects.nonNull(entryKey) ? entryKey.hashCode() : 0);
                Object entryValue = entry.getValue();
                result = 31 * result + (Objects.nonNull(entryValue) ? entryValue.hashCode() : 0);
            }
        }

        return result;
    }
Sets enabled.

@param enabled the enabled
shenyu-registry/shenyu-registry-api/src/main/java/org/apache/shenyu/registry/api/config/RegisterConfig.java