create entity and schema

This commit is contained in:
2021-07-30 13:15:09 +02:00
committed by Marc Ducobu
parent 72a1ac02eb
commit 2f699d32b0
5 changed files with 533 additions and 0 deletions

View File

@@ -160,12 +160,22 @@ use Symfony\Component\Validator\Constraints as Assert;
*/
private Collection $persons;
/**
* @var Collection
* @ORM\OneToMany(
* targetEntity=AccompanyingPeriodWorkEvaluation::class,
* mappedBy="accompanyingPeriodWork"
* )
*/
private Collection $accompanyingPeriodWorkEvaluations;
public function __construct()
{
$this->goals = new ArrayCollection();
$this->results = new ArrayCollection();
$this->thirdParties = new ArrayCollection();
$this->persons = new ArrayCollection();
$this->accompanyingPeriodWorkEvaluations = new ArrayCollection();
}
public function getId(): ?int