29 lines
830 B
PHP
29 lines
830 B
PHP
<?php
|
|
/**
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
*
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
*
|
|
* @copyright Copyright (c) 2020. Invoice Ninja LLC (https://invoiceninja.com)
|
|
*
|
|
* @license https://opensource.org/licenses/AAL
|
|
*/
|
|
namespace Database\Factories;
|
|
|
|
|
|
use Faker\Generator as Faker;
|
|
|
|
$factory->define(App\Models\ClientLocation::class, function (Faker $faker) {
|
|
return [
|
|
'address1' => $faker->buildingNumber,
|
|
'address2' => $faker->streetAddress,
|
|
'city' => $faker->city,
|
|
'state' => $faker->state,
|
|
'postal_code' => $faker->postcode,
|
|
'country_id' => 4,
|
|
'latitude' => $faker->latitude,
|
|
'longitude' => $faker->longitude,
|
|
'description' => $faker->paragraph,
|
|
'private_notes' => $faker->paragraph,
|
|
];
|
|
});
|