<?php

namespace Database\Factories;

use App\Models\Outlet;
use App\Models\Restock;
use App\Models\Warehouse;
use Illuminate\Database\Eloquent\Factories\Factory;

class RestockFactory extends Factory
{
    protected $model = Restock::class;

    public function definition(): array
    {
        return [
            'warehouse_id' => Warehouse::factory(),
            'outlet_id' => Outlet::factory(),
            'restock_date' => fake()->dateTimeBetween('-1 month', 'now'),
            'note' => fake()->optional()->sentence(),
        ];
    }
}
