Update source into github
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Customer>
|
||||
*/
|
||||
class CustomerFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition()
|
||||
{
|
||||
return [
|
||||
'firstname' => $this->faker->name(),
|
||||
'lastname' => $this->faker->name(),
|
||||
'phone' => $this->faker->unique()->phoneNumber(),
|
||||
'email' => $this->faker->unique()->email(),
|
||||
'email_verify' => now(),
|
||||
'password' => '$2y$10$2Tcx805kaC.Ug/IUD34pW.R.D0l0Gpy.IEeXkrjhBr1uu048pEFp.'
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user