package com.jwipc.finance.convert;

import com.jwipc.finance.dto.CostMatchingDTO;
import com.jwipc.finance.dto.CostMatchingParamDTO;
import com.jwipc.finance.entity.CostMatching;
import com.jwipc.finance.model.po.CostMatchingPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2025/10/22 15:35
 * @desc
 */
@Mapper(componentModel = "spring")
public interface CostMatchingConvert {

    List<CostMatchingDTO> po2DTOList(List<CostMatchingPO> priceInfoAuditPOS);

    CostMatching DTO2Entity(CostMatchingParamDTO param);

    CostMatchingDTO entity2DTO(CostMatching costMatching);
}
