/**
  * @return \yii\db\ActiveQuery
  */
 public function getCategory()
 {
     return $this->hasOne(Category::className(), ['category_id' => 'category_id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCategories()
 {
     return $this->hasMany(Category::className(), ['id_where' => 'id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIdCategory()
 {
     return $this->hasOne(Category::className(), ['id' => 'id_category']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCategories()
 {
     return $this->hasMany(Category::className(), ['super_category_id' => 'super_category_id']);
 }