26 lines
479 B
PHP
26 lines
479 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\Profile;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<Profile>
|
|
*/
|
|
class ProfileFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => fake()->unique()->word(),
|
|
'sort_order' => fake()->numberBetween(1, 10),
|
|
];
|
|
}
|
|
}
|