package com.jwipc.inquiry.convert;

import com.jwipc.inquiry.dto.InquiryMaterialDTO;
import com.jwipc.inquiry.entity.InquiryMaterialExtend;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/2/4 19:47
 * @desc
 */
@Mapper(componentModel = "spring")
public interface InquiryMaterialExtendConvert {
    List<InquiryMaterialExtend> DTO2EntityList(List<InquiryMaterialDTO> inquiryMaterialList);

    InquiryMaterialExtend DTO2Entity(InquiryMaterialDTO inquiryMaterialDTO);
}
