<?php

namespace Database\Factories;

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

class ExpenseFactory extends Factory
{
    public function definition(): array
    {
        return [
            'cash_transaction_id' => CashTransaction::factory(),
            'created_by_id' => User::factory(),
            'amount' => fake()->numberBetween(1000, 1000000),
            'description' => fake()->sentence(),
        ];
    }
}
