package com.zcloud.fire.check.command.convertor;

import com.zcloud.fire.check.dto.clientobject.CorpStatisticsCO;
import com.zcloud.fire.check.dto.clientobject.FireDeviceCO;
import com.zcloud.fire.check.persistence.dataobject.CorpInfoDO;
import com.zcloud.fire.check.persistence.dataobject.FireDeviceDO;
import com.zcloud.gbscommon.excelEntity.FireDeviceExcelExportEntity;
import org.mapstruct.Mapper;

import java.util.List;


/**
 * web-app
 *
 * @Author zhaokai
 * @Date 2025-11-26 10:12:34
 */
@Mapper(componentModel = "spring")
public interface FireDeviceCoConvertor {
    /**
     * @param fireDeviceDOs
     * @return
     */
    List<FireDeviceCO> converDOsToCOs(List<FireDeviceDO> fireDeviceDOs);

    List<FireDeviceExcelExportEntity> converCOsToExcelEntitys(List<FireDeviceCO> data);

    List<CorpStatisticsCO> converCorpDOsToCorpCO(List<CorpInfoDO> data);
}

