snipe-it/database/factories/ReportTemplateFactory.php

26 lines
478 B
PHP
Raw Normal View History

<?php
namespace Database\Factories;
2024-10-23 16:40:03 -07:00
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
2023-12-18 12:55:48 -08:00
class ReportTemplateFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'name' => $this->faker->word(),
2024-01-17 16:25:28 -08:00
'options' => [
'id' => '1',
],
2024-10-23 16:40:03 -07:00
'created_by' => User::factory(),
];
}
}