<?php

namespace Database\Factories;

use App\Models\Outlet;
use App\Models\OutletProduct;
use App\Models\Product;
use Illuminate\Database\Eloquent\Factories\Factory;

class OutletProductFactory extends Factory
{
    protected $model = OutletProduct::class;

    public function definition(): array
    {
        return [
            'outlet_id' => Outlet::factory(),
            'product_id' => Product::factory(),
            'stock' => $this->faker->numberBetween(0, 500),
        ];
    }
}
