<?php

namespace Database\Seeders;

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

class AnnouncementSeeder extends Seeder
{
    public function run(): void
    {
        Announcement::insert([
            [
                'title' => 'Libur Idul Fitri',
                'content' => 'Perkuliahan diliburkan sesuai kalender akademik',
                'department_id' => null,
                'enrollment_year' => null,
                'created_by' => 5,
                'created_at' => '2026-03-01 08:00:00',
                'updated_at' => '2026-03-01 08:00:00',
            ],
            [
                'title' => 'Jadwal UTS Prodi SI',
                'content' => 'UTS Sistem Informasi dilaksanakan tanggal 20-25 Oktober',
                'department_id' => 1,
                'enrollment_year' => null,
                'created_by' => 5,
                'created_at' => '2026-10-01 08:00:00',
                'updated_at' => '2026-10-01 08:00:00',
            ],
        ]);
    }
}
