begin new project
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
package com.peanut.modules.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@TableName("class_exam_subject")
|
||||
public class ClassExamSubject {
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
private Integer courseId;
|
||||
|
||||
private Integer type;//类型 0单选题1多选题
|
||||
|
||||
private String content;
|
||||
|
||||
private String chapter; //所属章节
|
||||
|
||||
private String media;//音视频序号
|
||||
|
||||
private String mediaTime;//音视频时间
|
||||
|
||||
private String createUser;//出题人
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<ClassExamOption> options;
|
||||
}
|
||||
Reference in New Issue
Block a user