<?php

namespace Database\Seeders;

use App\Models\DoctorChamber;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class DoctorChamberSeederTable extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {



        $software = [
            [
			'name'              => 'Main Chamber',
            'code'              => 'MAIN_CHAMBER',
			'address'           => '',
			'phone'             => '',
            'mobile_no'         => '',
			'email'             => '',
			'whatsapp_no'       => '',
			'google_map_url'    => '',
			'priority'          => 1,
			'status'            => '1',
			'is_default'        => 1,
            ],
        ];

        foreach ($software as $data) {
            DoctorChamber::firstOrCreate(
                ['code' => $data['code']],
                $data
            );
        }
    }
}
