user profile, editing and more statistics
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
|
||||
namespace TimesheetBundle\Model;
|
||||
|
||||
use \DateTime;
|
||||
|
||||
/**
|
||||
* Timesheet statistics
|
||||
*
|
||||
@@ -34,6 +36,10 @@ class TimesheetStatistic
|
||||
* @var int
|
||||
*/
|
||||
protected $amountTotal = 0;
|
||||
/**
|
||||
* @var \DateTime
|
||||
*/
|
||||
protected $firstEntry;
|
||||
|
||||
/**
|
||||
* @return int
|
||||
@@ -98,4 +104,20 @@ class TimesheetStatistic
|
||||
{
|
||||
$this->amountThisMonth = $amountThisMonth;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return DateTime
|
||||
*/
|
||||
public function getFirstEntry()
|
||||
{
|
||||
return $this->firstEntry;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param DateTime $firstEntry
|
||||
*/
|
||||
public function setFirstEntry(DateTime $firstEntry)
|
||||
{
|
||||
$this->firstEntry = $firstEntry;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user