snipe-it/database/factories/ReportTemplateFactory.php
2024-10-23 16:40:03 -07:00

26 lines
478 B
PHP

<?php
namespace Database\Factories;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
class ReportTemplateFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'name' => $this->faker->word(),
'options' => [
'id' => '1',
],
'created_by' => User::factory(),
];
}
}