<?php

namespace Database\Factories;

use App\Models\User;
use App\Models\Wallet;
use Illuminate\Database\Eloquent\Factories\Factory;

class WalletTransactionFactory extends Factory
{
    /**
     * Define the model's default state.
     */
    public function definition(): array
    {
        return [
            'pm_type' => fake()->randomElement(["wallet","stripe"]),
            'type' => fake()->randomElement(["credit","debit"]),
            'amount' => fake()->randomFloat(0, 0, 9999999999.),
            'wallet_id' => Wallet::factory(),
            'user_id' => User::factory(),
        ];
    }
}
