added command to import data from kimai v1 #102 (#103)

This commit is contained in:
Kevin Papst
2018-01-23 00:23:41 +01:00
committed by GitHub
parent 6ae9bc4df5
commit 50b5e93a10
7 changed files with 869 additions and 24 deletions

View File

@@ -48,6 +48,7 @@ class Activity
*
* @ORM\Column(name="name", type="string", length=255, nullable=false)
* @Assert\NotBlank()
* @Assert\Length(min=2, max=255)
*/
private $name;
@@ -73,24 +74,6 @@ class Activity
*/
private $timesheets;
/**
* @return Timesheet[]
*/
public function getTimesheets()
{
return $this->timesheets;
}
/**
* @param Timesheet[] $timesheets
* @return Activity
*/
public function setTimesheets($timesheets)
{
$this->timesheets = $timesheets;
return $this;
}
/**
* @return Project
*/