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