package com.seer.teach.mp.admin.convert;

import com.seer.teach.mp.admin.controller.req.AgentActivityParticipantReq;
import com.seer.teach.mp.admin.controller.resp.AdminAgentActivityParticipantResp;
import com.seer.teach.mp.entity.MpAgentActivityParticipantEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AdminAgentActivityParticipantConvert {

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

    AdminAgentActivityParticipantResp convertToResp(MpAgentActivityParticipantEntity entity);

    List<AdminAgentActivityParticipantResp> convertToRespList(List<MpAgentActivityParticipantEntity> entity);


    MpAgentActivityParticipantEntity convertToEntity(AgentActivityParticipantReq entity);
}
