package com.jwipc.supplier.convert;

import com.jwipc.supplier.dto.SupplierQualificationChangeBaseDTO;
import com.jwipc.supplier.dto.SupplierQualificationChangeSaveDTO;
import com.jwipc.supplier.entity.SupplierQualificationChange;
import com.jwipc.supplier.model.po.SupplierQualificationChangePO;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface SupplierQualificationChangeConvert {
    List<SupplierQualificationChangeBaseDTO> pos2BaseDtos(List<SupplierQualificationChangePO> qualificationChangePOS);

    SupplierQualificationChangeBaseDTO entity2BaseDTO(SupplierQualificationChange supplierQualificationChange);

    SupplierQualificationChange saveDto2Entity(SupplierQualificationChangeSaveDTO supplierQualificationChangeSaveDTO);
}
