package com.zcloud.zcGbsServicer.command.convertor;

import com.zcloud.zcGbsServicer.domain.model.ResourceDeviceE;
import com.zcloud.zcGbsServicer.dto.ResourceDeviceAddCmd;
import com.zcloud.zcGbsServicer.dto.clientobject.ResourceDeviceCO;
import com.zcloud.zcGbsServicer.persistence.dataobject.ResourceDeviceDO;
import org.mapstruct.Mapper;

import java.util.List;



/**
* web-app
* @Author makejava
* @Date 2026-01-21 17:23:16
*/
@Mapper(componentModel = "spring")
public interface ResourceDeviceCoConvertor {
    /**
    * @param resourceDeviceDOs
    * @return
    */
    List<ResourceDeviceCO> converDOsToCOs(List<ResourceDeviceDO> resourceDeviceDOs);

    List<ResourceDeviceE> converDOsToE(List<ResourceDeviceDO> resourceDeviceDOs);

    List<ResourceDeviceE> converAddToE(List<ResourceDeviceAddCmd> resourceDeviceAddCmds);
}

