Files
firefly-iii/app/Models/BudgetLimit.php

19 lines
337 B
PHP
Raw Normal View History

2015-02-06 04:52:16 +01:00
<?php namespace FireflyIII\Models;
use Illuminate\Database\Eloquent\Model;
2015-02-06 05:04:06 +01:00
class BudgetLimit extends Model
{
2015-02-06 04:52:16 +01:00
2015-02-06 05:14:27 +01:00
public function budget()
{
2015-02-06 05:35:00 +01:00
return $this->belongsTo('FireflyIII\Models\Budget');
2015-02-06 05:14:27 +01:00
}
public function limitrepetitions()
{
2015-02-06 05:35:00 +01:00
return $this->hasMany('FireflyIII\Models\LimitRepetition');
2015-02-06 05:14:27 +01:00
}
2015-02-06 04:52:16 +01:00
}