<?php

namespace App\Models;

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

class IpdConsultantHistory extends Model
{
    use HasFactory;

    protected $guarded = [];

    public function consultants()
    {
        return $this->belongsTo(Account::class, 'doctor_id')->with('account_contact', 'account_title');
    }
}
