|
@@ -6,6 +6,7 @@ const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
|
|
const ApplySchema = {
|
|
const ApplySchema = {
|
|
termid: { type: String, required: true, maxLength: 200 }, // 申请期id
|
|
termid: { type: String, required: true, maxLength: 200 }, // 申请期id
|
|
subid: { type: String, required: true, maxLength: 200 }, // 科目id
|
|
subid: { type: String, required: true, maxLength: 200 }, // 科目id
|
|
|
|
+ date: { type: String, required: true, maxLength: 200 }, // 申请上课的日期
|
|
teacherid: { type: String, required: true, maxLength: 200 }, // 教师id
|
|
teacherid: { type: String, required: true, maxLength: 200 }, // 教师id
|
|
reason: { type: String, required: false, maxLength: 2000 }, // 申请原因
|
|
reason: { type: String, required: false, maxLength: 2000 }, // 申请原因
|
|
};
|
|
};
|