diff --git a/app/Models/SupplyDemand.php b/app/Models/SupplyDemand.php index 8dab203..947a3b2 100755 --- a/app/Models/SupplyDemand.php +++ b/app/Models/SupplyDemand.php @@ -9,6 +9,7 @@ use Illuminate\Support\Facades\Cache; class SupplyDemand extends SoftDeletesModel { + protected $appends = ['files']; protected $casts = ['file_ids' => 'json']; public function getFilesAttribute($value)