package top.continew.admin.business.model.entity;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.TableName;
import top.continew.starter.extension.crud.model.entity.BaseDO;
import java.io.Serial;

/**
 * 分数实体
 *
 * @author jiay
 * @since 2025/06/26 10:24
 */
@Data
@TableName("t_score")
public class ScoreDO extends BaseDO {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 课程id
     */
    private Long courseId;

    /**
     * 考试分数
     */
    private Integer examScore;

    /**
     * 作业分数
     */
    private Integer homeworkScore;

    /**
     * 签到分数
     */
    private Integer score;

    /**
     * 最终总分数
     */
    private Integer signInScore;

    /**
     * 1、已考 2、未考
     */
    private Integer takeExam;

    /**
     * 未考试原因
     */
    private String cause;
}
