<?php

namespace Database\Seeders;

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

class AttendanceSeeder extends Seeder
{
    public function run(): void
    {
        Attendance::insert([
            [
                'course_class_id' => 1,
                'student_id' => 1,
                'meeting_number' => 1,
                'date' => '2026-08-04',
                'status' => 'present',
                'recorded_at' => '2026-08-04 08:05:00',
                'created_at' => '2026-08-04 08:05:00',
                'updated_at' => '2026-08-04 08:05:00',
            ],
            [
                'course_class_id' => 2,
                'student_id' => 2,
                'meeting_number' => 1,
                'date' => '2026-08-05',
                'status' => 'present',
                'recorded_at' => '2026-08-05 10:03:00',
                'created_at' => '2026-08-05 10:03:00',
                'updated_at' => '2026-08-05 10:03:00',
            ],
        ]);
    }
}
