mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-23 19:24:03 +01:00
17 lines
323 B
PHP
17 lines
323 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class MetricPoint extends Model
|
|
{
|
|
/**
|
|
* A metric point belongs to a metric unit.
|
|
*
|
|
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
|
*/
|
|
public function metric()
|
|
{
|
|
return $this->belongsTo('Metric', 'id', 'metric_id');
|
|
}
|
|
}
|