|
|
|
@ -1,10 +1,13 @@
|
|
|
|
|
package com.ibeetl.jlw.entity;
|
|
|
|
|
|
|
|
|
|
import com.ibeetl.admin.core.annotation.Dict;
|
|
|
|
|
import com.ibeetl.admin.core.annotation.DictEnum;
|
|
|
|
|
import com.ibeetl.admin.core.entity.BaseEntity;
|
|
|
|
|
import com.ibeetl.admin.core.util.ValidateConfig;
|
|
|
|
|
import com.ibeetl.jlw.web.query.TeacherOpenCourseStudentSigninLogQuery;
|
|
|
|
|
import org.beetl.sql.annotation.entity.AssignID;
|
|
|
|
|
import org.beetl.sql.fetch.annotation.Fetch;
|
|
|
|
|
import org.beetl.sql.fetch.annotation.FetchOne;
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
|
import java.util.Date;
|
|
|
|
@ -13,6 +16,7 @@ import java.util.Date;
|
|
|
|
|
* 教师-我的课程-开课-学生签到记录
|
|
|
|
|
* gen by Spring Boot2 Admin 2022-10-12
|
|
|
|
|
*/
|
|
|
|
|
@Fetch
|
|
|
|
|
public class TeacherOpenCourseStudentSigninLog extends BaseEntity{
|
|
|
|
|
|
|
|
|
|
//ID
|
|
|
|
@ -64,6 +68,7 @@ public class TeacherOpenCourseStudentSigninLog extends BaseEntity{
|
|
|
|
|
|
|
|
|
|
// 签到标签 10 签到,20 缺勤
|
|
|
|
|
|
|
|
|
|
@DictEnum("desc")
|
|
|
|
|
private TeacherOpenCourseStudentSigninLogQuery.SignInTypeEnum teacherOpenCourseStudentSigninLogTag;
|
|
|
|
|
|
|
|
|
|
//组织ID
|
|
|
|
@ -74,6 +79,11 @@ public class TeacherOpenCourseStudentSigninLog extends BaseEntity{
|
|
|
|
|
|
|
|
|
|
private Long userId ;
|
|
|
|
|
|
|
|
|
|
// 扩展属性
|
|
|
|
|
@FetchOne("studentId")
|
|
|
|
|
|
|
|
|
|
private Student student;
|
|
|
|
|
|
|
|
|
|
public TeacherOpenCourseStudentSigninLog(){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -230,4 +240,12 @@ public class TeacherOpenCourseStudentSigninLog extends BaseEntity{
|
|
|
|
|
public void setTeacherOpenCourseStudentSigninSettingSessionTime(Date teacherOpenCourseStudentSigninSettingSessionTime) {
|
|
|
|
|
this.teacherOpenCourseStudentSigninSettingSessionTime = teacherOpenCourseStudentSigninSettingSessionTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Student getStudent() {
|
|
|
|
|
return student;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setStudent(Student student) {
|
|
|
|
|
this.student = student;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|