package org.jeecg.modules.itdmDevice.convert;

import org.jeecg.modules.itdmDevice.entity.ItdmDevice;
import org.jeecg.modules.itdmDevice.vo.ItdmDeviceXLListVO;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;
import org.springframework.util.CollectionUtils;

import java.util.stream.Collectors;

@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE,imports ={ CollectionUtils.class, Collectors.class})
public interface ItdmDeviceConvert1 {

    ItdmDeviceConvert1 INSTANCE = Mappers.getMapper(ItdmDeviceConvert1.class);

    ItdmDeviceXLListVO convert(ItdmDevice itdmDevice, String zyxbzText);

}
