<?php

namespace Database\Seeders;

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

class KoleksiSeeder extends Seeder
{
    public function run(): void
    {
        Koleksi::insert([
            ['judul' => 'Laravel untuk Pemula', 'penulis' => 'Andi', 'kategori' => 'Programming', 'created_at' => now(), 'updated_at' => now()],
            ['judul' => 'Belajar PHP', 'penulis' => 'Budi', 'kategori' => 'Programming', 'created_at' => now(), 'updated_at' => now()],
            ['judul' => 'Kisah Nusantara', 'penulis' => 'Citra', 'kategori' => 'Sejarah', 'created_at' => now(), 'updated_at' => now()],
        ]);
    }
}

