<?php

namespace App\Models\coreApp\Setting;

use App\Models\coreApp\BaseModel;
use App\Models\Traits\CompanyTrait;
use Spatie\Activitylog\LogOptions;
use Spatie\Activitylog\Traits\LogsActivity;

class Setting extends BaseModel
{
    use LogsActivity, CompanyTrait;

    protected $fillable = ['name', 'value', 'context','company_id'];

    protected static $logAttributes = [
        'company_id','name', 'value','context'
    ];

    public function getActivitylogOptions(): LogOptions
    {
        return LogOptions::defaults();
    }

}
