unsa-pis-be/database/factories/RoleFactory.php

24 lines
426 B
PHP
Raw Normal View History

<?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(),
];
}
}