<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Bank>
 */
class BankFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'name' => $this->faker->unique()->company(),
            'full_name' => $this->faker->company() . ' ' . $this->faker->companySuffix(),
            'email' => $this->faker->unique()->safeEmail(),
            'email_verified_at' => now(),
            'profile_photo_path' => $this->faker->imageUrl(128, 128),
            'about' => $this->faker->text(mt_rand(50, 300)),
            'password' => \Illuminate\Support\Facades\Hash::make('password'),
        ];
    }
}
