package com.seer.teach.teacher.convert;

import com.seer.teach.teacher.common.resp.UnitKnowsResp;
import com.seer.teach.teacher.module.entity.KnowledgePointEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 *
 * <p>
 *
 * </p >
 *
 * @author Captain
 * @since 2025-10-09 16:19
 */
@Mapper
public interface KnowledgePointConvert {

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

    UnitKnowsResp toUnitKnowsResp(KnowledgePointEntity knowledgePointEntity);

    List<UnitKnowsResp> toUnitKnowRespList(List<KnowledgePointEntity> knows);
}