package com.jwipc.tender.convert;

import com.jwipc.tender.dto.TenderTemplateBaseDTO;
import com.jwipc.tender.dto.TenderTemplateSaveDTO;
import com.jwipc.tender.entity.TenderTemplate;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface TenderTemplateConvert {
    List<TenderTemplateBaseDTO> entities2Dtos(List<TenderTemplate> list);

    TenderTemplateBaseDTO entity2Dto(TenderTemplate byId);

    TenderTemplate dto2Entity(TenderTemplateSaveDTO saveDTO);
}
