package com.zcloud.domain.command.convertor;

import com.zcloud.domain.dto.clientobject.DomainGroupCO;
import com.zcloud.domain.dto.clientobject.DomainGroupInfoCO;
import com.zcloud.domain.persistence.dataobject.DomainGroupDO;
import org.mapstruct.Mapper;

import java.util.List;


/**
 * web-app
 *
 * @Author zhaokai
 * @Date 2026-01-27 11:29:27
 */
@Mapper(componentModel = "spring")
public interface DomainGroupCoConvertor {
    /**
     * @param domainGroupDOs
     * @return
     */
    List<DomainGroupCO> converDOsToCOs(List<DomainGroupDO> domainGroupDOs);

    DomainGroupInfoCO converDOToInfoCO(DomainGroupDO domainGroupDO);
}

