monthly budget, monthly report, unified report calculation (#2684)
This commit is contained in:
34
src/Entity/EntityWithBudget.php
Normal file
34
src/Entity/EntityWithBudget.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Kimai time-tracking app.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
interface EntityWithBudget
|
||||
{
|
||||
public function setBudget(float $budget): void;
|
||||
|
||||
public function getBudget(): float;
|
||||
|
||||
public function hasBudget(): bool;
|
||||
|
||||
public function setTimeBudget(int $seconds): void;
|
||||
|
||||
public function getTimeBudget(): int;
|
||||
|
||||
public function hasTimeBudget(): bool;
|
||||
|
||||
public function isMonthlyBudget(): bool;
|
||||
|
||||
public function getBudgetType(): ?string;
|
||||
|
||||
public function setBudgetType(?string $budgetType = null): void;
|
||||
}
|
||||
Reference in New Issue
Block a user