package com.jwipc.inquiry.convert;

import com.jwipc.inquiry.dto.InquiryTemplateDTO;
import com.jwipc.inquiry.dto.InquiryTemplateFieldDTO;
import com.jwipc.inquiry.dto.InquiryTemplateFieldRelationDTO;
import com.jwipc.inquiry.entity.InquiryTemplate;
import com.jwipc.inquiry.entity.InquiryTemplateFieldRelation;
import com.jwipc.inquiry.model.po.InquiryTemplateFieldPO;
import com.jwipc.inquiry.model.po.InquiryTemplatePO;
import org.mapstruct.Mapper;

import java.util.Collection;
import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/2/4 19:47
 * @desc
 */
@Mapper(componentModel = "spring")
public interface InquiryTemplateFieldConvert {
    List<InquiryTemplateFieldRelation> dto2EntityList(List<InquiryTemplateFieldRelationDTO> fields);
}
