change gitignore

This commit is contained in:
2025-09-02 13:57:30 +02:00
parent d8b89fc4fe
commit 1bcb7eb180
9363 changed files with 1088355 additions and 608 deletions
@@ -0,0 +1,32 @@
<?php
namespace Vanguard\Announcements\Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Vanguard\Announcements\Announcement;
class AnnouncementFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Announcement::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'title' => $this->faker->title,
'body' => $this->faker->paragraph(2),
'user_id' => function () {
return \Vanguard\User::factory()->create()->id;
},
];
}
}