package com.jwipc.finance.convert;

import com.jwipc.finance.dto.AccountStatementAttachmentDTO;
import com.jwipc.finance.dto.InvoicedApplyAttachmentDTO;
import com.jwipc.finance.entity.AccountStatementAttachment;
import com.jwipc.finance.entity.InvoicedApplyAttachment;
import com.jwipc.finance.model.po.AccountStatementAttachmentPO;
import com.jwipc.finance.model.po.InvoicedApplyAttachmentPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2025/10/16 12:20
 * @desc
 */
@Mapper(componentModel = "spring")
public interface InvoicedApplyAttachmentConvert {

    InvoicedApplyAttachment dto2Entity(InvoicedApplyAttachmentDTO invoicedApplyAttachmentDTO);

    List<InvoicedApplyAttachmentDTO> poList2DTOList(List<InvoicedApplyAttachmentPO> list);
}
