Your IP : 3.21.46.129


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

<?php

namespace App\Models;

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

class Faq extends Model
{
    use HasFactory;

    protected $fillable = [
        'course_id', 'question', 'answer'
    ];

    function course()
    {
        return $this->belongsTo(Course::class, 'course_id');
    }
}

?>