班级相关
This commit is contained in:
@@ -25,6 +25,9 @@ public class ClassEntity {
|
||||
|
||||
private String icon;
|
||||
|
||||
//群二维码
|
||||
private String qrcode;
|
||||
|
||||
private String content;
|
||||
|
||||
private Integer number; //成员数量
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.peanut.modules.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@TableName("class_exam")
|
||||
public class ClassExam {
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
private Integer classId;
|
||||
|
||||
private String title;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
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;
|
||||
|
||||
@Data
|
||||
@TableName("class_exam_option")
|
||||
public class ClassExamOption {
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
private Integer subjectId;
|
||||
|
||||
private Integer rightWrong;
|
||||
|
||||
private String content;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.peanut.modules.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@TableName("class_exam_user")
|
||||
public class ClassExamUser {
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
private Integer examId;
|
||||
|
||||
private Integer userId;
|
||||
|
||||
private Integer score;//分数
|
||||
|
||||
private String scoreSuccess;//是否完成
|
||||
|
||||
private String subject;
|
||||
|
||||
private String answer;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
}
|
||||
@@ -23,6 +23,8 @@ public class ClassModel {
|
||||
|
||||
private String type;//班类型 0小班 1联合班 2精英班
|
||||
|
||||
private Integer days;//教学天数
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
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.Date;
|
||||
|
||||
@Data
|
||||
@TableName("class_task")
|
||||
public class ClassTask {
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
private Integer classId;
|
||||
|
||||
private Integer userId;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private String type;//类型 0班内任务1医案2心得
|
||||
|
||||
private String display;//是否展示 0否1是
|
||||
|
||||
private String title;
|
||||
|
||||
private String content;
|
||||
|
||||
private String img;
|
||||
|
||||
private String scoreSuccess;//是否已评分 0否1是
|
||||
|
||||
private double score;//分数
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Object createUser;
|
||||
@TableField(exist = false)
|
||||
private boolean isReply;
|
||||
@TableField(exist = false)
|
||||
private Object otherInfo;
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
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.Date;
|
||||
|
||||
@Data
|
||||
@TableName("class_taskandques_reply")
|
||||
public class ClassTaskAndQuesReply {
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
private Integer relationId;
|
||||
|
||||
private String type;//类型0任务1课后题
|
||||
|
||||
private Integer userId;
|
||||
|
||||
private String display;//是否展示 0否1是
|
||||
|
||||
private String content;
|
||||
|
||||
private String img;
|
||||
|
||||
private String scoreInfo;//打分情况
|
||||
|
||||
private String scoreSuccess;//是否已评分 0否1是
|
||||
|
||||
private double score;//分数
|
||||
|
||||
private Date createTime;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Object createUser;
|
||||
}
|
||||
@@ -24,4 +24,10 @@ public class ClassUser {
|
||||
|
||||
@TableField(exist = false)
|
||||
private MyUserEntity user;
|
||||
@TableField(exist = false)
|
||||
private boolean isReply;
|
||||
@TableField(exist = false)
|
||||
private boolean isReplySuccess;
|
||||
@TableField(exist = false)
|
||||
private double score;
|
||||
}
|
||||
|
||||
@@ -27,6 +27,8 @@ public class CourseCatalogueChapterEntity {
|
||||
|
||||
private String content;
|
||||
|
||||
private String questions;
|
||||
|
||||
private Integer sort;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
Reference in New Issue
Block a user