<?php

namespace Database\Factories;

use Faker\Provider\Fakecar;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Car>
 */
class CarFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition()
    {
        return [
            'brand'=> $this->faker->company,
            'model'=> $this->faker->streetAddress,
            'immatriculation'=> $this->faker->postcode,
            'nbKm'=> $this->faker->numberBetween(10000, 500000),
            'agency'=> $this->faker->name,
        ];
    }
}
