<?php

namespace Database\Factories;

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

class StokOpnameFactory extends Factory
{
    public function definition(): array
    {
        return [
            'created_by_id' => User::factory(),
            'opname_date' => fake()->date(),
            'status' => fake()->randomElement(['draft', 'in_progress', 'completed', 'verified', 'cancelled']),
            'notes' => fake()->sentence(),
        ];
    }
}
