package com.seer.teach.admin.convert;

import com.seer.teach.admin.response.QuestionGenerationLogResp;
import com.seer.teach.teacher.module.entity.QuestionGenerationLogEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 题目生成日志转换器
 *
 * @author Lingma
 * @since 2025-11-21
 */
@Mapper
public interface QuestionGenerationLogConvert {

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

    /**
     * 将题目生成日志实体转换为响应参数
     *
     * @param entity 题目生成日志实体
     * @return 题目生成日志响应参数
     */
    QuestionGenerationLogResp convert(QuestionGenerationLogEntity entity);
}