First complete upload CasaDoc

This commit is contained in:
2024-09-18 10:42:19 +02:00
commit 2ab3e52df3
3042 changed files with 407823 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
];
}
}