package com.seer.teach.pay.admin.financial.convert;

import com.seer.teach.pay.admin.financial.controller.request.AdminPayFinancialReconciliationDetailReq;
import com.seer.teach.pay.admin.financial.controller.response.AdminPayFinancialReconciliationDetailResp;
import com.seer.teach.pay.entity.PayFinancialReconciliationDetailEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AdminPayFinancialReconciliationDetailConvert {

    AdminPayFinancialReconciliationDetailConvert INSTANCE = Mappers.getMapper(AdminPayFinancialReconciliationDetailConvert.class);

    AdminPayFinancialReconciliationDetailResp entityToResponse(PayFinancialReconciliationDetailEntity payFinancialReconciliationDetailEntity);

    List<AdminPayFinancialReconciliationDetailResp> entityListToResponseList(List<PayFinancialReconciliationDetailEntity> payFinancialReconciliationDetailEntityList);

    PayFinancialReconciliationDetailEntity reqToEntity(AdminPayFinancialReconciliationDetailReq payFinancialReconciliationDetailRequest);
}