public function getTournament() { return $this->hasOne(Tournament::className(), ['id' => 'tournament_id']); }