|
|
|
@ -3,16 +3,23 @@ package com.ibeetl.jlw.entity;
|
|
|
|
|
import com.ibeetl.admin.core.annotation.Dict;
|
|
|
|
|
import com.ibeetl.admin.core.entity.BaseEntity;
|
|
|
|
|
import com.ibeetl.admin.core.util.ValidateConfig;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import org.beetl.sql.annotation.entity.AssignID;
|
|
|
|
|
import org.beetl.sql.fetch.annotation.Fetch;
|
|
|
|
|
import org.beetl.sql.fetch.annotation.FetchSql;
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* 课程开课-互动-评论日志
|
|
|
|
|
* gen by Spring Boot2 Admin 2022-09-18
|
|
|
|
|
*/
|
|
|
|
|
@Data
|
|
|
|
|
// 递归数据。最多支持1000层级,再深层级的就无法查询了
|
|
|
|
|
@Fetch(level=1000)
|
|
|
|
|
public class TeacherOpenCourseChatLog extends BaseEntity{
|
|
|
|
|
|
|
|
|
|
//课程开课--讨论-日志ID
|
|
|
|
@ -22,9 +29,15 @@ public class TeacherOpenCourseChatLog extends BaseEntity{
|
|
|
|
|
|
|
|
|
|
private Long teacherOpenCourseChatLogId ;
|
|
|
|
|
|
|
|
|
|
//上级ID
|
|
|
|
|
//上级ID, 默认0L 顶级:0L
|
|
|
|
|
|
|
|
|
|
private Long teacherOpenCourseChatLogParentId ;
|
|
|
|
|
private Long teacherOpenCourseChatLogParentId = 0L;
|
|
|
|
|
|
|
|
|
|
@FetchSql("select * from teacher_open_course_chat_log t " +
|
|
|
|
|
"where t.teacher_open_course_id = #teacherOpenCourseId# " +
|
|
|
|
|
"and t.teacher_open_course_chat_log_parent_id = #teacherOpenCourseChatLogId# " +
|
|
|
|
|
"and t.teacher_open_course_chat_log_parent_id != 0")
|
|
|
|
|
private List<TeacherOpenCourseChatLog> children;
|
|
|
|
|
|
|
|
|
|
//课程开课ID
|
|
|
|
|
@Dict(type="teacher_open_course.teacher_open_course_title.teacher_open_course_status=1")
|
|
|
|
@ -78,190 +91,4 @@ public class TeacherOpenCourseChatLog extends BaseEntity{
|
|
|
|
|
|
|
|
|
|
private Long userId ;
|
|
|
|
|
|
|
|
|
|
public TeacherOpenCourseChatLog(){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**课程开课--讨论-日志ID
|
|
|
|
|
*@return
|
|
|
|
|
*/
|
|
|
|
|
public Long getTeacherOpenCourseChatLogId(){
|
|
|
|
|
return teacherOpenCourseChatLogId;
|
|
|
|
|
}
|
|
|
|
|
/**课程开课--讨论-日志ID
|
|
|
|
|
*@param teacherOpenCourseChatLogId
|
|
|
|
|
*/
|
|
|
|
|
public void setTeacherOpenCourseChatLogId(Long teacherOpenCourseChatLogId){
|
|
|
|
|
this.teacherOpenCourseChatLogId = teacherOpenCourseChatLogId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**上级ID
|
|
|
|
|
*@return
|
|
|
|
|
*/
|
|
|
|
|
public Long getTeacherOpenCourseChatLogParentId(){
|
|
|
|
|
return teacherOpenCourseChatLogParentId;
|
|
|
|
|
}
|
|
|
|
|
/**上级ID
|
|
|
|
|
*@param teacherOpenCourseChatLogParentId
|
|
|
|
|
*/
|
|
|
|
|
public void setTeacherOpenCourseChatLogParentId(Long teacherOpenCourseChatLogParentId){
|
|
|
|
|
this.teacherOpenCourseChatLogParentId = teacherOpenCourseChatLogParentId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**课程开课ID
|
|
|
|
|
*@return
|
|
|
|
|
*/
|
|
|
|
|
public Long getTeacherOpenCourseId(){
|
|
|
|
|
return teacherOpenCourseId;
|
|
|
|
|
}
|
|
|
|
|
/**课程开课ID
|
|
|
|
|
*@param teacherOpenCourseId
|
|
|
|
|
*/
|
|
|
|
|
public void setTeacherOpenCourseId(Long teacherOpenCourseId){
|
|
|
|
|
this.teacherOpenCourseId = teacherOpenCourseId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**班级ID集合
|
|
|
|
|
*@return
|
|
|
|
|
*/
|
|
|
|
|
public String getSchoolClassIds(){
|
|
|
|
|
return schoolClassIds;
|
|
|
|
|
}
|
|
|
|
|
/**班级ID集合
|
|
|
|
|
*@param schoolClassIds
|
|
|
|
|
*/
|
|
|
|
|
public void setSchoolClassIds(String schoolClassIds){
|
|
|
|
|
this.schoolClassIds = schoolClassIds;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**教师ID
|
|
|
|
|
*@return
|
|
|
|
|
*/
|
|
|
|
|
public Long getTeacherId(){
|
|
|
|
|
return teacherId;
|
|
|
|
|
}
|
|
|
|
|
/**教师ID
|
|
|
|
|
*@param teacherId
|
|
|
|
|
*/
|
|
|
|
|
public void setTeacherId(Long teacherId){
|
|
|
|
|
this.teacherId = teacherId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**学生ID
|
|
|
|
|
*@return
|
|
|
|
|
*/
|
|
|
|
|
public Long getStudentId(){
|
|
|
|
|
return studentId;
|
|
|
|
|
}
|
|
|
|
|
/**学生ID
|
|
|
|
|
*@param studentId
|
|
|
|
|
*/
|
|
|
|
|
public void setStudentId(Long studentId){
|
|
|
|
|
this.studentId = studentId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**讨论内容
|
|
|
|
|
*@return
|
|
|
|
|
*/
|
|
|
|
|
public String getChatContent(){
|
|
|
|
|
return chatContent;
|
|
|
|
|
}
|
|
|
|
|
/**讨论内容
|
|
|
|
|
*@param chatContent
|
|
|
|
|
*/
|
|
|
|
|
public void setChatContent(String chatContent){
|
|
|
|
|
this.chatContent = chatContent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**关键字(多个逗号隔开)
|
|
|
|
|
*@return
|
|
|
|
|
*/
|
|
|
|
|
public String getKeywords(){
|
|
|
|
|
return keywords;
|
|
|
|
|
}
|
|
|
|
|
/**关键字(多个逗号隔开)
|
|
|
|
|
*@param keywords
|
|
|
|
|
*/
|
|
|
|
|
public void setKeywords(String keywords){
|
|
|
|
|
this.keywords = keywords;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**学生得分
|
|
|
|
|
*@return
|
|
|
|
|
*/
|
|
|
|
|
public BigDecimal getStudentScore(){
|
|
|
|
|
return studentScore;
|
|
|
|
|
}
|
|
|
|
|
/**学生得分
|
|
|
|
|
*@param studentScore
|
|
|
|
|
*/
|
|
|
|
|
public void setStudentScore(BigDecimal studentScore){
|
|
|
|
|
this.studentScore = studentScore;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**附件上传(仅支持图片,多个逗号隔开)
|
|
|
|
|
*@return
|
|
|
|
|
*/
|
|
|
|
|
public String getChatFiles(){
|
|
|
|
|
return chatFiles;
|
|
|
|
|
}
|
|
|
|
|
/**附件上传(仅支持图片,多个逗号隔开)
|
|
|
|
|
*@param chatFiles
|
|
|
|
|
*/
|
|
|
|
|
public void setChatFiles(String chatFiles){
|
|
|
|
|
this.chatFiles = chatFiles;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**状态 (1正常 2删除)
|
|
|
|
|
*@return
|
|
|
|
|
*/
|
|
|
|
|
public Integer getTeacherOpenCourseChatLogStatus(){
|
|
|
|
|
return teacherOpenCourseChatLogStatus;
|
|
|
|
|
}
|
|
|
|
|
/**状态 (1正常 2删除)
|
|
|
|
|
*@param teacherOpenCourseChatLogStatus
|
|
|
|
|
*/
|
|
|
|
|
public void setTeacherOpenCourseChatLogStatus(Integer teacherOpenCourseChatLogStatus){
|
|
|
|
|
this.teacherOpenCourseChatLogStatus = teacherOpenCourseChatLogStatus;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**创建时间
|
|
|
|
|
*@return
|
|
|
|
|
*/
|
|
|
|
|
public Date getTeacherOpenCourseChatLogAddTime(){
|
|
|
|
|
return teacherOpenCourseChatLogAddTime;
|
|
|
|
|
}
|
|
|
|
|
/**创建时间
|
|
|
|
|
*@param teacherOpenCourseChatLogAddTime
|
|
|
|
|
*/
|
|
|
|
|
public void setTeacherOpenCourseChatLogAddTime(Date teacherOpenCourseChatLogAddTime){
|
|
|
|
|
this.teacherOpenCourseChatLogAddTime = teacherOpenCourseChatLogAddTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**组织ID
|
|
|
|
|
*@return
|
|
|
|
|
*/
|
|
|
|
|
public Long getOrgId(){
|
|
|
|
|
return orgId;
|
|
|
|
|
}
|
|
|
|
|
/**组织ID
|
|
|
|
|
*@param orgId
|
|
|
|
|
*/
|
|
|
|
|
public void setOrgId(Long orgId){
|
|
|
|
|
this.orgId = orgId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**用户ID
|
|
|
|
|
*@return
|
|
|
|
|
*/
|
|
|
|
|
public Long getUserId(){
|
|
|
|
|
return userId;
|
|
|
|
|
}
|
|
|
|
|
/**用户ID
|
|
|
|
|
*@param userId
|
|
|
|
|
*/
|
|
|
|
|
public void setUserId(Long userId){
|
|
|
|
|
this.userId = userId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|