mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-24 03:34:12 +01:00
12 lines
274 B
PHP
12 lines
274 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');
|
|
}
|
|
}
|