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