<?php

namespace Database\Seeders;

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

class SettingSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $settings = [
            ['key' => 'school_name', 'value' => 'ABC School'],
            ['key' => 'school_logo', 'value' => 'logo.png'],
            ['key' => 'school_code', 'value' => '1111'],
            ['key' => 'school_address', 'value' => 'Mirpur-1, Dhaka-1216'],
            ['key' => 'school_email', 'value' => 'Yes'],
            ['key' => 'school_phone', 'value' => '01901010101'],
            ['key' => 'date_format', 'value' => 'd-m-Y'],
            ['key' => 'time_zone', 'value' => 'Asia/Dhaka'],

            ['key' => 'maintenance_mode', 'value' => 'No'],
            ['key' => 'debug_mode', 'value' => 'No'],
        ];

        Setting::insert($settings);
    }
}
