package com.jwipc.tender.convert;

import com.jwipc.tender.dto.TenderTemplateFieldBaseDTO;
import com.jwipc.tender.dto.TenderTemplateFieldRefBaseDTO;
import com.jwipc.tender.entity.TenderTemplateFieldRef;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface TenderTemplateFieldRefConvert {
    List<TenderTemplateFieldBaseDTO> entities2Dtos(List<TenderTemplateFieldRef> list);

    List<TenderTemplateFieldRef> dtos2Entities(List<TenderTemplateFieldRefBaseDTO> fields);
}
