public ClusterMasterDTO mapToDTO(final ClusterMasterDO clusterMasterDO) {
        ClusterMasterDTO clusterMasterDTO = new ClusterMasterDTO();
        clusterMasterDTO.setId(clusterMasterDO.getId());
        clusterMasterDTO.setMasterHost(clusterMasterDO.getMasterHost());
        clusterMasterDTO.setMasterPort(clusterMasterDO.getMasterPort());
        clusterMasterDTO.setContextPath(clusterMasterDO.getContextPath());
        clusterMasterDTO.setDateCreated(clusterMasterDO.getDateCreated());
        clusterMasterDTO.setDateUpdated(clusterMasterDO.getDateUpdated());
        return clusterMasterDTO;
    }
Map to entity meta data do.

@param clusterMasterDO the meta data dto
@return the meta data do
shenyu-admin/src/main/java/org/apache/shenyu/admin/transfer/ClusterMasterTransfer.java