package com.jwipc.finance.convert;

import com.jwipc.finance.dto.CostInvoicedApplyDTO;
import com.jwipc.finance.dto.CostInvoicedApplyPrintDTO;
import com.jwipc.finance.dto.InvoicedApplyDTO;
import com.jwipc.finance.dto.InvoicedApplyPrintDTO;
import com.jwipc.finance.entity.CostInvoicedApply;
import com.jwipc.finance.entity.InvoicedApply;
import com.jwipc.finance.model.po.CostInvoicedApplyPO;
import com.jwipc.finance.model.po.InvoicedApplyPO;
import com.jwipc.finance.model.po.InvoicedApplyPrintPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/3/5 11:21
 * @desc
 */
@Mapper(componentModel = "spring")
public interface CostInvoicedApplyConvert {
    CostInvoicedApplyDTO entity2DTO(CostInvoicedApply invoicedApply);

    CostInvoicedApplyPrintDTO invoicedApplyPrintPO2DTO(InvoicedApplyPrintPO dto);

    List<CostInvoicedApplyDTO> po2PageListDTO(List<CostInvoicedApplyPO> invoicedApplyPOS);

    CostInvoicedApply dto2Entity(CostInvoicedApplyDTO head);
}
