<?php

namespace Database\Factories;

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

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Recipients>
 */
class RecipientsFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition()
    {
        return [
            'user_id' => $this->faker->randomElement(User::query()->get('id')),
            'prize_id' => $this->faker->randomElement(Prize::query()->get('id')),
            'is_claimed' => false,
        ];
    }
}
