package com.zcloud.zcGbsServicer.command.convertor;

import com.zcloud.zcGbsServicer.domain.model.ResourcePersonE;
import com.zcloud.zcGbsServicer.dto.ResourcePersonAddCmd;
import com.zcloud.zcGbsServicer.dto.ResourcePersonUpdateCmd;
import com.zcloud.zcGbsServicer.dto.clientobject.ResourcePersonCO;
import com.zcloud.zcGbsServicer.persistence.dataobject.ResourcePersonDO;
import org.mapstruct.Mapper;

import java.util.List;



/**
* web-app
* @Author makejava
* @Date 2026-01-21 17:23:34
*/
@Mapper(componentModel = "spring")
public interface ResourcePersonCoConvertor {
    /**
    * @param resourcePersonDOs
    * @return
    */
    List<ResourcePersonCO> converDOsToCOs(List<ResourcePersonDO> resourcePersonDOs);

    List<ResourcePersonE> converDOsTOEOs(List<ResourcePersonDO> resourcePersonDOs);

    List<ResourcePersonCO> converEOsToCOs(List<ResourcePersonE> resourcePersonES);

    List<ResourcePersonDO> converUpdateToDOs(List<ResourcePersonUpdateCmd> resourcePersonUpdateCmds);

    List<ResourcePersonE> converAddToEOs(List<ResourcePersonAddCmd> resourcePersonAddCmds);

}

