package com.jwipc.finance.convert;

import com.jwipc.finance.dto.FastStatementItemDTO;
import com.jwipc.finance.dto.InvoicedApplyItemDTO;
import com.jwipc.finance.dto.PaymentPlanItemDTO;
import com.jwipc.finance.dto.StatementItemDTO;
import com.jwipc.finance.entity.PaymentPlanDetail;
import com.jwipc.finance.model.po.*;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/3/4 11:39
 * @desc
 */
@Mapper(componentModel = "spring")
public interface PaymentPlanDetailConvert {
    List<PaymentPlanItemDTO> po2DtoList(List<PaymentPlanDetailPO> statementItemPOS);

    PaymentPlanDetail po2Entity(AccountStatementPO accountStatementPO);

//    List<FastStatementItemDTO> fastStatementItemPOS2DTOList(List<FastStatementItemPO> fastStatementItemPOS);
//
//    List<InvoicedApplyItemDTO> invoicedApplyItemPO2DTOList(List<InvoicedApplyItemPO> invoicedApplyItemPOS);
}
