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

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import top.continew.starter.extension.crud.model.resp.BaseDetailResp;
import java.io.Serial;
import java.time.*;

/**
 * business详情信息
 *
 * @author jiay
 * @since 2025/06/26 10:24
 */
@Data
@ExcelIgnoreUnannotated
@Schema(description = "business详情信息")
public class ScoreDetailResp extends BaseDetailResp {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

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

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

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

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

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

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