package com.jwipc.finance.convert;

import com.jwipc.finance.dto.CompanyAccountStatementDetailDTO;
import com.jwipc.finance.entity.CompanyAccountStatementDetail;
import com.jwipc.finance.model.po.CompanyAccountStatementDetailPO;
import org.mapstruct.Mapper;

import java.util.Collection;
import java.util.List;

/**
 * @author shenyang.ou
 * @date 2025/11/3 17:59
 * @desc
 */
@Mapper(componentModel = "spring")
public interface CompanyAccountStatementDetailConvert {

    Collection<CompanyAccountStatementDetail> dto2EntityList(List<CompanyAccountStatementDetailDTO> costAccountStatementDetailDTOS);

    List<CompanyAccountStatementDetailDTO> po2DTOList(List<CompanyAccountStatementDetailPO> list);
}
