package com.seer.teach.teacher.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author Captain
 * @since 2025-05-13
 */
@Getter
@Setter
@TableName("teacher_evaluation_tasks")
@Schema(name = "EvaluationTasksEntity对象", description = "")
@ToString
public class EvaluationTasksEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableField("user_id")
    private Integer userId;

    @Schema(description = "知识点ID")
    @TableField("know_id")
    private Integer knowId;

    @Schema(description = "学科ID")
    @TableField("subject_id")
    private Integer subjectId;

    @Schema(description = "年级ID")
    @TableField("grade_id")
    private Integer gradeId;

    @Schema(description = "题目数量")
    @TableField("question_count")
    private Integer questionCount;

    @Schema(description = "正确率")
    @TableField("correct_rate")
    private BigDecimal correctRate;

    @Schema(description = "耗时")
    @TableField("question_use_time")
    private Integer questionUseTime;

    @Schema(description = "做题开始时间")
    @TableField("question_start_time")
    private LocalDateTime questionStartTime;

    @Schema(description = "做题结束时间")
    @TableField("question_end_time")
    private LocalDateTime questionEndTime;

    @Schema(description = "平均难度")
    @TableField("average_difficulty")
    private BigDecimal averageDifficulty;

    @Schema(description = "状态")
    @TableField("status")
    private Integer status;

}
