Add salutation field to contacts #13
This commit is contained in:
@@ -20,9 +20,12 @@ public function definition()
|
||||
$avatar = "https://i.pravatar.cc/128?img={$randomImageId}";
|
||||
}
|
||||
|
||||
$gender = rand(0, 9) >= 5 ? 'female' : 'male';
|
||||
|
||||
return [
|
||||
'first_name' => $this->faker->firstName(),
|
||||
'last_name' => $this->faker->lastName(),
|
||||
'salutation' => $this->faker->title($gender),
|
||||
'first_name' => $this->faker->firstName($gender),
|
||||
'last_name' => $this->faker->lastName($gender),
|
||||
'email' => $this->faker->unique()->safeEmail(),
|
||||
'phone' => $this->faker->phoneNumber(),
|
||||
'position' => $this->faker->jobTitle(),
|
||||
|
||||
Reference in New Issue
Block a user