/** * @get lessons */ public function getLessons() { return $this->hasMany(Lesson::className(), ['ghd_id' => 'id']); }