|
@@ -6,6 +6,7 @@ const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
|
|
|
const LessonmodeSchema = {
|
|
|
title: { type: String, required: true, maxLength: 500 }, // 标题
|
|
|
type: { type: String, required: true, maxLength: 500 }, // 类型,0-普通班,1-特殊班
|
|
|
+ allday: { type: String, required: false, maxLength: 20 }, // 类型,0-全天,1-半天
|
|
|
lessons: { type: String, required: false }, // 课程信息
|
|
|
};
|
|
|
|