2020-11-03 17:18:31 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Database\Factories;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
|
|
2024-08-02 22:23:31 -05:00
|
|
|
/** @extends Factory<\App\Models\DeviceGroup> */
|
2020-11-03 17:18:31 +01:00
|
|
|
class DeviceGroupFactory extends Factory
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Define the model's default state.
|
|
|
|
|
*/
|
2023-05-24 22:21:54 +02:00
|
|
|
public function definition(): array
|
2020-11-03 17:18:31 +01:00
|
|
|
{
|
|
|
|
|
return [
|
2022-09-01 19:31:25 +02:00
|
|
|
'name' => $this->faker->domainWord(),
|
2020-11-03 17:18:31 +01:00
|
|
|
'desc' => $this->faker->text(255),
|
2024-01-05 05:39:12 +01:00
|
|
|
'type' => 'static',
|
2020-11-03 17:18:31 +01:00
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
}
|