<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class ExerciseFactory extends Factory
{
    public function definition(): array
    {
        return [
            'title' => $this->faker->sentence(3),
            'slug' => $this->faker->slug,
            'description' => $this->faker->paragraph,
            'content' => $this->faker->paragraphs(3, true),
            'category' => $this->faker->randomElement(['mindfulness', 'breathing', 'gratitude', 'focus']),
            'duration' => $this->faker->numberBetween(5, 30),
            'image' => null,
            'is_premium' => $this->faker->boolean(20),
        ];
    }
}
