<?php

namespace Database\Factories\Pilkades;

use App\Modules\Pilkades\Models\Desa;
use App\Modules\Pilkades\Models\Faq;
use Illuminate\Database\Eloquent\Factories\Factory;

class FaqFactory extends Factory
{
    protected $model = Faq::class;

    public function definition(): array
    {
        return [
            'desa_id' => Desa::factory(),
            'pertanyaan' => fake()->sentence().'?',
            'jawaban' => fake()->paragraph(),
            'is_active' => true,
        ];
    }
}
