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