package com.jwipc.finance.convert;

import com.jwipc.finance.dto.InvoicedReceiptDTO;
import com.jwipc.finance.entity.InvoicedReceipt;
import com.jwipc.finance.model.po.InvoicedReceiptPO;
import org.mapstruct.Mapper;

import java.util.Collection;
import java.util.List;

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

    List<InvoicedReceipt> dto2EntityList(List<InvoicedReceiptDTO> invoicedReceiptData);

    List<InvoicedReceiptDTO> po2PageListDTO(List<InvoicedReceiptPO> invoicedReceiptPOS);
}
