Your IP : 18.118.144.239


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

<?php

namespace App\Models;

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

class CourseOwner extends Model
{
    use HasFactory;

    protected $fillable = [
        'user_id', 'course_id', 'status', 'role'
    ];

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

?>