public AppAuthVO mapToVO(final AppAuthDO appAuthDO) {
        return Optional.ofNullable(appAuthDO)
                .map(v -> {
                    AppAuthVO appAuthVO = new AppAuthVO();
                    appAuthVO.setId(v.getId());
                    appAuthVO.setAppKey(v.getAppKey());
                    appAuthVO.setAppSecret(v.getAppSecret());
                    appAuthVO.setUserId(v.getUserId());
                    appAuthVO.setPhone(v.getPhone());
                    appAuthVO.setExtInfo(v.getExtInfo());
                    appAuthVO.setOpen(v.getOpen());
                    appAuthVO.setEnabled(appAuthDO.getEnabled());
                    appAuthVO.setNamespaceId(appAuthDO.getNamespaceId());
                    appAuthVO.setDateUpdated(Optional.ofNullable(appAuthDO.getDateUpdated())
                            .map(u -> DateUtils.localDateTimeToString(u.toLocalDateTime()))
                            .orElse(null));
                    return appAuthVO;
                })
                .orElse(null);
    }
Map to vo app auth vo.

@param appAuthDO the app auth do
@return the app auth vo
shenyu-admin/src/main/java/org/apache/shenyu/admin/transfer/AppAuthTransfer.java