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

import com.seer.teach.pay.admin.financial.controller.request.AdminPayFinancialReconciliationReq;
import com.seer.teach.pay.admin.financial.controller.response.AdminPayFinancialReconciliationResp;
import com.seer.teach.pay.entity.PayFinancialReconciliationEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AdminPayFinancialReconciliationConvert {

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

    AdminPayFinancialReconciliationResp entityToResponse(PayFinancialReconciliationEntity payFinancialReconciliationEntity);

    List<AdminPayFinancialReconciliationResp> entityListToResponseList(List<PayFinancialReconciliationEntity> payFinancialReconciliationEntityList);

    PayFinancialReconciliationEntity reqToEntity(AdminPayFinancialReconciliationReq payFinancialReconciliationRequest);
}