|
|
|
|
@ -13,10 +13,10 @@ use Doctrine\ORM\Mapping as ORM; |
|
|
|
|
/** |
|
|
|
|
* @ORM\Table(name="agenda_event_invitation") |
|
|
|
|
* Add @ to the next lineactivating the agenda_collective_invitations configuration setting. |
|
|
|
|
* ORM\Entity() |
|
|
|
|
* ORM\InheritanceType("SINGLE_TABLE") |
|
|
|
|
* ORM\DiscriminatorColumn(name="type", type="string") |
|
|
|
|
* ORM\DiscriminatorMap({ |
|
|
|
|
* @ORM\Entity() |
|
|
|
|
* @ORM\InheritanceType("SINGLE_TABLE") |
|
|
|
|
* @ORM\DiscriminatorColumn(name="type", type="string") |
|
|
|
|
* @ORM\DiscriminatorMap({ |
|
|
|
|
* "invitation" = "Chamilo\CoreBundle\Entity\AgendaEventInvitation", |
|
|
|
|
* "subscription" = "Chamilo\CoreBundle\Entity\AgendaEventSubscription" |
|
|
|
|
* }) |
|
|
|
|
@ -37,7 +37,8 @@ class AgendaEventInvitation |
|
|
|
|
/** |
|
|
|
|
* @var Collection<int, AgendaEventInvitee> |
|
|
|
|
* |
|
|
|
|
* @ORM\OneToMany(targetEntity="AgendaEventInvitee", mappedBy="invitation", cascade={"persist", "remove"}, orphanRemoval=true) |
|
|
|
|
* @ORM\OneToMany(targetEntity="AgendaEventInvitee", mappedBy="invitation", cascade={"persist", "remove"}, |
|
|
|
|
* orphanRemoval=true) |
|
|
|
|
*/ |
|
|
|
|
protected $invitees; |
|
|
|
|
|
|
|
|
|
|