<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class UserFactory extends Factory
{
    public function definition(): array
    {
        return [
            'email' => fake()->unique()->safeEmail(),
            'nama_lengkap' => fake()->name(),
            'nim' => 'E' . fake()->unique()->numberBetween(41200000, 41209999),
            'semester' => fake()->numberBetween(1, 8),
            'angkatan' => fake()->numberBetween(2000, 2025),
            'foto_profil' => fake()->imageUrl(200, 200, 'people'),
        ];
    }
}