|
@@ -20,6 +20,10 @@ const personal = {
|
|
|
remark: { type: String, maxLength: 200 },
|
|
|
juris: { type: String }, // 辖区
|
|
|
is_expert: { type: Boolean, default: false }, // 是否是专家
|
|
|
+ school: { type: String, required: false, maxLength: 500 }, // 院系
|
|
|
+ major: { type: String, required: false, maxLength: 200 }, // 专业
|
|
|
+ card: { type: String, required: false, maxLength: 200 }, // 身份证号
|
|
|
+ zwzc: { type: String, required: false, maxLength: 200 }, // 职务职称
|
|
|
create_time: { type: String, default: moment().format('YYYY-MM-DD HH:mm:ss') },
|
|
|
};
|
|
|
const schema = new Schema(personal, { toJSON: { virtuals: true } });
|