<?php

namespace Database\Seeders;

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

class CategorySeeder extends Seeder
{
    public function run(): void
    {
        $categories = [
            [
                'name' => 'Televisi',
                'description' => 'Berbagai jenis televisi dari LED, LCD hingga Smart TV'
            ],
            [
                'name' => 'Kipas Angin',
                'description' => 'Kipas angin berbagai model untuk kenyamanan rumah Anda'
            ],
            [
                'name' => 'Kulkas',
                'description' => 'Lemari es berbagai ukuran dan kapasitas'
            ],
            [
                'name' => 'Laptop',
                'description' => 'Laptop untuk berbagai kebutuhan dari gaming hingga bisnis'
            ],
        ];

        foreach ($categories as $category) {
            Category::create($category);
        }
    }
}