package com.jwipc.contract.convert;

import com.jwipc.contract.dto.ContractPaymentInvoicedReceiptDTO;
import com.jwipc.contract.entity.ContractPaymentInvoicedReceipt;
import com.jwipc.contract.model.po.ContractPaymentInvoicedReceiptPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/3/5 13:27
 * @desc
 */
@Mapper(componentModel = "spring")
public interface ContractPaymentInvoicedReceiptConvert {
    List<ContractPaymentInvoicedReceiptDTO> po2DTOList(List<ContractPaymentInvoicedReceiptPO> invoicedReceiptPOS);

    List<ContractPaymentInvoicedReceipt> dto2EntityList(List<ContractPaymentInvoicedReceiptDTO> invoicedReceiptData);

    List<ContractPaymentInvoicedReceiptDTO> po2PageListDTO(List<ContractPaymentInvoicedReceiptPO> invoicedReceiptPOS);
}
