<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use App\Models\Appointment;

class Service extends Model
{
    //
    use HasFactory;
    protected $fillable = ['name'];
    public function appointments()
    {
        return $this->hasMany(Appointment::class);
    }
}
