attributes['img_list'] = $imgList; } public function recuperate_category() { return $this->hasOne(RecuperateCategory::class, 'id', 'r_c_id'); } }