<?php

namespace App\Models;

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

class Facility extends Model
{
    use LogsActivity;

    protected $fillable = [
        'main_title',
        'image',
        'text',
        'director_title',
        'director_name',
        'director_desc',
        'director_position',
        'director_college',
        'director_image',
        'team_title',


    ];

    public function getActivitylogOptions(): \Spatie\Activitylog\LogOptions
    {
        return \Spatie\Activitylog\LogOptions::defaults()->logAll();
    }
}
