<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Questionnaire extends Model
{
    use HasFactory;

    protected $fillable = [
        'question_text', // Pertanyaan
        'is_active',     // Status aktif atau tidak
    ];

    // Bisa jadi relasi ke Response jika dibutuhkan
    public function responses()
    {
        return $this->hasMany(Response::class);
    }
}
