user profile, editing and more statistics

This commit is contained in:
Kevin Papst
2016-11-09 21:58:00 +01:00
parent 1678129fe9
commit 8401797728
42 changed files with 1441 additions and 195 deletions

View File

@@ -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;
}
}