<?php

namespace Database\Seeders;

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

class CourseRegistrationSeeder extends Seeder
{
    public function run(): void
    {
        CourseRegistration::insert([
            [
                'student_id' => 1,
                'academic_term_id' => 2,
                'course_class_id' => 1,
                'status' => 'approved',
                'approved_by' => 1,
                'created_at' => '2026-01-20 08:00:00',
                'updated_at' => '2026-01-20 13:00:00',
            ],
            [
                'student_id' => 2,
                'academic_term_id' => 2,
                'course_class_id' => 2,
                'status' => 'submitted',
                'approved_by' => null,
                'created_at' => '2026-01-20 08:10:00',
                'updated_at' => '2026-01-20 08:10:00',
            ],
        ]);
    }
}
