22 lines
481 B
PHP
22 lines
481 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\ChooseUs;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class ChooseUsFactory extends Factory
|
|
{
|
|
protected $model = ChooseUs::class;
|
|
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => $this->faker->words(2, true),
|
|
'description' => $this->faker->paragraph(),
|
|
'icon' => 'star',
|
|
'sort_order' => $this->faker->numberBetween(1, 50),
|
|
];
|
|
}
|
|
}
|