'numeric|required', ]; /** * A metric point belongs to a metric unit. * * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function metric() { return $this->belongsTo('CachetHQ\Cachet\Models\Metric', 'id', 'metric_id'); } }