initial
This commit is contained in:
commit
bd92c3e3fc
79 files changed
+10789
No files matched your search
@@ -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', // تبدیل تصاویر به آرایه
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user