package org.jeecg.modules.itdmFirstPage.convert;

import org.jeecg.modules.itdmFirstPage.entity.ItdmTask;
import org.jeecg.modules.itdmFirstPage.vo.ItdmTaskListVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
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 ItdmTaskConvert {

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

    ItdmTaskListVO convert(ItdmTask itdmTask,String weituoNo,String weituoClient);

}
