<?php

namespace App\Models;

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

class StageAcademyCourseCategory extends Model
{
    use SoftDeletes;

    protected $fillable = ['name_ar', 'name_en', 'description_ar', 'description_en'];

    public function subCategories()
    {
        return $this->hasMany(StageAcademyCourseSubCategory::class, 'category_id');
    }
}
