You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
test/basic_info/vo/StudentSaveReqVO.java

70 lines
2.8 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package cn.iocoder.yudao.module.zhuguang.controller.admin.basic_info.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDate;
import java.util.*;
import jakarta.validation.constraints.*;
import cn.iocoder.yudao.module.zhuguang.dal.dataobject.leave.AskForLeaveDO;
import cn.iocoder.yudao.module.zhuguang.dal.dataobject.class_check_in.CourseAttendanceRecordsDO;
import cn.iocoder.yudao.module.zhuguang.dal.dataobject.dormitory_check_in.DormAttendanceRecordsDO;
import cn.iocoder.yudao.module.zhuguang.dal.dataobject.late_signing.NightAttendanceRecDO;
import cn.iocoder.yudao.module.zhuguang.dal.dataobject.basic_info.CourseClassDO;
import cn.iocoder.yudao.module.zhuguang.dal.dataobject.basic_info.StudentCourseClassDO;
@Schema(description = "管理后台 - 学生信息新增/修改 Request VO")
@Data
public class StudentSaveReqVO {
@Schema(description = "主键,唯一标识一个学生", requiredMode = Schema.RequiredMode.REQUIRED, example = "3911")
private Long id;
@Schema(description = "学生学号", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "学生学号不能为空")
private String studentNumber;
@Schema(description = "学生姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
@NotEmpty(message = "学生姓名不能为空")
private String studentName;
@Schema(description = "学生性别 (M: 男, F: 女)", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "学生性别 (M: 男, F: 女)不能为空")
private String studentSex;
@Schema(description = "在校状态1住宿2走读3半走读", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "在校状态1住宿2走读3半走读不能为空")
private Integer schoolStatus;
@Schema(description = "电话号码")
private String phoneNumber;
@Schema(description = "学生宿舍楼")
private String residenceNumber;
@Schema(description = "宿舍房门号")
private String roomNumber;
@Schema(description = "班级ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4328")
@NotNull(message = "班级ID不能为空")
private Long classId;
@Schema(description = "请假列表")
private List<AskForLeaveDO> askForLeaves;
@Schema(description = "上课签到记录列表")
private List<CourseAttendanceRecordsDO> courseAttendanceRecordss;
@Schema(description = "宿舍签到记录列表")
private List<DormAttendanceRecordsDO> dormAttendanceRecordss;
@Schema(description = "晚自习签到记录列表")
private List<NightAttendanceRecDO> nightAttendanceRecs;
@Schema(description = "课程班级列表")
private List<CourseClassDO> courseClasss;
@Schema(description = "学生的课程班级列表")
private List<StudentCourseClassDO> studentCourseClasss;
}