<?php

namespace Database\Seeders;

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

class CategorySeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
   public function run(): void {
    $categories = [
        ['name' => 'Lingel International', 'slug' => 'lingel-international'],
        ['name' => 'Aluminium 6.0', 'slug' => 'aluminium-6-0'],
        ['name' => 'Upvc', 'slug' => 'upvc'],
        ['name' => 'Skylight', 'slug' => 'skylight'],
        ['name' => 'Roller shutter', 'slug' => 'roller-shutter'],
        ['name' => 'Bullet Proof glass', 'slug' => 'bullet-proof-glass'],
        // Baki categories bhi isi tarah list mein add kar lo
    ];
    foreach ($categories as $cat) {
        \App\Models\Category::create($cat);
    }
}
}
