|
@@ -11,7 +11,7 @@ const lessonStudent = {
|
|
|
is_try: { type: String, required: false, default: '0', zh: '是否试课' },
|
|
|
try_status: { type: String, default: '0', zh: '试课审核状态' },
|
|
|
is_pay: { type: String, default: '0', zh: '是否已支付' },
|
|
|
- pay_id: { type: Array, required: false, zh: '支付id', ref: 'PayOrder' },
|
|
|
+ pay_id: { type: String, required: false, zh: '支付id', ref: 'PayOrder' },
|
|
|
config: { type: Array, required: false, zh: '学生与教练关系表的设置快照' },
|
|
|
};
|
|
|
const schema = new Schema(lessonStudent, { toJSON: { virtuals: true } });
|