package com.jwipc.finance.convert;

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

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2025/10/22 15:35
 * @desc
 */
@Mapper(componentModel = "spring")
public interface CustomsDeclarationConvert {
    List<CustomsDeclarationDTO> po2DTOList(List<CustomsDeclarationPO> priceInfoAuditPOS);

    CustomsDeclaration DTO2Entity(CustomsDeclarationParamDTO param);

    CustomsDeclarationDTO entity2DTO(CustomsDeclaration customsDeclaration);
}
