<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class LevelSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $levels = [
            [
                'title' => 'Level 1',
                'slug' => 'level-1',
            ],
            [
                'title' => 'Level 2',
                'slug' => 'level-2',
            ],
            [
                'title' => 'Level 3',
                'slug' => 'level-3',
            ],
            [
                'title' => 'Level 4',
                'slug' => 'level-4',
            ],
            [
                'title' => 'Level 5',
                'slug' => 'level-5',
            ],
            [
                'title' => 'Level 6',
                'slug' => 'level-6',
            ],
            [
                'title' => 'Level 7',
                'slug' => 'level-7',
            ],
            [
                'title' => 'Level 8',
                'slug' => 'level-8',
            ],
            [
                'title' => 'Level 9',
                'slug' => 'level-9',
            ],
            [
                'title' => 'Level 10',
                'slug' => 'level-10',
            ],
        ];

        foreach ($levels as $level) {
            \App\Models\Level::create($level);
        }
    }
}
