mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 23:41:04 +03:30
30 lines
615 B
PHP
Executable File
30 lines
615 B
PHP
Executable File
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\MedicalCenter;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<MedicalCenter>
|
|
*/
|
|
class MedicalCenterFactory extends Factory
|
|
{
|
|
protected $model = MedicalCenter::class;
|
|
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => $this->faker->company,
|
|
'address' => $this->faker->address,
|
|
'phone_number' => $this->faker->phoneNumber,
|
|
'city_id' => 1,
|
|
];
|
|
}
|
|
}
|