package com.jwipc.finance.convert;

import com.jwipc.finance.dto.CostInvoicedReceiptDTO;
import com.jwipc.finance.entity.CostInvoicedReceipt;
import com.jwipc.finance.model.po.CostInvoicedReceiptPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/3/5 13:27
 * @desc
 */
@Mapper(componentModel = "spring")
public interface CostInvoicedReceiptConvert {
    List<CostInvoicedReceiptDTO> po2DTOList(List<CostInvoicedReceiptPO> costInvoicedReceiptPOS);

    List<CostInvoicedReceipt> dto2EntityList(List<CostInvoicedReceiptDTO> costInvoicedReceiptData);

    List<CostInvoicedReceiptDTO> po2PageListDTO(List<CostInvoicedReceiptPO> costInvoicedReceiptPOS);
}
