| 1 |
<?php |
| 2 |
|
| 3 |
namespace FluentForm\App\Models; |
| 4 |
|
| 5 |
class FormAnalytics extends Model |
| 6 |
{ |
| 7 |
/** |
| 8 |
* The table associated with the model. |
| 9 |
* |
| 10 |
* @var string |
| 11 |
*/ |
| 12 |
protected $table = 'fluentform_form_analytics'; |
| 13 |
|
| 14 |
/** |
| 15 |
* Indicates if the model should be timestamped. |
| 16 |
* |
| 17 |
* @var bool |
| 18 |
*/ |
| 19 |
public $timestamps = false; |
| 20 |
|
| 21 |
/** |
| 22 |
* A formMeta is owned by a form. |
| 23 |
* |
| 24 |
* @return \FluentForm\Framework\Database\Orm\Relations\BelongsTo |
| 25 |
*/ |
| 26 |
public function form() |
| 27 |
{ |
| 28 |
return $this->belongsTo(Form::class, 'form_id', 'id'); |
| 29 |
} |
| 30 |
} |
| 31 |
|