<?php

namespace Database\Factories;

use App\Models\Feed;
use App\Models\FeedSchedule;
use Illuminate\Database\Eloquent\Factories\Factory;

class FeedScheduleFactory extends Factory
{
    protected $model = FeedSchedule::class;

    public function definition(): array
    {
        return [
            'feed_id' => Feed::factory(),
            'quantity' => $this->faker->numberBetween(1, 50),
            'scheduled_at' => $this->faker->dateTimeBetween('-1 week', '+1 week'),
            'executed_at' => null,
        ];
    }
}
