lrf 2 роки тому
батько
коміт
b5f1912d4d
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      app/service/business/lessonStudent.js

+ 2 - 0
app/service/business/lessonStudent.js

@@ -13,6 +13,8 @@ class LessonStudentService extends CrudService {
     this.rscModel = this.ctx.model.Relation.RelationStudentCoach;
     this.lessonCoachModel = this.ctx.model.Business.LessonCoach;
     this.lessonModel = this.ctx.model.Business.Lesson;
+    this.rcsModel = this.ctx.model.Relation.RelationCoachSchool;
+    this.rssModel = this.ctx.model.Relation.RelationStudentSchool;
   }
 
   async checkCanUse({ school_id, student_id, lesson_id }) {