# fluentform/6.2.14/app/Models/Scheduler.php

Fluent Forms – Customizable Contact Forms, Survey, Quiz, &amp; Conversational Form Builder, version 6.2.14. 34 lines.

- Page: https://pluginprobe.com/plugins/fluentform/6.2.14/code/app/Models/Scheduler.php
- Raw: https://pluginprobe.com/plugins/fluentform/6.2.14/raw/app/Models/Scheduler.php
- Modified: 2023-06-22T15:10:22+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/fluentform/6.2.14/code/app/Models/Scheduler.php#L10-L20`.

```php
<?php

namespace FluentForm\App\Models;

class Scheduler extends Model
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'ff_scheduled_actions';

    /**
     * A formMeta is owned by a form.
     *
     * @return \FluentForm\Framework\Database\Orm\Relations\BelongsTo
     */
    public function form()
    {
        return $this->belongsTo(Form::class, 'form_id', 'id');
    }

    /**
     * A schedule action is owned by a submission.
     *
     * @return \FluentForm\Framework\Database\Orm\Relations\BelongsTo
     */
    public function submission()
    {
        return $this->belongsTo(Submission::class, 'origin_id', 'id');
    }
}

```
