|
@@ -3,6 +3,7 @@ const Schema = require('mongoose').Schema;
|
|
const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
|
|
const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
|
|
|
|
|
|
const Answerapply = {
|
|
const Answerapply = {
|
|
|
|
+ teacher: { type: String, required: true, maxLength: 200 }, // 教师
|
|
teacherid: { type: String, required: true, maxLength: 200 }, // 教师id
|
|
teacherid: { type: String, required: true, maxLength: 200 }, // 教师id
|
|
date: { type: [ String ], required: true }, // 申请答疑的时间列表
|
|
date: { type: [ String ], required: true }, // 申请答疑的时间列表
|
|
subid: { type: String, required: true, maxLength: 200 }, // 科目id
|
|
subid: { type: String, required: true, maxLength: 200 }, // 科目id
|