<?php

namespace Database\Seeders;

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

class AssignmentSeeder extends Seeder
{
    public function run(): void
    {
        Assignment::insert([
            [
                'course_class_id' => 1,
                'title' => 'Tugas Membuat Landing Page',
                'description' => 'Buat landing page sederhana dengan HTML & CSS',
                'deadline' => '2026-08-20 23:59:00',
                'created_at' => '2026-08-05 09:00:00',
                'updated_at' => '2026-08-05 09:00:00',
            ],
            [
                'course_class_id' => 2,
                'title' => 'Studi Kasus Kualitas Produk',
                'description' => 'Analisis studi kasus pengendalian kualitas produk',
                'deadline' => '2026-08-25 23:59:00',
                'created_at' => '2026-08-05 10:00:00',
                'updated_at' => '2026-08-05 10:00:00',
            ],
        ]);
    }
}
