|
@@ -11,6 +11,10 @@ const LookuserSchema = {
|
|
|
switchrole: { type: String, required: false }, // 直播身份 ‘anchor’ 主播 ‘audience’ 观众
|
|
|
createtime: { type: String, required: false, maxLength: 200 }, // 创建时间
|
|
|
isxf: { type: String, required: false, maxLength: 200 }, // 申请学分
|
|
|
+ hosname: { type: String, required: false }, // 医院名称
|
|
|
+ deptname: { type: String, required: false }, // 机构名称
|
|
|
+ level: { type: String, required: false }, // 职务
|
|
|
+ major: { type: String, required: false }, // 专业
|
|
|
};
|
|
|
|
|
|
const schema = new Schema(LookuserSchema, { toJSON: { virtuals: true } });
|