<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class DoctorSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $clinic = \App\Models\Clinic::first();
        \App\Models\Doctor::create([
            'name' => 'Dr. Jayagar Prabakaran',
            'specialization' => 'ENT Specialist',
            'bio' => '17 years of experience in ENT.',
            'clinic_id' => $clinic->id
        ]);
        \App\Models\Doctor::create([
            'name' => 'Dr. Jane Smith',
            'specialization' => 'General Physician',
            'bio' => 'General health consultation.',
            'clinic_id' => $clinic->id
        ]);
    }
}
