Your IP : 3.144.40.90


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

<?php

namespace App\Models;

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

class UserLectureProgress extends Model
{
    use HasFactory;

    protected $table = 'user_lecture_progress';

    protected $guarded = [];

    protected $casts = [
        'unlocked_lecture_ids' => 'array',
    ];

    public function course(): \Illuminate\Database\Eloquent\Relations\BelongsTo
    {
        return $this->belongsTo(Course::class);
    }
}

?>