|
@@ -4,7 +4,9 @@ const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
|
|
|
|
|
|
// 课程信息表
|
|
|
const lessonInfo = new Schema({
|
|
|
- teacherid: { type: String, required: false, maxLength: 500 }, // 教师id
|
|
|
+ teaname: { type: String, required: false, maxLength: 500 }, // 教师名称
|
|
|
+ teaid: { type: String, required: false, maxLength: 500 }, // 教师id
|
|
|
+ subname: { type: String, required: false, maxLength: 200 }, // 科目名称
|
|
|
subid: { type: String, required: false, maxLength: 200 }, // 科目id
|
|
|
date: { type: String, required: false, maxLength: 500 }, // 日期
|
|
|
day: { type: String, required: false, maxLength: 500 }, // 课程天数,半天或一天
|