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

import com.seer.teach.mp.admin.controller.resp.AdminParentAgentActivityResp;
import com.seer.teach.mp.entity.MpParentAgentActivityRelationEntity;
import org.apache.ibatis.annotations.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@org.mapstruct.Mapper
@Mapper
public interface AdminParentAgentActivityConvert {

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

    AdminParentAgentActivityResp convertToResp(MpParentAgentActivityRelationEntity entity);

    List<AdminParentAgentActivityResp> convertToRespList(List<MpParentAgentActivityRelationEntity> entityList);
}
