package com.zcloud.domain.command.convertor;

import com.zcloud.domain.dto.DomainGroupUserAddCmd;
import com.zcloud.domain.dto.clientobject.DomainGroupUserCO;
import com.zcloud.domain.persistence.dataobject.DomainGroupUserDO;
import org.mapstruct.Mapper;

import java.util.List;


/**
 * web-app
 *
 * @Author zhaokai
 * @Date 2026-01-27 11:29:42
 */
@Mapper(componentModel = "spring")
public interface DomainGroupUserCoConvertor {
    /**
     * @param domainGroupUserDOs
     * @return
     */
    List<DomainGroupUserCO> converDOsToCOs(List<DomainGroupUserDO> domainGroupUserDOs);

    List<DomainGroupUserDO> converCmdsToDOs(List<DomainGroupUserAddCmd> domainGroupUserAddCmdList);
}

