*/ class UserFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition() { return [ 'uuid' => $this->faker->uuid(), 'name' => $this->faker->name(), 'email' => $this->faker->unique()->safeEmail(), 'email_verified_at' => Carbon::now(), 'username' => $this->faker->userName(), 'dob' => Carbon::now(), 'password' => bcrypt($this->faker->password), 'created_at' => Carbon::now(), 'updated_at' => Carbon::now(), 'password_last_updated' => Carbon::now(), 'administratively_locked' => false, 'registrationIp' => $this->faker->ipv4(), 'currentIp' => $this->faker->ipv4(), ]; } }