<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Labnotification extends Model
{
    use HasFactory;

    protected $table = 'labnotifications';  // Specify the table name (optional if it follows the plural convention)

    protected $fillable = [
        'lablogin_id',
        'patient_id',
        'message'
    ];
 
    // Relationships
    public function lablogin()
    {
        return $this->belongsTo(Lablogin::class, 'lablogin_id');
    }


}  
 