2022-11-06 12:41:52 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Database\Factories\Engelsystem\Models;
|
|
|
|
|
|
|
|
use Engelsystem\Models\Group;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
|
|
|
|
class GroupFactory extends Factory
|
|
|
|
{
|
|
|
|
/** @var string */
|
|
|
|
protected $model = Group::class;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function definition()
|
|
|
|
{
|
|
|
|
return [
|
2022-11-26 13:36:47 +01:00
|
|
|
'name' => $this->faker->unique()->word(),
|
2022-11-06 12:41:52 +01:00
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|