firefly-iii/app/Helpers/Collection/BudgetLine.php

131 lines
2.0 KiB
PHP
Raw Normal View History

2015-05-16 07:14:22 -05:00
<?php
namespace FireflyIII\Helpers\Collection;
use FireflyIII\Models\Budget as BudgetModel;
use FireflyIII\Models\LimitRepetition;
/**
2015-05-16 12:08:54 -05:00
* @codeCoverageIgnore
*
2015-05-16 07:14:22 -05:00
* Class BudgetLine
*
* @package FireflyIII\Helpers\Collection
*/
class BudgetLine
{
/** @var BudgetModel */
protected $budget;
/** @var LimitRepetition */
protected $repetition;
/** @var float */
2015-05-20 12:55:53 -05:00
protected $budgeted = 0;
2015-05-16 07:14:22 -05:00
/** @var float */
2015-05-20 12:55:53 -05:00
protected $left = 0;
2015-05-16 07:14:22 -05:00
/** @var float */
protected $overspent = 0;
/** @var float */
2015-05-20 12:55:53 -05:00
protected $spent = 0;
2015-05-16 07:14:22 -05:00
/**
* @return BudgetModel
*/
public function getBudget()
{
return $this->budget;
}
/**
* @param BudgetModel $budget
*/
public function setBudget($budget)
{
$this->budget = $budget;
}
/**
* @return float
*/
public function getBudgeted()
{
return $this->budgeted;
}
/**
* @param float $budgeted
*/
public function setBudgeted($budgeted)
{
$this->budgeted = $budgeted;
}
/**
* @return float
*/
public function getLeft()
{
return $this->left;
}
/**
* @param float $left
*/
public function setLeft($left)
{
$this->left = $left;
}
/**
* @return float
*/
public function getOverspent()
{
return $this->overspent;
}
/**
* @param float $overspent
*/
public function setOverspent($overspent)
{
$this->overspent = $overspent;
}
/**
* @return float
*/
public function getSpent()
{
return $this->spent;
}
/**
* @param float $spent
*/
public function setSpent($spent)
{
$this->spent = $spent;
}
/**
* @return LimitRepetition
*/
public function getRepetition()
{
return $this->repetition;
}
/**
* @param LimitRepetition $repetition
*/
public function setRepetition($repetition)
{
$this->repetition = $repetition;
}
2015-05-20 12:56:14 -05:00
}