<?php

namespace Database\Seeders;

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

class LetterRequestSeeder extends Seeder
{
    public function run(): void
    {
        LetterRequest::insert([
            [
                'user_id' => 1,
                'letter_type' => 'Surat Aktif Kuliah',
                'purpose' => 'Persyaratan pengajuan beasiswa',
                'status' => 'completed',
                'processed_by' => 5,
                'submitted_at' => '2026-07-01 09:00:00',
                'completed_at' => '2026-07-02 14:00:00',
                'created_at' => '2026-07-01 09:00:00',
                'updated_at' => '2026-07-02 14:00:00',
            ],
            [
                'user_id' => 2,
                'letter_type' => 'Surat Keterangan Lulus Sementara',
                'purpose' => 'Persyaratan melamar magang',
                'status' => 'in_process',
                'processed_by' => 5,
                'submitted_at' => '2026-08-01 09:00:00',
                'completed_at' => null,
                'created_at' => '2026-08-01 09:00:00',
                'updated_at' => '2026-08-01 09:00:00',
            ],
        ]);
    }
}
