PATH:
home
/
rwabteecom
/
public_html_old
/
database
/
factories
/
Editing: ServicesFactory.php
<?php namespace Database\Factories; use App\Models\Service; use Illuminate\Database\Eloquent\Factories\Factory; class ServicesFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Service::class; /** * Define the model's default state. */ public function definition(): array { return [ 'category' => $this->faker->word(), 'name' => $this->faker->word(), 'charges' => $this->faker->word(), 'doctors' => $this->faker->word(), 'status' => $this->faker->word(), 'created_at' => $this->faker->date('Y-m-d H:i:s'), 'updated_at' => $this->faker->date('Y-m-d H:i:s'), ]; } }
SAVE
CANCEL