pingcrm/database/factories/OrganizationFactory.php

28 lines
674 B
PHP

<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class OrganizationFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'name' => $this->faker->company,
'email' => $this->faker->companyEmail,
'phone' => $this->faker->tollFreePhoneNumber,
'address' => $this->faker->streetAddress,
'city' => $this->faker->city,
'region' => $this->faker->state,
'country' => 'US',
'postal_code' => $this->faker->postcode,
];
}
}