ExerciseDictDO.java 1.11 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-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("exercise_dict")
public class ExerciseDictDO extends BaseModel {

    private static final long serialVersionUID = 1L;

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

    /**
     * 题目类型:单选/多选/是非
     */
    private String exerciseType;

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

    /**
     * 难度:容易/适中/困难
     */
    private String difficulty;

    /**
     * 题目
     */
    private String title;

    /**
     * 选项
     */
    private String items;

    /**
     * 正确答案
     */
    private String rightAnswer;

    /**
     * 解析
     */
    private String detail;

    /**
     * 排序
     */
    private Integer orderNo;


}