<?php

namespace Database\Seeders;

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

class MaterialSeeder extends Seeder
{
    public function run(): void
    {
        Material::insert([
            [
                'course_class_id' => 1,
                'title' => 'Pengantar HTML & CSS',
                'description' => 'Materi dasar struktur halaman web',
                'meeting_number' => 1,
                'created_at' => '2026-08-01 09:00:00',
                'updated_at' => '2026-08-01 09:00:00',
            ],
            [
                'course_class_id' => 2,
                'title' => 'Konsep Six Sigma',
                'description' => 'Pengantar metode pengendalian kualitas',
                'meeting_number' => 1,
                'created_at' => '2026-08-01 10:00:00',
                'updated_at' => '2026-08-01 10:00:00',
            ],
        ]);
    }
}
