Commit awal: prototipe UI SIAKAD Untan

This commit is contained in:
Ariyutta
2026-10-24 11:45:32 +07:00
commit d9b9cb5c0f
477 changed files with 51958 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
namespace Database\Factories\Dosen;
use App\Models\Dosen\Dosen;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<Dosen>
*/
class DosenFactory extends Factory
{
protected $model = Dosen::class;
/** @return array<string, mixed> */
public function definition(): array
{
return [
'user_id' => User::factory()->dosen(),
'nidn' => fake()->unique()->numerify('00########'),
'nip' => fake()->unique()->numerify('##################'),
'jabatan_fungsional' => fake()->randomElement(['Asisten Ahli', 'Lektor', 'Lektor Kepala', 'Guru Besar']),
];
}
}