24 lines
464 B
PHP
24 lines
464 B
PHP
<?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 [
|
|
'name' => $this->faker->word(),
|
|
'description' => $this->faker->text(),
|
|
];
|
|
}
|
|
}
|