Your IP : 18.217.104.36


Current Path : /home/lentoinv/api.lentoria.com/app/Models/
Upload File :
Current File : /home/lentoinv/api.lentoria.com/app/Models/QuestionaireAnswer.php

<?php

namespace App\Models;

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

class QuestionaireAnswer extends Model
{
    use HasFactory;

    protected $fillable = [
        'user_id', 'question_id', 'data', 'total_questions', 'question_type'
    ];

    function user()
    {
        return $this->belongsTo(User::class, 'user_id');
    }
}

?>