Refactor navigation icon declarations in various resources for consistency; enhance Group model with new relationships and fillable properties; update Hotel and Pilgrim models with fillable attributes; improve table configurations across resources.

This commit is contained in:
2025-09-03 19:10:21 +05:00
parent f9f4c476ce
commit e2b47eb73f
39 changed files with 634 additions and 53 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Group>
*/
class GroupFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'start_date' => $this->faker->dateTimeBetween('+1 week', '+2 week'),
'end_date' => $this->faker->dateTimeBetween('+3 week', '+4 week'),
];
}
}