package com.zcloud.domain.command.convertor;

import com.zcloud.domain.dto.DomainDepartmentUserAddCmd;
import com.zcloud.domain.dto.clientobject.DomainDepartmentUserCO;
import com.zcloud.domain.persistence.dataobject.DomainDepartmentUserDO;
import org.mapstruct.Mapper;

import java.util.List;


/**
 * web-app
 *
 * @Author zhaokai
 * @Date 2026-01-27 11:29:09
 */
@Mapper(componentModel = "spring")
public interface DomainDepartmentUserCoConvertor {
    /**
     * @param domainDepartmentUserDOs
     * @return
     */
    List<DomainDepartmentUserCO> converDOsToCOs(List<DomainDepartmentUserDO> domainDepartmentUserDOs);

    List<DomainDepartmentUserDO> converCmdsToDOs(List<DomainDepartmentUserAddCmd> domainDepartmentUserAddCmdList);
}

