<?php

namespace Database\Seeders;

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

class SubjectSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $subjects = [
            ['name' => 'Dance',       'name_si' => 'නර්තනය',     'color' => '#EC4899', 'icon' => '💃'],
            ['name' => 'Music',       'name_si' => 'සංගීතය',     'color' => '#8B5CF6', 'icon' => '🎵'],
            ['name' => 'Maths',       'name_si' => 'ගණිතය',      'color' => '#2563EB', 'icon' => '📐'],
            ['name' => 'History',     'name_si' => 'ඉතිහාසය',    'color' => '#D97706', 'icon' => '🏛️'],
            ['name' => 'Science',     'name_si' => 'විද්‍යාව',   'color' => '#059669', 'icon' => '🔬'],
            ['name' => 'Scholarship', 'name_si' => 'ශිෂ්‍යත්වය', 'color' => '#0D9488', 'icon' => '🏆'],
            ['name' => 'Tamil',       'name_si' => 'දෙමළ',       'color' => '#F97316', 'icon' => '📜'],
            ['name' => 'English',     'name_si' => 'English',     'color' => '#4F46E5', 'icon' => '📖'],
            ['name' => 'ICT',         'name_si' => 'ICT',         'color' => '#0891B2', 'icon' => '💻'],
            ['name' => 'Sinhala',     'name_si' => 'සිංහල',      'color' => '#DC2626', 'icon' => '📝'],
        ];

        foreach ($subjects as $s) {
            \App\Models\Subject::create($s);
        }
    }
}
