$this->faker->city(), 'address' => $this->faker->streetAddress(), 'address2' => $this->faker->secondaryAddress(), 'city' => $this->faker->city(), 'state' => $this->faker->stateAbbr(), 'country' => $this->faker->countryCode(), 'currency' => $this->faker->currencyCode(), 'zip' => $this->faker->postcode(), 'image' => rand(1, 9).'.jpg', ]; } public function deletedLocation() { return $this->state(function () { return [ 'deleted_at' => $this->faker->dateTime(), ]; }); } }