<?php

namespace App\Models;

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

class StageAcademyInstitution extends Model
{
    use SoftDeletes;

    protected $fillable = [
        'name_ar',
        'name_en',
        'details_ar',
        'details_en',
        'image',
        'percentage',
        'facebook',
        'instagram',
        'tiktok',
        'youtube',
        'twitter',
        'website',
    ];

    public function courses()
    {
        return $this->hasMany(StageAcademyCourse::class, 'institution_id');
    }
}
