initial commit

This commit is contained in:
Inshal
2024-10-25 01:05:27 +05:00
commit 94cd8a1dc9
1710 changed files with 273609 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Notification extends Model
{
use HasFactory, SoftDeletes;
// The attributes that are mass assignable.
protected $fillable = [
'status',
'cart_id',
'patient_id',
'message',
'description',
];
// Define the relationship with the Cart model
public function cart()
{
return $this->belongsTo(Cart::class);
}
}