/** * @return \yii\db\ActiveQuery */ public function getStore() { return $this->hasOne(Stores::className(), ['store_id' => 'fkstore_id']); }