<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;
use App\Models\client;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Model>
 */
class ClientFactory extends Factory
{
    protected $model = client::class;
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'name' => $this->faker->name(),
            'fantasyName' => $this->faker->name(),
            'province' => $this->faker->lastName,
            'locate' => $this->faker->lastName,
            'address' => $this->faker->address,
            'contactOne' => $this->faker->firstName . ' ' . $this->faker->lastName,
            'phoneOne' => $this->faker->phoneNumber,
            'contactTwo' => $this->faker->firstName . ' ' . $this->faker->lastName,
            'phoneTwo' => $this->faker->phoneNumber,
            'email' => $this->faker->unique()->safeEmail(),
            'web'   => $this->faker->unique()->url(),
            'cuit'  => $this->faker->unique()->randomNumber(),
            'condition' => 'Responsable inscripto',
            'observations' => $this->faker->text
        ];
    }
}
