# FunnelMetric Model
| DB Table Name | {wp_db_prefix}_fc_funnel_metrics |
|---------------|-----------------------------------------------------------------------|
| Schema | Check Schema |
| Source File | fluent-crm/app/Models/FunnelMetric.php |
| Name Space | FluentCrm\App\Models |
| Class | FluentCrm\App\Models\FunnelMetric |
## Attributes
| Attribute |
Data Type |
Comment |
| id |
Integer |
|
| funnel_id |
Integer |
|
| sequence_id |
Integer |
|
| subscriber_id |
Integer |
|
| benchmark_value |
Integer |
|
| benchmark_currency |
String |
|
| status |
String |
|
| notes |
String |
|
| created_at |
Date Time |
|
| updated_at |
Date Time |
|
## Usage
Please check Model Basic for Common methods.
### Accessing Attributes
```php
$funnelSequence = FluentCrm\App\Models\FunnelSequence::find(1);
$funnelSequence->id; // returns id
$funnelSequence->status; // returns status
.......
```
## Fillable Attributes
```php
'funnel_id',
'action_name',
'parent_id',
'condition_type',
'title',
'description',
'status', // draft | : Default: draft
'conditions',
'settings',
'delay',
'c_delay',
'sequence',
'created_by',
'type', // sequence | ; Default: sequence
'note',
```
## Relations
This model has the following relationship that you can use
### sequence
Get all the actions of Funnel Sequence related to this funnel
- returns `FluentCrm\App\Models\FunnelSequence` Model Collection
#### Example:
```php
// Accessing the relationship
$sequence = $funnelMetric->sequence;
```
### subscriber
Get all the actions of Funnel Sequence related to this funnel
- returns `FluentCrm\App\Models\Subscriber` Model Collection
#### Example:
```php
// Accessing the relationship
$sequence = $funnelMetric->subscriber;
```