public MetaDataVO mapToVO(final MetaDataDO metaDataDO) {
        return Optional.ofNullable(metaDataDO)
                .map(v -> {
                    MetaDataVO metaDataVO = new MetaDataVO();
                    metaDataVO.setAppName(metaDataDO.getAppName());
                    metaDataVO.setPath(metaDataDO.getPath());
                    metaDataVO.setPathDesc(metaDataDO.getPathDesc());
                    metaDataVO.setRpcType(metaDataDO.getRpcType());
                    metaDataVO.setServiceName(metaDataDO.getServiceName());
                    metaDataVO.setMethodName(metaDataDO.getMethodName());
                    metaDataVO.setParameterTypes(metaDataDO.getParameterTypes());
                    metaDataVO.setRpcExt(metaDataDO.getRpcExt());
                    metaDataVO.setId(metaDataDO.getId());
                    metaDataVO.setEnabled(metaDataDO.getEnabled());
                    metaDataVO.setDateCreated(Optional.ofNullable(metaDataDO.getDateCreated())
                            .map(u -> DateUtils.localDateTimeToString(u.toLocalDateTime())).orElse(null));
                    metaDataVO.setDateUpdated(Optional.ofNullable(metaDataDO.getDateUpdated())
                            .map(u -> DateUtils.localDateTimeToString(u.toLocalDateTime())).orElse(null));
                    return metaDataVO;
                }).orElse(null);
    }
Map to vo meta data vo.

@param metaDataDO the meta data do
@return the meta data vo
shenyu-admin/src/main/java/org/apache/shenyu/admin/transfer/MetaDataTransfer.java