<?php

namespace App\Models;

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

class AlumniMember extends Model
{
    use LogsActivity;

    protected $fillable = [
        'alumni_name',
        'alumni_photo',
        'company_name',
        'alumni_position',
        'alumni_description',
    ];

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