|
|
@@ -4,6 +4,7 @@ namespace App\Entity; |
|
|
|
|
|
|
|
|
use App\Enum\PrioType; |
|
|
use App\Enum\PrioType; |
|
|
use App\Repository\TaskRepository; |
|
|
use App\Repository\TaskRepository; |
|
|
|
|
|
use Doctrine\Common\Collections\ArrayCollection; |
|
|
use Doctrine\Common\Collections\Collection; |
|
|
use Doctrine\Common\Collections\Collection; |
|
|
use Doctrine\DBAL\Types\Types; |
|
|
use Doctrine\DBAL\Types\Types; |
|
|
use Doctrine\ORM\Mapping as ORM; |
|
|
use Doctrine\ORM\Mapping as ORM; |
|
|
@@ -58,6 +59,7 @@ class Task |
|
|
$this->createdBy = $createdBy; |
|
|
$this->createdBy = $createdBy; |
|
|
$this->assignedTo = $assignedTo; |
|
|
$this->assignedTo = $assignedTo; |
|
|
$this->createdAt = new \DateTimeImmutable(); |
|
|
$this->createdAt = new \DateTimeImmutable(); |
|
|
|
|
|
$this->taskNotes = new ArrayCollection(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function getId(): ?int |
|
|
public function getId(): ?int |
|
|
|