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