package com.seer.teach.teacher.convert;

import com.seer.teach.teacher.common.llm.sse.req.LlmAiCorrectReq;
import com.seer.teach.teacher.module.entity.GradingTasksEntity;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

/**
 *
 * <p>
 *
 * </p >
 *
 * @author Captain
 * @since 2025-10-15 11:59
 */
@Mapper
public interface GradingTaskConvert {

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

    @Mapping(source = "sessionId", target = "sessionId")
    @Mapping(source = "userId", target = "userId")
    @Mapping(source = "imageUrl", target = "imageUrl")
    GradingTasksEntity toEntity(LlmAiCorrectReq req);

}