<?php

namespace App\Models\fcmodels;

use Illuminate\Database\Eloquent\Model;

class Response extends Model
{
    protected $connection = 'mysql_newfc';
    //
    protected $fillable = [
        'participant_id', 
        'option', 
        'response',
        'question_id', 
    ];

    public function responseQuestion()
    {
        return $this->belongsTo(Question::class,'question_id','id');
    }
}
