first commit

This commit is contained in:
2025-09-01 15:06:58 +02:00
commit d8b89fc4fe
5702 changed files with 1021992 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Vanguard\Country;
class CountryFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Country::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'country_code' => $this->faker->countryCode,
'iso_3166_2' => strtoupper($this->faker->randomLetter . $this->faker->randomLetter),
'iso_3166_3' => $this->faker->countryISOAlpha3,
'name' => $this->faker->country,
'region_code' => 123,
'sub_region_code' => 123
];
}
}