package com.seer.teach.teacher.common.resp;

import com.seer.teach.common.dto.mq.MqDTO;
import com.seer.teach.common.dto.mq.im.QuestionCorrectParseHtmlDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *
 * </p >
 *
 * @author Captain
 * @since 2025-08-01 10:24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "题目批改结果对象")
public class QuestionsCorrectDTO extends MqDTO {

    @Schema(description = "id")
    private Integer id;

    @Schema(description = "type")
    private Integer type;

    @Schema(description = "得分")
    private Integer score;

    @Schema(description = "用时")
    private String useTime;

    @Schema(description = "批改当前时间")
    private LocalDate time;

    @Schema(description = "正确率")
    private String correctRate;

    @Schema(description = "解析页面")
    private List<QuestionCorrectParseHtmlDTO> parseHtml;

}
