|
@@ -52,6 +52,12 @@ const festivalInfo = new Schema({
|
|
|
name: { type: String, required: false, maxLength: 200 },
|
|
|
});
|
|
|
|
|
|
+
|
|
|
+const remarkInfo = new Schema({
|
|
|
+ month: { type: String, required: false, maxLength: 20 },
|
|
|
+ class: { type: String, required: false, maxLength: 200 },
|
|
|
+ number: { type: String, required: false, maxLength: 200 },
|
|
|
+});
|
|
|
|
|
|
|
|
|
const TrainplanSchema = {
|
|
@@ -60,6 +66,7 @@ const TrainplanSchema = {
|
|
|
title: { type: String, required: true, maxLength: 500 },
|
|
|
status: { type: String, required: false, maxLength: 200, default: '0' },
|
|
|
termnum: { type: [ termInfo ], select: true },
|
|
|
+ remark: { type: [ remarkInfo ], select: true },
|
|
|
school: { type: [ schInfo ], select: true },
|
|
|
festivals: { type: [ festivalInfo ], select: true },
|
|
|
};
|