<?php

namespace Database\Seeders;

use App\Models\Hospital;
use Illuminate\Database\Seeder;

class HospitalSeederName extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $hospitals = [
            ['title' => 'Square Hospital', 'title_bn' => 'স্কয়ার হাসপাতাল', 'division_id' => 1],
            ['title' => 'Ibne Sina Hospital', 'title_bn' => 'ইবনে সিনা হাসপাতাল', 'division_id' => 1],
        ];

        foreach ($hospitals as $hospital) {
            Hospital::create(array_merge($hospital, ['created_by' => 1]));
        }
    }
}