lrf 2 年之前
父节点
当前提交
e9ecb9cfc6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/model/user/student.js

+ 1 - 0
app/model/user/student.js

@@ -13,6 +13,7 @@ const student = {
   brief: { type: String, required: false, zh: '简介' }, //
   honer: { type: String, required: false, zh: '荣誉' }, //
   exp: { type: String, required: false, zh: '训练经历' }, //
+  birth: { type: String, zh: '出生日期' },
   user_id: { type: String, required: false, zh: '用户id', ref: 'User' }, //
 };
 const schema = new Schema(student, { toJSON: { virtuals: true } });