package com.jwipc.finance.convert;

import com.jwipc.finance.dto.AccountStatementAttachmentDTO;
import com.jwipc.finance.entity.AccountStatementAttachment;
import com.jwipc.finance.model.po.AccountStatementAttachmentPO;
import com.jwipc.sys.dto.BusinessAttachmentDTO;
import org.mapstruct.Mapper;

import java.util.List;

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

    AccountStatementAttachment dto2Entity(AccountStatementAttachmentDTO accountStatementAttachmentDTO);

    List<AccountStatementAttachmentDTO> poList2DTOList(List<AccountStatementAttachmentPO> list);
}
