$this->faker->unique()->email(), 'lastname' => $this->faker->boolean() ? $this->faker->unique()->lastName() : null, 'firstname' => $this->faker->boolean() ? $this->faker->unique()->firstName() : null, 'phone' => $this->faker->boolean() ? $this->faker->unique()->phoneNumber() : null, 'notes' => $this->faker->boolean() ? $this->faker->text() : null, 'visits' => \collect(range(0, $this->faker->numberBetween(1, 5)))->mapWithKeys(function () { return [ [ 'title' => 'Visite du ' . $this->faker->dateTime()->format('D/M/Y H:i'), 'note' => $this->faker->text(), ] ]; }), 'data' => null, ]; } }