package com.jwipc.finance.convert;

import com.jwipc.finance.dto.CostInvoicedPaymentCertificateDTO;
import com.jwipc.finance.entity.CostInvoicedPaymentCertificate;
import com.jwipc.finance.model.po.CostInvoicedPaymentCertificatePO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/3/5 13:27
 * @desc
 */
@Mapper(componentModel = "spring")
public interface CostInvoicedPaymentCertificateConvert {
    List<CostInvoicedPaymentCertificateDTO> po2DTOList(List<CostInvoicedPaymentCertificatePO> costInvoicedPaymentCertificatePOS);

    List<CostInvoicedPaymentCertificate> dto2EntityList(List<CostInvoicedPaymentCertificateDTO> costInvoicedPaymentCertificateData);

    List<CostInvoicedPaymentCertificateDTO> po2PageListDTO(List<CostInvoicedPaymentCertificatePO> costInvoicedPaymentCertificatePOS);
}
