|
@@ -12,11 +12,14 @@ const attendInfo = new Schema({
|
|
|
|
|
|
// 考勤表
|
|
|
const AttendanceSchema = {
|
|
|
+ planid: { type: String, required: false, maxLength: 200 }, // 计划id
|
|
|
termid: { type: String, required: false, maxLength: 200 }, // 期id
|
|
|
batchid: { type: String, required: false, maxLength: 200 }, // 批次id
|
|
|
classid: { type: String, required: false, maxLength: 200 }, // 班级id
|
|
|
schid: { type: String, required: false, maxLength: 200 }, // 学校id
|
|
|
+ schname: { type: String, required: false, maxLength: 200 }, // 学校名称
|
|
|
studentid: { type: String, required: false, maxLength: 200 }, // 学生id
|
|
|
+ stuname: { type: String, required: false, maxLength: 200 }, // 学生姓名
|
|
|
attend: { type: [ attendInfo ], select: true }, // 考勤信息
|
|
|
};
|
|
|
|