Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
627 B
PHP
Raw Permalink Normal View History

2020-11-03 17:18:31 +01:00
<?php
namespace Database\Factories;
use App\Models\DeviceGroup;
use Illuminate\Database\Eloquent\Factories\Factory;
2021-07-26 16:00:34 +02:00
/** @extends Factory<DeviceGroup> */
2020-11-03 17:18:31 +01:00
class DeviceGroupFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = DeviceGroup::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'name' => $this->faker->domainWord(),
2020-11-03 17:18:31 +01:00
'desc' => $this->faker->text(255),
'type' =>'static',
];
}
}