package com.jwipc.finance.convert;

import com.jwipc.finance.dto.CreatePcaDetailDto;
import com.jwipc.finance.dto.PaymentCodApplyDTO;
import com.jwipc.finance.entity.PaymentCodApply;
import com.jwipc.finance.model.po.CreatePcaDetailPO;
import com.jwipc.finance.model.po.PaymentCodApplyPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/3/15 13:14
 * @desc
 */
@Mapper(componentModel = "spring")
public interface PaymentCodApplyConvert {
    List<PaymentCodApplyDTO> POToDTOList(List<PaymentCodApplyPO> poList);

    PaymentCodApplyDTO entity2DTO(PaymentCodApply paymentCodApply);

    List<CreatePcaDetailDto> createPcaDetailPO2DTOList(List<CreatePcaDetailPO> paymentData);
}
