This commit is contained in:
parsa aghaei committed 2024-09-25 13:05:18 +03:30
commit bd92c3e3fc
79 files changed
+10789

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Project extends Model
{
use HasFactory;
protected $fillable = [
'title',
'category',
'images',
];
protected $casts = [
'images' => 'array', // تبدیل تصاویر به آرایه
];
}