lrf 2 år sedan
förälder
incheckning
d9d93ae65a
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/model/business/lessonCoach.js

+ 1 - 1
app/model/business/lessonCoach.js

@@ -5,7 +5,7 @@ const moneyPlugin = require('naf-framework-mongoose-free/lib/model/type-money-pl
 
 // 课程表-教练
 const lessonCoach = {
-  lesson_id: { type: String, required: false, zh: '课程id', ref: 'Lesson', getProp: [ 'title', 'time_start', 'time_end', 'status' ] }, //
+  lesson_id: { type: String, required: false, zh: '课程id', ref: 'Lesson', getProp: [ 'title', 'time_start', 'time_end', 'status', 'money' ] }, //
   school_id: { type: String, required: false, zh: '学校id', ref: 'School', getProp: [ 'name' ] }, //
   coach_id: { type: String, required: false, zh: '教练id', ref: 'Coach', getProp: [ 'name', 'icon', 'phone' ] }, //
   is_sign: { type: String, required: false, default: '0', zh: '签到' }, // 0:未到;1:已签到