added export module (#538)

This commit is contained in:
Kevin Papst
2019-02-05 21:37:33 +01:00
committed by GitHub
parent 062735c9e3
commit 816866549c
104 changed files with 3770 additions and 608 deletions

View File

@@ -119,6 +119,14 @@ class Timesheet
*/
private $hourlyRate = null;
/**
* @var bool
*
* @ORM\Column(name="exported", type="boolean", nullable=false)
* @Assert\NotNull()
*/
private $exported = false;
/**
* Get entry id
*
@@ -345,6 +353,25 @@ class Timesheet
return $this;
}
/**
* @return bool
*/
public function isExported(): bool
{
return $this->exported;
}
/**
* @param bool $exported
* @return Timesheet
*/
public function setExported(bool $exported)
{
$this->exported = $exported;
return $this;
}
/**
* @param ExecutionContextInterface $context
* @param $payload