<?php

namespace App\Models;

use App\Models\Concerns\BelongsToTenant;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class DentistSchedule extends Model
{
    use BelongsToTenant;

    protected $fillable = ['tenant_id', 'dentist_id', 'weekday', 'start_time', 'end_time'];

    public function dentist(): BelongsTo
    {
        return $this->belongsTo(Dentist::class);
    }
}
