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