$nis], // Cek berdasarkan NIS [ 'full_name' => 'Siswa ' . $i, 'gender' => $gender, 'birth_date' => Carbon::now()->subYears(rand(15, 18))->subMonths(rand(1, 12)), 'birth_place' => 'Kota ' . chr(65 + rand(0, 25)), 'address' => 'Jl. Contoh No.' . $i, 'phone' => '0812' . rand(1000000, 9999999), 'parent_name' => 'Orang Tua Siswa ' . $i, 'religion' => $religion, 'parent_phone' => '0813' . rand(1000000, 9999999), 'created_at' => now(), 'updated_at' => now(), ] ); } } }