<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
use App\Models\AuthUser;

class AuthUserFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = AuthUser::class;

    /**
     * Define the model's default state.
     */
    public function definition(): array
    {
        return [
            'username' => fake()->userName(),
            'password' => fake()->password(),
            'last_login' => fake()->dateTime(),
            'is_superuser' => fake()->boolean(),
            'first_name' => fake()->firstName(),
            'last_name' => fake()->lastName(),
            'email' => fake()->safeEmail(),
            'is_staff' => fake()->boolean(),
            'is_active' => fake()->boolean(),
            'date_joined' => fake()->dateTime(),
        ];
    }
}
