<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class StageAcademyCourseVideo extends Model
{
    use SoftDeletes;

    protected $fillable = [
        'course_id',
        'name_ar',
        'name_en',
        'short_description_ar',
        'short_description_en',
        'vimeo_url',
        'duration_seconds',
    ];

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