package com.jwipc.finance.convert;

import com.jwipc.finance.dto.InvoicedApplyDTO;
import com.jwipc.finance.dto.InvoicedApplyPrintDTO;
import com.jwipc.finance.entity.InvoicedApply;
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 InvoicedApplyConvert {
    InvoicedApplyDTO entity2DTO(InvoicedApply invoicedApply);

    InvoicedApply dto2Entity(InvoicedApplyDTO head);

    List<InvoicedApplyDTO> po2PageListDTO(List<InvoicedApplyPO> invoicedApplyPOS);

    InvoicedApplyPrintDTO invoicedApplyPrintPO2DTO(InvoicedApplyPrintPO dto);
}
