public AuthPathVO mapToVO(final AuthPathDO authPathDO) {
        return Optional.ofNullable(authPathDO)
                .map(v -> {
                    AuthPathVO authPathVO = new AuthPathVO();
                    authPathVO.setId(v.getId());
                    authPathVO.setAppName(v.getAppName());
                    authPathVO.setPath(v.getPath());
                    authPathVO.setEnabled(v.getEnabled());
                    return authPathVO;
                })
                .orElse(null);
    }
Map to auth path vo.
@param authPathDO authPathDO
@return authPathVO
shenyu-admin/src/main/java/org/apache/shenyu/admin/transfer/AppAuthTransfer.java