/** * @return \yii\db\ActiveQuery */ public function getCoach() { return $this->hasOne(Coach::className(), ['id' => 'coach_id']); }