<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\LotteryMember>
 */
class LotteryMemberFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition()
    {
        return [
            'user_id'=>random_int(1,1000),
            'lottery_id'=>random_int(1,50),
            'name'=>fake()->lastName,
            'mobile'=>substr(fake()->e164PhoneNumber, 1),
        ];
    }
}
