package com.zcloud.domain.command.convertor;

import com.zcloud.domain.dto.clientobject.DomainDepartmentCO;
import com.zcloud.domain.dto.clientobject.DomainDepartmentListCO;
import com.zcloud.domain.persistence.dataobject.DomainDepartmentDO;
import org.mapstruct.Mapper;

import java.util.List;


/**
 * web-app
 *
 * @Author zhaokai
 * @Date 2026-01-27 11:28:51
 */
@Mapper(componentModel = "spring")
public interface DomainDepartmentCoConvertor {
    /**
     * @param domainDepartmentDOs
     * @return
     */
    List<DomainDepartmentCO> converDOsToCOs(List<DomainDepartmentDO> domainDepartmentDOs);

    List<DomainDepartmentListCO> converDOsToListCOs(List<DomainDepartmentDO> data);
}

