|
@@ -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 } });
|