<?php

namespace Database\Factories;

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

class TopUpFactory extends Factory
{
    /**
     * Define the model's default state.
     */
    public function definition(): array
    {
        return [
            'amount' => fake()->numberBetween(-10000, 10000),
            'phone' => fake()->phoneNumber(),
            'status' => fake()->randomElement(["pending","completed","failed"]),
            'pm_type' => fake()->randomElement(["wallet","stripe"]),
            'is_paid' => fake()->boolean(),
            'user_id' => User::factory(),
        ];
    }
}
