2025-01-14 17:17:04 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Database\Factories;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\TaxRate>
|
|
|
|
*/
|
|
|
|
class TaxRateFactory extends Factory
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Define the model's default state.
|
|
|
|
*
|
|
|
|
* @return array<string, mixed>
|
|
|
|
*/
|
|
|
|
public function definition(): array
|
|
|
|
{
|
|
|
|
return [
|
2025-02-14 22:23:51 -05:00
|
|
|
'name' => strtoupper($this->faker->randomLetter()).'ST',
|
|
|
|
'value' => random_int(1, 15),
|
2025-01-14 17:17:04 -05:00
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|