|
|
|
@ -20,19 +20,25 @@ import static com.ibeetl.jlw.entity.dto.TeacherOpenCourseStudentSigninLogSigninD
|
|
|
|
|
*学生签到设置查询
|
|
|
|
|
*/
|
|
|
|
|
@Data
|
|
|
|
|
@SuppressWarnings("ALL")
|
|
|
|
|
public class TeacherOpenCourseStudentSigninSettingQuery extends PageParam {
|
|
|
|
|
@NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
|
|
|
|
|
@Query(name = "ID", display = false)
|
|
|
|
|
private Long teacherOpenCourseStudentSigninSettingId;
|
|
|
|
|
@NotNull(message = "开课ID不能为空", groups =ValidateConfig.ADD.class)
|
|
|
|
|
@Query(name = "开课ID", display = true,type=Query.TYPE_DICT,dict="teacher_open_course.teacher_open_course_title.teacher_open_course_status=1")
|
|
|
|
|
private Long teacherOpenCourseId;
|
|
|
|
|
@Query(name = "班级ID集合", display = true,type=Query.TYPE_DICT,dict="school_class.class_name.class_status=1")
|
|
|
|
|
// 只接收ALL字符,或者带有纯数字的ID。逗号隔开
|
|
|
|
|
@Pattern(regexp = "ALL|\\d+", message = "班级ID集合不能为空", groups = ValidateConfig.ADD.class)
|
|
|
|
|
@NotBlank(message = "班级ID集合不能为空", groups =ValidateConfig.ADD.class)
|
|
|
|
|
private String schoolClassIds;
|
|
|
|
|
@Query(name = "签到方式 (数据字典 student_signin_type)", display = true,type=Query.TYPE_DICT,dict="student_signin_type")
|
|
|
|
|
@NotBlank(message = "签到方式不能为空", groups =ValidateConfig.ADD.class)
|
|
|
|
|
@Query(name = "签到方式", display = true,type=Query.TYPE_DICT,dict="student_signin_type")
|
|
|
|
|
// (数据字典 student_signin_type)
|
|
|
|
|
private String teacherOpenCourseStudentSigninSettingType;
|
|
|
|
|
@Query(name = "设置的值:数据例子:IP: x.x.x.x-x.x.x.x,验证码:xxxx,手动签到:无需设置", display = false)
|
|
|
|
|
@Query(name = "设置的值", display = false)
|
|
|
|
|
//:数据例子:IP: x.x.x.x-x.x.x.x,x.x.x.x-x.x.x.x(多个IP段,逗号隔开),验证码:xxxx(长度6位验证),手动签到:无需设置(必须为空)
|
|
|
|
|
private String teacherOpenCourseStudentSigninSettingValue;
|
|
|
|
|
@Query(name = "签到开始日期", display = false)
|
|
|
|
|
private Date teacherOpenCourseStudentSigninSettingStartTime;
|
|
|
|
|