<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class WebinarAcademySectionBox extends Model
{
    protected $table = 'webinar_academy_section_boxes';
    public $timestamps = true;
    protected $guarded = ['id'];
    
    protected $fillable = [
        'webinar_academy_section_id',
        'title',
        'description',
        'icon',
        'icon_type',
        'order'
    ];

    public function academySection()
    {
        return $this->belongsTo('App\Models\WebinarAcademySection', 'webinar_academy_section_id', 'id');
    }
}

