23 lines
486 B
PHP
23 lines
486 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Database\Factories\Engelsystem\Models;
|
|
|
|
use Engelsystem\Models\Privilege;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class PrivilegeFactory extends Factory
|
|
{
|
|
/** @var string */
|
|
protected $model = Privilege::class; // phpcs:ignore
|
|
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => $this->faker->unique()->word(),
|
|
'description' => $this->faker->text(),
|
|
];
|
|
}
|
|
}
|