public function getCategory() { return $this->hasOne(FCategory::className(), ['id' => 'value']); }
public function getParentCategory() { return $this->hasOne(FCategory::className(), ['id' => 'id_category']); }
public function getParent() { return $this->hasOne(FCategory::className(), ['id' => 'parent_id']); }
public function getRelatedCategoryDetail() { return $this->hasOne(FCategory::className(), ['id' => 'id_related_category']); }