mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-19 04:49:30 +00:00
24 lines
439 B
PHP
24 lines
439 B
PHP
<?php namespace FireflyIII\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class BudgetLimit extends Model
|
|
{
|
|
|
|
public function budget()
|
|
{
|
|
return $this->belongsTo('FireflyIII\Models\Budget');
|
|
}
|
|
|
|
public function getDates()
|
|
{
|
|
return ['created_at', 'updated_at', 'startdate'];
|
|
}
|
|
|
|
public function limitrepetitions()
|
|
{
|
|
return $this->hasMany('FireflyIII\Models\LimitRepetition');
|
|
}
|
|
|
|
}
|