|
@@ -6,8 +6,9 @@ const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
|
|
|
const LiveroomSchema = {
|
|
|
number: { type: String, required: true, maxLength: 200 }, // 房间号
|
|
|
subid: { type: String, required: true, maxLength: 200 }, // 科目id
|
|
|
+ teacher: { type: String, required: true, maxLength: 200 }, // 教师id
|
|
|
teacherid: { type: String, required: true, maxLength: 200 }, // 教师id
|
|
|
- status: { type: String, required: false, maxLength: 200, default: '0' }, // 状态:0=>未审核;1=>通过;2=>拒绝
|
|
|
+ status: { type: String, required: false, maxLength: 200, default: "0" }, // 状态:0=>未审核;1=>通过;2=>拒绝
|
|
|
start: { type: Boolean, required: true, maxLength: 200, default: false }, // true=>开始直播;false=>未开始
|
|
|
reason: { type: String, required: false, maxLength: 2000 }, // 申请原因
|
|
|
};
|