# fluent-support/1.5.4/app/Models/Activity.php

Fluent Support – Helpdesk &amp; Customer Support Ticket System, version 1.5.4. 20 lines.

- Page: https://pluginprobe.com/plugins/fluent-support/1.5.4/code/app/Models/Activity.php
- Raw: https://pluginprobe.com/plugins/fluent-support/1.5.4/raw/app/Models/Activity.php
- Modified: 2021-11-12T14:57:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-support/1.5.4/code/app/Models/Activity.php#L10-L20`.

```php
<?php

namespace FluentSupport\App\Models;

class Activity extends Model
{
    protected $table = 'fs_activities';

    protected $fillable = ['person_id', 'person_type', 'event_type', 'object_id', 'object_type', 'description'];

    public function person()
    {
        $class = __NAMESPACE__ . '\Person';

        return $this->belongsTo(
            $class, 'person_id', 'id'
        );
    }
}

```
