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