<?php

namespace App\Models;

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

class NurseNote extends Model
{
    use HasFactory;

    protected $guarded = [];
    protected $table = 'nurse_notes';

    public function comments(){
        return $this->hasMany(NurseNotesComment::class,'nurse_note_id','id');
    }
    // public function user(){
    //     return $this->belongsTo(User::class,'user_id','id');
    //  }

}
