package com.sdut.labex.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 实验提交记录
 *
 * @TableName submit_records
 */
@TableName(value = "submit_records")
@Data
public class SubmitRecord implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 实验ID
     */
    private Integer experimentId;

    /**
     * 学生ID
     */
    private String studentId;

    /**
     * 文件路径
     */
    private String filePath;

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

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}