|
|
|
@ -0,0 +1,100 @@
|
|
|
|
|
package com.ibeetl.jlw.entity;
|
|
|
|
|
|
|
|
|
|
import com.ibeetl.admin.core.annotation.Dict;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import org.beetl.sql.annotation.entity.AutoID;
|
|
|
|
|
import org.beetl.sql.annotation.entity.Table;
|
|
|
|
|
import org.beetl.sql.fetch.annotation.Fetch;
|
|
|
|
|
import org.beetl.sql.fetch.annotation.FetchSql;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 开课- 课程配置-离线
|
|
|
|
|
* Tree结构数据
|
|
|
|
|
*
|
|
|
|
|
* @author mlx
|
|
|
|
|
*/
|
|
|
|
|
@Data
|
|
|
|
|
@Table(name = "teacher_open_course_merge_course_info")
|
|
|
|
|
@Fetch(level = 5)
|
|
|
|
|
public class TeacherOpenCourseMergeCourseInfoTree {
|
|
|
|
|
|
|
|
|
|
//ID
|
|
|
|
|
@AutoID
|
|
|
|
|
private Long teacherOpenCourseMergeCourseInfoId ;
|
|
|
|
|
|
|
|
|
|
//开课ID
|
|
|
|
|
@Dict(type="teacher_open_course.teacher_open_course_title.teacher_open_course_status=1")
|
|
|
|
|
|
|
|
|
|
private Long teacherOpenCourseId ;
|
|
|
|
|
|
|
|
|
|
//名称(课程名 或 章名 或 节名)
|
|
|
|
|
|
|
|
|
|
private String courseInfoName ;
|
|
|
|
|
|
|
|
|
|
//课程缩略图
|
|
|
|
|
|
|
|
|
|
private String courseInfoThumbnail ;
|
|
|
|
|
|
|
|
|
|
//课程标签ID
|
|
|
|
|
@Dict(type="course_label.course_label_name.course_label_status=1")
|
|
|
|
|
|
|
|
|
|
private Long courseLabelId ;
|
|
|
|
|
|
|
|
|
|
//课程学习人数基数
|
|
|
|
|
|
|
|
|
|
private Integer courseInfoBasicsCount ;
|
|
|
|
|
|
|
|
|
|
//课程简介
|
|
|
|
|
|
|
|
|
|
private String courseInfoContent ;
|
|
|
|
|
|
|
|
|
|
//状态(1启用 2禁用 3删除)
|
|
|
|
|
|
|
|
|
|
private Integer courseInfoStatus ;
|
|
|
|
|
|
|
|
|
|
//类型(1课程 2章 3节)
|
|
|
|
|
|
|
|
|
|
private Integer courseInfoType ;
|
|
|
|
|
|
|
|
|
|
//父节点ID
|
|
|
|
|
|
|
|
|
|
private Long courseInfoParentId ;
|
|
|
|
|
|
|
|
|
|
//视频ID(resources_info_id,和节对应)
|
|
|
|
|
|
|
|
|
|
private Long courseVideoId ;
|
|
|
|
|
|
|
|
|
|
//课件ID(resources_info_id,和节对应)
|
|
|
|
|
|
|
|
|
|
private Long courseCoursewareId ;
|
|
|
|
|
|
|
|
|
|
//附件IDs(resources_info_id,和节对应)
|
|
|
|
|
|
|
|
|
|
private String courseEnclosureIds ;
|
|
|
|
|
|
|
|
|
|
//客观题IDs(和章对应)
|
|
|
|
|
|
|
|
|
|
private String resourcesQuestionIds ;
|
|
|
|
|
|
|
|
|
|
//竞赛题IDs(和章对应)
|
|
|
|
|
|
|
|
|
|
private String resourcesCompetitionIds ;
|
|
|
|
|
|
|
|
|
|
//实训题IDs(和章对应)
|
|
|
|
|
|
|
|
|
|
private String resourcesTrainingIds ;
|
|
|
|
|
|
|
|
|
|
//组织机构ID
|
|
|
|
|
|
|
|
|
|
private Long orgId ;
|
|
|
|
|
|
|
|
|
|
//后台用户ID
|
|
|
|
|
|
|
|
|
|
private Long userId ;
|
|
|
|
|
|
|
|
|
|
@FetchSql("select * from teacher_open_course_merge_course_info t where t.course_info_parent_id = #teacherOpenCourseMergeCourseInfoId# ")
|
|
|
|
|
private List<TeacherOpenCourseMergeCourseInfoTree> children;
|
|
|
|
|
|
|
|
|
|
}
|