package com.jwipc.contract.convert;

import com.jwipc.contract.dto.ContractPaymentApplyDTO;
import com.jwipc.contract.dto.CreateCpaDetailDto;
import com.jwipc.contract.entity.ContractPaymentApply;
import com.jwipc.contract.model.po.ContractPaymentApplyPO;
import com.jwipc.contract.model.po.CreateContractPayDetailPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author 邓京术
 * @date 2025/12/10 13:14
 * @desc
 */
@Mapper(componentModel = "spring")
public interface ContractPaymentApplyConvert {
    List<ContractPaymentApplyDTO> POToDTOList(List<ContractPaymentApplyPO> poList);

    ContractPaymentApplyDTO entity2DTO(ContractPaymentApply paymentCodApply);

    List<CreateCpaDetailDto> createPcaDetailPO2DTOList(List<CreateContractPayDetailPO> paymentData);
}
