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