package com.seer.teach.teacher.convert;


import com.seer.teach.teacher.common.llm.req.*;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author: Captain
 * @Description:
 * @Date: 2025-06-23 19:18
 */
@Mapper
public interface LlmConvert {

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

    @Mapping(target = "questions", source = "questions")
    @Mapping(target = "userId", source = "userId")
    QuestionsCorrectLlmReq toQuestionsCorrectLlmResp(Integer userId, Integer knowId, List<QuestionCorrectLlmReq> questions);

}
