mirror of
https://github.com/cachethq/cachet.git
synced 2026-07-01 08:15:55 +00:00
14 lines
278 B
PHP
14 lines
278 B
PHP
<?php
|
|
|
|
class MetricPoint extends Eloquent
|
|
{
|
|
/**
|
|
* A metric point belongs to a metric unit.
|
|
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
|
*/
|
|
public function metric()
|
|
{
|
|
return $this->belongsTo('Metric', 'id', 'metric_id');
|
|
}
|
|
}
|