Initial backend upload

هذا الالتزام موجود في:
Abdul Kareem
2026-02-16 01:57:33 +03:00
التزام 34e152fd90
109 ملفات معدلة مع 14546 إضافات و0 حذوفات

عرض الملف

@@ -0,0 +1,30 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class Notification extends Model
{
use HasFactory;
protected $fillable = [
'user_id',
'type',
'title',
'body',
'data_json',
'is_read',
];
protected $casts = [
'data_json' => 'array',
'is_read' => 'boolean',
];
public function user()
{
return $this->belongsTo(User::class);
}
}