|Ban where($column, $operator = null, $value = null) * @method static \Illuminate\Database\Eloquent\Builder|Ban orderByDesc($column) * @method static \Illuminate\Database\Eloquent\Builder|Ban whereIn($column, $values, $boolean = 'and', $not = false) * @method static \Illuminate\Database\Eloquent\Builder|Ban first($columns = ['*']) * @method static \Illuminate\Database\Eloquent\Builder|Ban exists() */ class Ban extends Model { use BelongsToUser; use LogsActivity; #[\Override] protected $guarded = ['id', 'created_at', 'updated_at', 'user_id', 'ban_expire', 'type', 'reason']; #[\Override] public $timestamps = false; public function staff(): BelongsTo { return $this->belongsTo(User::class, 'user_staff_id'); } public function getActivitylogOptions(): LogOptions { return LogOptions::defaults() ->logOnly(['user_id', 'ip', 'ban_expire', 'ban_reason', 'type']); } }