<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\SystemMessage>
 */
class SystemMessageFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'duration' => $this->faker->numberBetween(30, 60),
            'date' => $this->faker->date(),
            'voice' => $this->faker->name,
            'description' => $this->faker->text(),
            'message_quality' => $this->faker->numberBetween(0, 1),
            'format_quality' => $this->faker->numberBetween(0, 1),
            'type_id' => $this->faker->numberBetween(1, 2),
            'type_name' => $this->faker->name,
        ];
    }
}
