2022-10-20 03:15:33 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Database\Factories;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Role>
|
|
|
|
*/
|
|
|
|
class RoleFactory extends Factory
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Define the model's default state.
|
|
|
|
*
|
|
|
|
* @return array<string, mixed>
|
|
|
|
*/
|
|
|
|
public function definition()
|
|
|
|
{
|
|
|
|
return [
|
2022-10-22 17:34:21 +00:00
|
|
|
'name' => $this->faker->name(),
|
2022-10-20 03:15:33 +00:00
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|