|
@@ -12,11 +12,14 @@ const attendInfo = new Schema({
|
|
|
|
|
|
|
|
|
|
const AttendanceSchema = {
|
|
const AttendanceSchema = {
|
|
|
|
+ planid: { type: String, required: false, maxLength: 200 },
|
|
termid: { type: String, required: false, maxLength: 200 },
|
|
termid: { type: String, required: false, maxLength: 200 },
|
|
batchid: { type: String, required: false, maxLength: 200 },
|
|
batchid: { type: String, required: false, maxLength: 200 },
|
|
classid: { type: String, required: false, maxLength: 200 },
|
|
classid: { type: String, required: false, maxLength: 200 },
|
|
schid: { type: String, required: false, maxLength: 200 },
|
|
schid: { type: String, required: false, maxLength: 200 },
|
|
|
|
+ schname: { type: String, required: false, maxLength: 200 },
|
|
studentid: { type: String, required: false, maxLength: 200 },
|
|
studentid: { type: String, required: false, maxLength: 200 },
|
|
|
|
+ stuname: { type: String, required: false, maxLength: 200 },
|
|
attend: { type: [ attendInfo ], select: true },
|
|
attend: { type: [ attendInfo ], select: true },
|
|
};
|
|
};
|
|
|
|
|