<?php

namespace App\Models\Admin;

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

class FormResponseFields extends Model
{
    use HasFactory;

    protected $fillable = [
        'form_response_id',
        'form_field_id',
        'value',
    ];

    public function formResponse()
    {
        return $this->belongsTo(FormResponses::class);
    }

    public function formField()
    {
        return $this->belongsTo(FormFields::class);
    }
}
