attribute)) { $attribute = json_decode($this->attribute, 1); } return $attribute; } public function fact() { return $this->hasOne("App\Models\PropertyFact", 'id', 'fact_id')->select('id', 'parent_id', 'name', 'icon', 'language_key'); } }