package com.jwipc.finance.convert;

import com.jwipc.finance.dto.CompanyInvoicedApplyDTO;
import com.jwipc.finance.dto.CompanyInvoicedApplyPrintDTO;
import com.jwipc.finance.entity.CompanyInvoicedApply;
import com.jwipc.finance.model.po.CompanyInvoicedApplyPO;
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 CompanyInvoicedApplyConvert {
    CompanyInvoicedApplyDTO entity2DTO(CompanyInvoicedApply invoicedApply);

    CompanyInvoicedApplyPrintDTO invoicedApplyPrintPO2DTO(InvoicedApplyPrintPO dto);

    List<CompanyInvoicedApplyDTO> po2PageListDTO(List<CompanyInvoicedApplyPO> invoicedApplyPOS);

    CompanyInvoicedApply dto2Entity(CompanyInvoicedApplyDTO head);
}
