Initial commit
This commit is contained in:
22
database/factories/CountryWwlFactory.php
Normal file
22
database/factories/CountryWwlFactory.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\CountryWwl;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\CountryWwl>
|
||||
*/
|
||||
class CountryWwlFactory extends Factory
|
||||
{
|
||||
protected $model = CountryWwl::class;
|
||||
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'country_name' => $this->faker->unique()->country(),
|
||||
'wwl' => strtoupper($this->faker->bothify('??##')),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user