Initial commit

This commit is contained in:
James
2024-12-03 21:27:44 +01:00
commit 613e1a767c
125 changed files with 16298 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
declare(strict_types=1);
namespace Database\Factories;
use App\Models\WalletTransfer;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<WalletTransfer>
*/
class WalletTransferFactory extends Factory
{
public function definition(): array
{
return [
'amount' => fake()->numberBetween(1, 100),
];
}
public function amount(int $amount): self
{
return $this->state(fn (array $attributes) => [
'amount' => $amount,
]);
}
}