<?php

namespace Database\Seeders;

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

class SubmissionSeeder extends Seeder
{
    public function run(): void
    {
        Submission::insert([
            [
                'assignment_id' => 1,
                'student_id' => 1,
                'notes' => 'Sudah selesai, mohon direview',
                'status' => 'submitted',
                'submitted_at' => '2026-08-18 20:00:00',
                'score' => 85,
                'lecturer_feedback' => 'Bagus, tampilan rapi',
                'created_at' => '2026-08-18 20:00:00',
                'updated_at' => '2026-08-19 07:00:00',
            ],
            [
                'assignment_id' => 2,
                'student_id' => 2,
                'notes' => null,
                'status' => 'not_submitted',
                'submitted_at' => null,
                'score' => null,
                'lecturer_feedback' => null,
                'created_at' => '2026-08-05 10:05:00',
                'updated_at' => '2026-08-05 10:05:00',
            ],
        ]);
    }
}
