<?php

namespace Database\Seeders;

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

class CourseSeeder extends Seeder
{
    public function run(): void
    {
        $timestamp = '2024-02-01 08:00:00';

        $courses = [
            // Sistem Informasi (docs/reference/si.png, si-2.png)
            ['code' => 'SIU101', 'name' => 'Ilmu Amaliah, Sosial, dan Budaya Dasar', 'credits' => 2, 'department_id' => 1, 'semester_number' => 1],
            ['code' => 'SIM101', 'name' => 'Keaswajaan', 'credits' => 2, 'department_id' => 1, 'semester_number' => 1],
            ['code' => 'SIM102', 'name' => 'Ilmu Fiqih I', 'credits' => 2, 'department_id' => 1, 'semester_number' => 1],
            ['code' => 'SIU102', 'name' => 'Pendidikan Anti Korupsi', 'credits' => 2, 'department_id' => 1, 'semester_number' => 1],
            ['code' => 'SIU103', 'name' => 'Bahasa Inggris I', 'credits' => 2, 'department_id' => 1, 'semester_number' => 1],
            ['code' => 'SIU104', 'name' => 'Bahasa Indonesia', 'credits' => 2, 'department_id' => 1, 'semester_number' => 1],
            ['code' => 'SIU105', 'name' => 'Kewarganegaraan', 'credits' => 2, 'department_id' => 1, 'semester_number' => 1],
            ['code' => 'FSI101', 'name' => 'Konsep Basis Data', 'credits' => 2, 'department_id' => 1, 'semester_number' => 1],
            ['code' => 'FSI102', 'name' => 'Konsep Sistem Informasi', 'credits' => 2, 'department_id' => 1, 'semester_number' => 1],
            ['code' => 'FSI103', 'name' => 'Dasar Pemrograman', 'credits' => 2, 'department_id' => 1, 'semester_number' => 1],

            ['code' => 'SIM203', 'name' => 'Ilmu Fiqih II', 'credits' => 2, 'department_id' => 1, 'semester_number' => 2],
            ['code' => 'FSI204', 'name' => 'Statistika dan Probabilitas', 'credits' => 2, 'department_id' => 1, 'semester_number' => 2],
            ['code' => 'SIU206', 'name' => 'Bahasa Inggris II', 'credits' => 2, 'department_id' => 1, 'semester_number' => 2],
            ['code' => 'SIU207', 'name' => 'Pendidikan Agama', 'credits' => 2, 'department_id' => 1, 'semester_number' => 2],
            ['code' => 'SIU208', 'name' => 'Pendidikan Pancasila', 'credits' => 2, 'department_id' => 1, 'semester_number' => 2],
            ['code' => 'FSI205', 'name' => 'Financial Technology', 'credits' => 3, 'department_id' => 1, 'semester_number' => 2],
            ['code' => 'FSI206', 'name' => 'Sistem Basis Data', 'credits' => 2, 'department_id' => 1, 'semester_number' => 2],
            ['code' => 'FSI207', 'name' => 'Computational Thinking', 'credits' => 2, 'department_id' => 1, 'semester_number' => 2],
            ['code' => 'FSI208', 'name' => 'Pemrograman Berbasis Web', 'credits' => 3, 'department_id' => 1, 'semester_number' => 2],
            ['code' => 'FSI209', 'name' => 'Pengantar Teknologi Informasi', 'credits' => 2, 'department_id' => 1, 'semester_number' => 2],

            ['code' => 'FSI310', 'name' => 'Transformasi Digital', 'credits' => 2, 'department_id' => 1, 'semester_number' => 3],
            ['code' => 'FSI311', 'name' => 'Analisis dan Perancangan Sistem Informasi', 'credits' => 3, 'department_id' => 1, 'semester_number' => 3],
            ['code' => 'FSI312', 'name' => 'Sistem Informasi Manajemen', 'credits' => 3, 'department_id' => 1, 'semester_number' => 3],
            ['code' => 'FSI313', 'name' => 'Business Intelligence', 'credits' => 2, 'department_id' => 1, 'semester_number' => 3],
            ['code' => 'FSI314', 'name' => 'Technopreneurship', 'credits' => 3, 'department_id' => 1, 'semester_number' => 3],
            ['code' => 'FSI315', 'name' => 'Matematika Diskrit', 'credits' => 3, 'department_id' => 1, 'semester_number' => 3],
            ['code' => 'FSI316', 'name' => 'Interaksi Manusia Komputer', 'credits' => 2, 'department_id' => 1, 'semester_number' => 3],
            ['code' => 'FSI317', 'name' => 'Communication Skill', 'credits' => 2, 'department_id' => 1, 'semester_number' => 3],
            ['code' => 'FSI318', 'name' => 'Tata Kelola Teknologi Informasi', 'credits' => 2, 'department_id' => 1, 'semester_number' => 3],

            ['code' => 'FSI419', 'name' => 'Sistem Pendukung Keputusan', 'credits' => 2, 'department_id' => 1, 'semester_number' => 4],
            ['code' => 'FSI420', 'name' => 'Pemrograman Berorientasi Objek', 'credits' => 3, 'department_id' => 1, 'semester_number' => 4],
            ['code' => 'FSI421', 'name' => 'Manajemen Projek Sistem Informasi', 'credits' => 3, 'department_id' => 1, 'semester_number' => 4],
            ['code' => 'FSI422', 'name' => 'Sistem Operasi', 'credits' => 3, 'department_id' => 1, 'semester_number' => 4],
            ['code' => 'FSI423', 'name' => 'UI/UX', 'credits' => 3, 'department_id' => 1, 'semester_number' => 4],
            ['code' => 'FSI424', 'name' => 'Etika Profesi dan Profesional', 'credits' => 2, 'department_id' => 1, 'semester_number' => 4],
            ['code' => 'FSI425', 'name' => 'Jaringan Komputer', 'credits' => 3, 'department_id' => 1, 'semester_number' => 4],
            ['code' => 'FSI426', 'name' => 'Arsitektur Enterprise', 'credits' => 2, 'department_id' => 1, 'semester_number' => 4],

            ['code' => 'FSI527', 'name' => 'Software Testing dan Quality Assurance', 'credits' => 2, 'department_id' => 1, 'semester_number' => 5],
            ['code' => 'FSI528', 'name' => 'Proyek Perangkat Lunak', 'credits' => 3, 'department_id' => 1, 'semester_number' => 5],
            ['code' => 'FSI529', 'name' => 'Metodologi Penelitian dan Penulisan Ilmiah', 'credits' => 3, 'department_id' => 1, 'semester_number' => 5],
            ['code' => 'FSI530', 'name' => 'Pemrograman Aplikasi Bergerak', 'credits' => 3, 'department_id' => 1, 'semester_number' => 5],
            ['code' => 'FSI531', 'name' => 'Big Data', 'credits' => 3, 'department_id' => 1, 'semester_number' => 5],
            ['code' => 'FSI532', 'name' => 'Pemrograman IoT', 'credits' => 3, 'department_id' => 1, 'semester_number' => 5],

            ['code' => 'FSI633', 'name' => 'Manajemen Proses Bisnis', 'credits' => 2, 'department_id' => 1, 'semester_number' => 6],
            ['code' => 'FSI634', 'name' => 'Pemrograman Aplikasi Bergerak 2', 'credits' => 3, 'department_id' => 1, 'semester_number' => 6],
            ['code' => 'FSI635', 'name' => 'Fundamental ERP', 'credits' => 3, 'department_id' => 1, 'semester_number' => 6],
            ['code' => 'FSI636', 'name' => 'Audit Sistem Informasi', 'credits' => 3, 'department_id' => 1, 'semester_number' => 6],
            ['code' => 'FSI637', 'name' => 'Keamanan Jaringan', 'credits' => 2, 'department_id' => 1, 'semester_number' => 6],
            ['code' => 'FSI638', 'name' => 'Keamanan Sistem Informasi', 'credits' => 3, 'department_id' => 1, 'semester_number' => 6],

            ['code' => 'SIU709', 'name' => 'Skripsi I', 'credits' => 2, 'department_id' => 1, 'semester_number' => 7],

            ['code' => 'SIU810', 'name' => 'Skripsi II', 'credits' => 4, 'department_id' => 1, 'semester_number' => 8],
            ['code' => 'FSI839', 'name' => 'Startup Digital', 'credits' => 2, 'department_id' => 1, 'semester_number' => 8],

            // Teknik Industri (docs/reference/ti.png) — semester I s.d. VII
            ['code' => 'TIU104', 'name' => 'Bahasa Indonesia', 'credits' => 2, 'department_id' => 2, 'semester_number' => 1],
            ['code' => 'TIU102', 'name' => 'Pendidikan Anti Korupsi', 'credits' => 2, 'department_id' => 2, 'semester_number' => 1],
            ['code' => 'FTI101', 'name' => 'Kalkulus I', 'credits' => 2, 'department_id' => 2, 'semester_number' => 1],
            ['code' => 'FTI102', 'name' => 'Pengantar Teknik Industri', 'credits' => 2, 'department_id' => 2, 'semester_number' => 1],
            ['code' => 'TIU103', 'name' => 'Bahasa Inggris I', 'credits' => 2, 'department_id' => 2, 'semester_number' => 1],
            ['code' => 'TIM102', 'name' => 'Ilmu Fiqih I', 'credits' => 2, 'department_id' => 2, 'semester_number' => 1],
            ['code' => 'FTI103', 'name' => 'Menggambar Teknik', 'credits' => 2, 'department_id' => 2, 'semester_number' => 1],
            ['code' => 'TIU101', 'name' => 'Ilmu Amaliah, Sosial, dan Budaya Dasar', 'credits' => 2, 'department_id' => 2, 'semester_number' => 1],
            ['code' => 'TIM101', 'name' => 'Keaswajaan', 'credits' => 2, 'department_id' => 2, 'semester_number' => 1],
            ['code' => 'TIU105', 'name' => 'Kewarganegaraan', 'credits' => 2, 'department_id' => 2, 'semester_number' => 1],

            ['code' => 'FTI204', 'name' => 'Material Teknik I', 'credits' => 2, 'department_id' => 2, 'semester_number' => 2],
            ['code' => 'TIU208', 'name' => 'Pendidikan Pancasila', 'credits' => 2, 'department_id' => 2, 'semester_number' => 2],
            ['code' => 'TIU207', 'name' => 'Pendidikan Agama', 'credits' => 2, 'department_id' => 2, 'semester_number' => 2],
            ['code' => 'FTI205', 'name' => 'Fisika Dasar', 'credits' => 2, 'department_id' => 2, 'semester_number' => 2],
            ['code' => 'FTI206', 'name' => 'Pengetahuan Lingkungan', 'credits' => 2, 'department_id' => 2, 'semester_number' => 2],
            ['code' => 'FTI207', 'name' => 'Mekanika Teknik', 'credits' => 2, 'department_id' => 2, 'semester_number' => 2],
            ['code' => 'TIU206', 'name' => 'Bahasa Inggris II', 'credits' => 2, 'department_id' => 2, 'semester_number' => 2],
            ['code' => 'FTI208', 'name' => 'Pemrograman Komputer', 'credits' => 2, 'department_id' => 2, 'semester_number' => 2],
            ['code' => 'TIM203', 'name' => 'Ilmu Fiqih II', 'credits' => 2, 'department_id' => 2, 'semester_number' => 2],
            ['code' => 'FTI209', 'name' => 'Kalkulus II', 'credits' => 2, 'department_id' => 2, 'semester_number' => 2],

            ['code' => 'FTI310', 'name' => 'Proses Manufaktur', 'credits' => 3, 'department_id' => 2, 'semester_number' => 3],
            ['code' => 'FTI311', 'name' => 'Analisis dan Pengendalian Biaya', 'credits' => 2, 'department_id' => 2, 'semester_number' => 3],
            ['code' => 'FTI312', 'name' => 'Aljabar Linear', 'credits' => 2, 'department_id' => 2, 'semester_number' => 3],
            ['code' => 'FTI313', 'name' => 'Statistika I', 'credits' => 3, 'department_id' => 2, 'semester_number' => 3],
            ['code' => 'FTI314', 'name' => 'Analitika Data', 'credits' => 2, 'department_id' => 2, 'semester_number' => 3],
            ['code' => 'FTI315', 'name' => 'Ergonomika', 'credits' => 2, 'department_id' => 2, 'semester_number' => 3],
            ['code' => 'FTI316', 'name' => 'Material Teknik II', 'credits' => 2, 'department_id' => 2, 'semester_number' => 3],
            ['code' => 'FTI317', 'name' => 'Technopreneurship', 'credits' => 2, 'department_id' => 2, 'semester_number' => 3],
            ['code' => 'FTI318', 'name' => 'Pengukuran dan Perancangan Sistem Kerja', 'credits' => 2, 'department_id' => 2, 'semester_number' => 3],

            ['code' => 'FTI419', 'name' => 'Penelitian Operasional I', 'credits' => 2, 'department_id' => 2, 'semester_number' => 4],
            ['code' => 'FTI420', 'name' => 'Perencanaan dan Pengendalian Produksi', 'credits' => 3, 'department_id' => 2, 'semester_number' => 4],
            ['code' => 'FTI421', 'name' => 'Kesehatan dan Keselamatan Kerja', 'credits' => 2, 'department_id' => 2, 'semester_number' => 4],
            ['code' => 'FTI422', 'name' => 'Statistika II', 'credits' => 3, 'department_id' => 2, 'semester_number' => 4],
            ['code' => 'FTI423', 'name' => 'Manajemen Teknologi', 'credits' => 2, 'department_id' => 2, 'semester_number' => 4],
            ['code' => 'FTI424', 'name' => 'Desain Produk', 'credits' => 2, 'department_id' => 2, 'semester_number' => 4],
            ['code' => 'FTI425', 'name' => 'Lean Manufaktur', 'credits' => 3, 'department_id' => 2, 'semester_number' => 4],
            ['code' => 'FTI426', 'name' => 'Analisis dan Perancangan Sistem Informasi', 'credits' => 3, 'department_id' => 2, 'semester_number' => 4],

            ['code' => 'FTI527', 'name' => 'Analisa Pengambilan Keputusan', 'credits' => 2, 'department_id' => 2, 'semester_number' => 5],
            ['code' => 'FTI528', 'name' => 'Pengendalian dan Penjaminan Mutu', 'credits' => 3, 'department_id' => 2, 'semester_number' => 5],
            ['code' => 'FTI529', 'name' => 'Ekologi Industri', 'credits' => 2, 'department_id' => 2, 'semester_number' => 5],
            ['code' => 'FTI530', 'name' => 'Penelitian Operasional II', 'credits' => 2, 'department_id' => 2, 'semester_number' => 5],
            ['code' => 'FTI531', 'name' => 'Perilaku Organisasi', 'credits' => 2, 'department_id' => 2, 'semester_number' => 5],
            ['code' => 'FTI532', 'name' => 'Ekonomi Teknik', 'credits' => 3, 'department_id' => 2, 'semester_number' => 5],
            ['code' => 'FTI533', 'name' => 'Big Data', 'credits' => 2, 'department_id' => 2, 'semester_number' => 5],
            ['code' => 'FTI534', 'name' => 'Psikologi Industri', 'credits' => 2, 'department_id' => 2, 'semester_number' => 5],
            ['code' => 'FTI535', 'name' => 'Manajemen Strategik', 'credits' => 2, 'department_id' => 2, 'semester_number' => 5],
            ['code' => 'FTI536', 'name' => 'Perancangan Pengembangan Produk', 'credits' => 2, 'department_id' => 2, 'semester_number' => 5],

            ['code' => 'FTI637', 'name' => 'Pemodelan dan Simulasi Sistem', 'credits' => 3, 'department_id' => 2, 'semester_number' => 6],
            ['code' => 'FTI638', 'name' => 'Sistem Rantai Pasok', 'credits' => 3, 'department_id' => 2, 'semester_number' => 6],
            ['code' => 'FTI639', 'name' => 'Perancangan Tata Letak Fasilitas', 'credits' => 3, 'department_id' => 2, 'semester_number' => 6],
            ['code' => 'FTI640', 'name' => 'Perancangan dan Manajemen Organisasi Industri', 'credits' => 3, 'department_id' => 2, 'semester_number' => 6],
            ['code' => 'FTI641', 'name' => 'Manajemen Sumber Daya Manusia', 'credits' => 2, 'department_id' => 2, 'semester_number' => 6],
            ['code' => 'FTI642', 'name' => 'Metodologi Penelitian', 'credits' => 2, 'department_id' => 2, 'semester_number' => 6],
            ['code' => 'FTI643', 'name' => 'Manajemen Risiko', 'credits' => 2, 'department_id' => 2, 'semester_number' => 6],

            ['code' => 'MBT701', 'name' => 'Penyusunan Merdeka Belajar Kampus Merdeka', 'credits' => 3, 'department_id' => 2, 'semester_number' => 7],
            ['code' => 'MBT702', 'name' => 'Project Mandiri', 'credits' => 3, 'department_id' => 2, 'semester_number' => 7],
            ['code' => 'MBT703', 'name' => 'Asistensi Mengajar', 'credits' => 2, 'department_id' => 2, 'semester_number' => 7],
            ['code' => 'MBT704', 'name' => 'Kewirausahaan', 'credits' => 3, 'department_id' => 2, 'semester_number' => 7],
            ['code' => 'MBT705', 'name' => 'Pertukaran Pelajar', 'credits' => 2, 'department_id' => 2, 'semester_number' => 7],
            ['code' => 'MBT706', 'name' => 'Project Kemanusiaan', 'credits' => 3, 'department_id' => 2, 'semester_number' => 7],
            ['code' => 'MBT707', 'name' => 'KKN Tematik 1', 'credits' => 4, 'department_id' => 2, 'semester_number' => 7],
            ['code' => 'TIU709', 'name' => 'Skripsi I', 'credits' => 2, 'department_id' => 2, 'semester_number' => 7],

            ['code' => 'TIU810', 'name' => 'Skripsi II', 'credits' => 4, 'department_id' => 2, 'semester_number' => 8],

            // Bisnis Digital (docs/reference/bd.png, bd-2.png) — semester 1 s.d. 8
            ['code' => 'BDU101', 'name' => 'Ilmu Alamiah, Sosial, dan Budaya Dasar', 'credits' => 2, 'department_id' => 3, 'semester_number' => 1],
            ['code' => 'BDU102', 'name' => 'Pendidikan Anti Korupsi', 'credits' => 2, 'department_id' => 3, 'semester_number' => 1],
            ['code' => 'BDU103', 'name' => 'Bahasa Inggris I', 'credits' => 2, 'department_id' => 3, 'semester_number' => 1],
            ['code' => 'BDU104', 'name' => 'Bahasa Indonesia', 'credits' => 2, 'department_id' => 3, 'semester_number' => 1],
            ['code' => 'BDU105', 'name' => 'Pendidikan Kewarganegaraan', 'credits' => 2, 'department_id' => 3, 'semester_number' => 1],
            ['code' => 'BDM101', 'name' => 'Keaswajaan', 'credits' => 2, 'department_id' => 3, 'semester_number' => 1],
            ['code' => 'BDM102', 'name' => 'Ilmu Fiqih 1', 'credits' => 2, 'department_id' => 3, 'semester_number' => 1],
            ['code' => 'FBD101', 'name' => 'Pengantar Akuntansi', 'credits' => 2, 'department_id' => 3, 'semester_number' => 1],
            ['code' => 'FBD102', 'name' => 'Pengantar Ilmu Ekonomi', 'credits' => 2, 'department_id' => 3, 'semester_number' => 1],
            ['code' => 'FBD103', 'name' => 'Pengantar Manajemen', 'credits' => 2, 'department_id' => 3, 'semester_number' => 1],

            ['code' => 'BDU206', 'name' => 'Bahasa Inggris II', 'credits' => 2, 'department_id' => 3, 'semester_number' => 2],
            ['code' => 'BDU207', 'name' => 'Pendidikan Agama', 'credits' => 2, 'department_id' => 3, 'semester_number' => 2],
            ['code' => 'BDU208', 'name' => 'Pendidikan Pancasila', 'credits' => 2, 'department_id' => 3, 'semester_number' => 2],
            ['code' => 'BDM203', 'name' => 'Ilmu Fiqih II', 'credits' => 2, 'department_id' => 3, 'semester_number' => 2],
            ['code' => 'FBD204', 'name' => 'Matematika Ekonomi dan Bisnis', 'credits' => 3, 'department_id' => 3, 'semester_number' => 2],
            ['code' => 'FBD205', 'name' => 'Pengantar Digital Marketing', 'credits' => 2, 'department_id' => 3, 'semester_number' => 2],
            ['code' => 'FBD206', 'name' => 'Manajemen Bisnis', 'credits' => 3, 'department_id' => 3, 'semester_number' => 2],
            ['code' => 'FBD207', 'name' => 'Akuntansi Manajemen', 'credits' => 2, 'department_id' => 3, 'semester_number' => 2],
            ['code' => 'FBD208', 'name' => 'Pemrograman dan Data Raya', 'credits' => 2, 'department_id' => 3, 'semester_number' => 2],

            ['code' => 'FBD308', 'name' => 'Business Creativity', 'credits' => 2, 'department_id' => 3, 'semester_number' => 3],
            ['code' => 'FBD309', 'name' => 'Statistika Ekonomi dan Bisnis', 'credits' => 3, 'department_id' => 3, 'semester_number' => 3],
            ['code' => 'FBD310', 'name' => 'Etika dan Hukum Bisnis', 'credits' => 2, 'department_id' => 3, 'semester_number' => 3],
            ['code' => 'FBD311', 'name' => 'Komunikasi dan Negosiasi Bisnis', 'credits' => 2, 'department_id' => 3, 'semester_number' => 3],
            ['code' => 'FBD312', 'name' => 'Manajemen Keuangan', 'credits' => 3, 'department_id' => 3, 'semester_number' => 3],
            ['code' => 'FBD313', 'name' => 'Integrated Marketing Communication', 'credits' => 2, 'department_id' => 3, 'semester_number' => 3],
            ['code' => 'FBD314', 'name' => 'Analisis Data', 'credits' => 2, 'department_id' => 3, 'semester_number' => 3],
            ['code' => 'FBD315', 'name' => 'Riset Operasi', 'credits' => 2, 'department_id' => 3, 'semester_number' => 3],
            ['code' => 'FBD316', 'name' => 'Business Analytic and Big Data', 'credits' => 2, 'department_id' => 3, 'semester_number' => 3],
            ['code' => 'FBD317', 'name' => 'Technopreneurship', 'credits' => 3, 'department_id' => 3, 'semester_number' => 3],

            ['code' => 'FBD418', 'name' => 'Business Analysis', 'credits' => 3, 'department_id' => 3, 'semester_number' => 4],
            ['code' => 'FBD419', 'name' => 'E-Commerce', 'credits' => 3, 'department_id' => 3, 'semester_number' => 4],
            ['code' => 'FBD420', 'name' => 'Manajemen Pemasaran', 'credits' => 4, 'department_id' => 3, 'semester_number' => 4],
            ['code' => 'FBD421', 'name' => 'Manajemen SDM', 'credits' => 3, 'department_id' => 3, 'semester_number' => 4],
            ['code' => 'FBD422', 'name' => 'UI/UX', 'credits' => 3, 'department_id' => 3, 'semester_number' => 4],
            ['code' => 'FBD423', 'name' => 'Agile and Scrum Methode', 'credits' => 3, 'department_id' => 3, 'semester_number' => 4],
            ['code' => 'FBD424', 'name' => 'Desain Berpikir dan Inovasi', 'credits' => 2, 'department_id' => 3, 'semester_number' => 4],
            ['code' => 'FBD425', 'name' => 'Web Development', 'credits' => 3, 'department_id' => 3, 'semester_number' => 4],

            ['code' => 'FBD526', 'name' => 'Sharia Business & Marketing', 'credits' => 4, 'department_id' => 3, 'semester_number' => 5],
            ['code' => 'FBD527', 'name' => 'Consumer Behavior', 'credits' => 3, 'department_id' => 3, 'semester_number' => 5],
            ['code' => 'FBD528', 'name' => 'Manajemen Risiko', 'credits' => 2, 'department_id' => 3, 'semester_number' => 5],
            ['code' => 'FBD529', 'name' => 'Halal Industry Development', 'credits' => 2, 'department_id' => 3, 'semester_number' => 5],
            ['code' => 'FBD530', 'name' => 'Blockchain Technology', 'credits' => 3, 'department_id' => 3, 'semester_number' => 5],
            ['code' => 'FBD531', 'name' => 'Management Information System', 'credits' => 3, 'department_id' => 3, 'semester_number' => 5],

            ['code' => 'FBD632', 'name' => 'Fiqh for Halal Products and Services', 'credits' => 2, 'department_id' => 3, 'semester_number' => 6],
            ['code' => 'FBD633', 'name' => 'Studi Kelayakan Bisnis', 'credits' => 2, 'department_id' => 3, 'semester_number' => 6],
            ['code' => 'FBD634', 'name' => 'Management Operasional Bisnis', 'credits' => 3, 'department_id' => 3, 'semester_number' => 6],
            ['code' => 'FBD635', 'name' => 'Regulatory and Sharia Issues in Digital Business', 'credits' => 2, 'department_id' => 3, 'semester_number' => 6],
            ['code' => 'FBD636', 'name' => 'Metodologi Penelitian', 'credits' => 4, 'department_id' => 3, 'semester_number' => 6],
            ['code' => 'FBD637', 'name' => 'Enterprise Resources Planning', 'credits' => 2, 'department_id' => 3, 'semester_number' => 6],
            ['code' => 'FBD638', 'name' => 'Halal Industry Development', 'credits' => 3, 'department_id' => 3, 'semester_number' => 6],

            ['code' => 'MBB701', 'name' => 'Program Merdeka Belajar', 'credits' => 3, 'department_id' => 3, 'semester_number' => 7],
            ['code' => 'MBB702', 'name' => 'Pertukaran Pelajar', 'credits' => 3, 'department_id' => 3, 'semester_number' => 7],
            ['code' => 'MBB703', 'name' => 'Asistensi Mengajar', 'credits' => 2, 'department_id' => 3, 'semester_number' => 7],
            ['code' => 'MBB704', 'name' => 'Project Mandiri', 'credits' => 3, 'department_id' => 3, 'semester_number' => 7],
            ['code' => 'MBB705', 'name' => 'Kewirausahaan', 'credits' => 2, 'department_id' => 3, 'semester_number' => 7],
            ['code' => 'MBB706', 'name' => 'Project Kemanusiaan', 'credits' => 2, 'department_id' => 3, 'semester_number' => 7],
            ['code' => 'MBB707', 'name' => 'KKN', 'credits' => 4, 'department_id' => 3, 'semester_number' => 7],
            ['code' => 'BDU709', 'name' => 'Skripsi I', 'credits' => 2, 'department_id' => 3, 'semester_number' => 7],

            ['code' => 'BDU810', 'name' => 'Skripsi II', 'credits' => 4, 'department_id' => 3, 'semester_number' => 8],
        ];

        Course::insert(array_map(fn (array $course) => [
            ...$course,
            'created_at' => $timestamp,
            'updated_at' => $timestamp,
        ], $courses));
    }
}
