<?php

namespace App\Models;

use Spatie\Activitylog\LogOptions;
use Illuminate\Database\Eloquent\Model;
use Spatie\Activitylog\Traits\LogsActivity;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class TopHeader extends Model
{
    use HasFactory,LogsActivity;
    use SoftDeletes ;
    protected $dates = ['deleted_at'];
    protected $fillable = [
        
       'icon_facility',
       'facilities_tittle',
       'icon_studentlife',
       'studentlife_tittle',
       'search_status',
       'apply_now',
        'apply_now_link',
        'applynow_status',
        'requestinfo',
        'requestinfo_link',
        'requestinfo_status',

    ];
    public function getActivitylogOptions(): LogOptions
    {
        return LogOptions::defaults()
        ->logAll();
    }
}
