2023-11-02 17:10:50 -07:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Database\Factories;
|
|
|
|
|
2024-10-23 16:40:03 -07:00
|
|
|
use App\Models\User;
|
2023-11-02 17:10:50 -07:00
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
|
2023-12-18 12:55:48 -08:00
|
|
|
class ReportTemplateFactory extends Factory
|
2023-11-02 17:10:50 -07:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* 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(),
|
2023-11-02 17:10:50 -07:00
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|