package com.jwipc.finance.convert;

import com.jwipc.finance.dto.CustomsDeclarationDTO;
import com.jwipc.finance.dto.CustomsDeclarationDetailDTO;
import com.jwipc.finance.dto.CustomsDeclarationParamDTO;
import com.jwipc.finance.entity.CustomsDeclaration;
import com.jwipc.finance.entity.CustomsDeclarationDetail;
import com.jwipc.finance.model.po.CustomsDeclarationDetailPO;
import com.jwipc.finance.model.po.CustomsDeclarationPO;
import org.mapstruct.Mapper;

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

/**
 * @author shenyang.ou
 * @date 2025/10/22 15:35
 * @desc
 */
@Mapper(componentModel = "spring")
public interface CustomsDeclarationDetailConvert {
    List<CustomsDeclarationDetail> dto2EntityList(List<CustomsDeclarationDetailDTO> customsDeclarationDetailDTOS);

    List<CustomsDeclarationDetailDTO> entity2DTOList(List<CustomsDeclarationDetail> customsDeclarationDetails);

    List<CustomsDeclarationDetailDTO> po2DTOList(List<CustomsDeclarationDetailPO> priceInfoAuditPOS);
}
