26 lines
710 B
PHP
26 lines
710 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class ContactFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function definition()
|
|
{
|
|
return [
|
|
'contact_siteId' => $this->faker->bothify('??###'), // e.g., LG89
|
|
'contact_ref' => $this->faker->uuid(),
|
|
'contact_prenom' => $this->faker->firstName(),
|
|
'contact_nom' => $this->faker->lastName(),
|
|
'contact_email' => $this->faker->email(),
|
|
'contact_cp' => $this->faker->numberBetween(7200, 95000),
|
|
'contact_ville' => $this->faker->city(),
|
|
];
|
|
}
|
|
}
|