package com.ruoyi.school.paper.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.math.BigDecimal;


/**
 * 答题记录视图对象 db_test_paper_record
 *
 * @author zyf
 * @date 2023-07-20
 */
@Data
@ExcelIgnoreUnannotated
public class DbTestPaperRecordVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ExcelProperty(value = "主键id")
    private Long id;

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

    /**
     * 试卷id
     */
    @ExcelProperty(value = "试卷id")
    private Long testPaperId;

    /**
     * 状态：0 答题中，1 待批阅，2批阅中，3 批阅完成
     */
    @ExcelProperty(value = "状态：0 答题中，1 待批阅，2批阅中，3 批阅完成")
    private Integer status;

    /**
     * 总得分
     */
    @ExcelProperty(value = "总得分")
    private BigDecimal totalPoints;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    @TableField(exist = false)
    private String testName;
}
