小班相关
This commit is contained in:
@@ -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_course")
|
||||
public class ClassCourse {
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
private Integer classId;
|
||||
|
||||
private Integer courseId;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
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;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("class")
|
||||
public class ClassEntity {
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
private String title;
|
||||
|
||||
//小班状态 0待开班1进行中2完成
|
||||
private String state;
|
||||
|
||||
private String icon;
|
||||
|
||||
private String content;
|
||||
|
||||
private Integer create_user;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date start_time;
|
||||
|
||||
private Date end_time;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
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_user")
|
||||
public class ClassUser {
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
private Integer classId;
|
||||
|
||||
private Integer userId;
|
||||
|
||||
private String role;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
}
|
||||
@@ -21,6 +21,10 @@ public class CourseEntity {
|
||||
|
||||
private String title;
|
||||
|
||||
private Integer director;
|
||||
|
||||
private Integer ddirector;
|
||||
|
||||
private Integer sort;
|
||||
|
||||
private String image;
|
||||
|
||||
Reference in New Issue
Block a user