ExerciseDoneResultDO.java 1.2 KB
package com.subsidy.model;

import com.subsidy.util.BaseModel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 学生课程习题完成情况
 * </p>
 *
 * @author DengMin
 * @since 2021-10-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("exercise_done_result")
public class ExerciseDoneResultDO extends BaseModel {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    /**
     * 卷子id
     */
    private Long paperId;

    /**
     * 成员id
     */
    private Long memberId;

    /**
     * 班级id
     */
    private Long classId;

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

    /**
     * 正确个数
     */
    private Integer rightCounts;

    /**
     * 总共个数
     */
    private Integer totalCounts;

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

    /**
     * 是否合格 0:不合格 1:合格
     */
    private String result;

    /**
     * 做题时长
     */
    private Integer length;

}