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