engelsystem/db/factories/PrivilegeFactory.php

24 lines
474 B
PHP
Raw Normal View History

<?php
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;
/**
* @return array
*/
public function definition()
{
return [
2022-11-26 13:36:47 +01:00
'name' => $this->faker->unique()->word(),
'description' => $this->faker->text(),
];
}
}