package com.jwipc.supplier.convert;

import com.jwipc.supplier.dto.QualificationTemplateBaseDTO;
import com.jwipc.supplier.dto.QualificationTemplateSaveDTO;
import com.jwipc.supplier.entity.QualificationTemplate;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface QualificationTemplateConvert {
    List<QualificationTemplateBaseDTO> entities2BaseDtos(List<QualificationTemplate> list);

    QualificationTemplateBaseDTO entity2BaseDto(QualificationTemplate byId);

    QualificationTemplate saveDto2Entity(QualificationTemplateSaveDTO qualificationTemplateSaveDTO);
}
