package com.jwipc.finance.convert;

import com.jwipc.finance.dto.CompanyInvoicedReceiptDTO;
import com.jwipc.finance.entity.CompanyInvoicedReceipt;
import com.jwipc.finance.model.po.CompanyInvoicedReceiptPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/3/5 13:27
 * @desc
 */
@Mapper(componentModel = "spring")
public interface CompanyInvoicedReceiptConvert {
    List<CompanyInvoicedReceiptDTO> po2DTOList(List<CompanyInvoicedReceiptPO> companyInvoicedReceiptPOS);

    List<CompanyInvoicedReceipt> dto2EntityList(List<CompanyInvoicedReceiptDTO> companyInvoicedReceiptData);

    List<CompanyInvoicedReceiptDTO> po2PageListDTO(List<CompanyInvoicedReceiptPO> companyInvoicedReceiptPOS);
}
