add docgen context for AccompanyingPeriodWork

This commit is contained in:
2021-12-03 12:21:36 +01:00
parent be626079d0
commit e053529afb
4 changed files with 214 additions and 20 deletions

View File

@@ -36,7 +36,7 @@ class AccompanyingPeriodParticipation
/**
* @ORM\Column(type="date", nullable=true)
* @Groups({"read"})
* @Groups({"read", "read:docgen"})
*/
private $endDate;
@@ -44,14 +44,14 @@ class AccompanyingPeriodParticipation
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
* @Groups({"read"})
* @Groups({"read", "read:docgen"})
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=Person::class, inversedBy="accompanyingPeriodParticipations")
* @ORM\JoinColumn(name="person_id", referencedColumnName="id", nullable=false)
* @Groups({"read"})
* @Groups({"read", "read:docgen"})
*/
private $person;