diff --git a/app/Models/Metric.php b/app/Models/Metric.php index 8268072e..a924d592 100644 --- a/app/Models/Metric.php +++ b/app/Models/Metric.php @@ -20,7 +20,18 @@ class Metric extends Model implements HasPresenter { use ValidatingTrait; + /** + * The calculation type of sum. + * + * @var int + */ const CALC_SUM = 0; + + /** + * The calculation type of average. + * + * @var int + */ const CALC_AVG = 1; /**