package com.jwipc.supplier.convert;

import com.jwipc.supplier.dto.SupplierAgreementDTO;
import com.jwipc.supplier.entity.SupplierAgreement;
import com.jwipc.supplier.model.po.SupplierAgreementPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/2/2 22:42
 * @desc
 */
@Mapper(componentModel = "spring")
public interface SupplierAgreementConvert {
    List<SupplierAgreementDTO> po2DTOList(List<SupplierAgreementPO> supplierAgreementPOS);

    SupplierAgreementDTO entity2DTO(SupplierAgreement supplierAgreement);

    SupplierAgreement dto2Entity(SupplierAgreementDTO param);
}
