<?php

namespace App\Models;

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

class Vitals extends Model
{
    use HasFactory;

    protected $fillable = [
        'appointment_id',
        'resp_pattern',
        'spo2',
        'temperature',
        'blood_pressure',
        'pulse_rate',
        'rbs',
        'blood_glucose',
        'bmi',
    ];

    public function appointment()
    {
        return $this->belongsTo(Appointment::class);
    }
}

