handling sync for calendar invite

This commit is contained in:
2022-06-08 13:06:31 +02:00
parent c329862e96
commit e75b258e44
9 changed files with 254 additions and 4 deletions

View File

@@ -21,11 +21,20 @@ use LogicException;
use Symfony\Component\Serializer\Annotation as Serializer;
/**
* @ORM\Table(name="chill_calendar.invite")
* An invitation for another user to a Calendar.
*
* The event/calendar in the user may have a different id than the mainUser. We add then fields to store the
* remote id of this event in the remote calendar.
*
* @ORM\Table(name="chill_calendar.invite", indexes={
* @ORM\Index(name="idx_calendar_invite_remote", columns={"remoteId"})
* })
* @ORM\Entity
*/
class Invite implements TrackUpdateInterface, TrackCreationInterface
{
use RemoteCalendarTrait;
use TrackCreationTrait;
use TrackUpdateTrait;