<?php

namespace Database\Factories;

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

class RestockFactory extends Factory
{
    public function definition(): array
    {
        return [
            'created_by_id' => User::factory(),
            'subtotal' => fake()->numberBetween(50000, 5000000),
            'total' => fake()->numberBetween(50000, 5000000),
            'notes' => fake()->sentence(),
            'stock_type' => fake()->randomElement(['good', 'reject']),
        ];
    }
}
