database/factories/PersonnelFactory.php
/**
     * Define the model's default state.
     *
     * @return array
     */
Define the model's default state.
@return array
Define the model ' s default state . @return array
public function definition()
    {
        return [
            'nom' => $this->faker->name(),
            'prenom' => $this->faker->firstName(),
            'tel' => $this->faker->phoneNumber(),
            'email' => $this->faker->email(),
            'adresse' => $this->faker->address(),
            'matricule' => $this->faker->numberBetween(),
        ];
    }
public function definition ( ) { return [ 'nom' => $ this -> faker -> name ( ) , 'prenom' => $ this -> faker -> firstName ( ) , 'tel' => $ this -> faker -> phoneNumber ( ) , 'email' => $ this -> faker -> email ( ) , 'adresse' => $ this -> faker -> address ( ) , 'matricule' => $ this -> faker -> numberBetween ( ) , ] ; }
Define the model's default state.
Define the model ' s default state .