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

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;
import top.continew.starter.extension.crud.model.resp.BaseResp;

import java.io.Serial;
import java.time.*;

/**
 * business信息
 *
 * @author jiay
 * @since 2025/06/26 10:24
 */
@Data
@Schema(description = "business信息")
public class ScoreResp extends BaseResp {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @Schema(description = "用户id")
    private Long userId;

    /**
     * 课程id
     */
    @Schema(description = "课程id")
    private Long courseId;

    /**
     * 考试分数
     */
    @Schema(description = "考试分数")
    private Integer examScore;

    /**
     * 作业分数
     */
    @Schema(description = "作业分数")
    private Integer homeworkScore;

    /**
     * 签到分数
     */
    @Schema(description = "签到分数")
    private Integer score;

    /**
     * 最终总分数
     */
    @Schema(description = "最终总分数")
    private Integer signInScore;

    /**
     * 1、已考 2、未考
     */
    @Schema(description = "1、已考  2、未考")
    private Integer takeExam;

    /**
     * 未考试原因
     */
    @Schema(description = "未考试原因")
    private String cause;

    /**
     * 修改人
     */
    @Schema(description = "修改人")
    private Long updateUser;

    /**
     * 修改时间
     */
    @Schema(description = "修改时间")
    private LocalDateTime updateTime;
}