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