diff --git a/src/Bundle/ChillCalendarBundle/Entity/Calendar.php b/src/Bundle/ChillCalendarBundle/Entity/Calendar.php index 226a78634..9aacabcb1 100644 --- a/src/Bundle/ChillCalendarBundle/Entity/Calendar.php +++ b/src/Bundle/ChillCalendarBundle/Entity/Calendar.php @@ -30,24 +30,24 @@ class Calendar private $id; /** - * @ORM\ManyToOne(targetEntity="User") + * @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\User") */ private User $user; /** - * @ORM\ManyToOne(targetEntity="AccompanyingPeriod") + * @ORM\ManyToOne(targetEntity="Chill\PersonBundle\Entity\AccompanyingPeriod") */ private AccompanyingPeriod $accompanyingPeriod; /** - * @ORM\ManyToOne(targetEntity="User") + * @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\User") */ private User $mainUser; /** * * @ORM\ManyToMany( - * targetEntity="Person", + * targetEntity="Chill\PersonBundle\Entity\Person", * cascade={"persist", "remove", "merge", "detach"}) * @ORM\JoinTable(name="chill_calendar.calendar_to_persons") */ @@ -56,16 +56,16 @@ class Calendar /** * * @ORM\ManyToMany( - * targetEntity="Person", + * targetEntity="Chill\PersonBundle\Entity\Person", * cascade={"persist", "remove", "merge", "detach"}) - * @ORM\JoinTable(name="chill_calendar.calendar_to_persons") + * @ORM\JoinTable(name="chill_calendar.calendar_to_non_professionals") */ private Collection $nonProfessionals; /** * * @ORM\ManyToMany( - * targetEntity="ThirdParty", + * targetEntity="Chill\ThirdPartyBundle\Entity\ThirdParty", * cascade={"persist", "remove", "merge", "detach"}) * @ORM\JoinTable(name="chill_calendar.calendar_to_thirdparties") */ @@ -113,7 +113,7 @@ class Calendar private ?CalendarRange $calendarRange = null; /** - * @ORM\ManyToOne(targetEntity="Activity") + * @ORM\ManyToOne(targetEntity="Chill\ActivityBundle\Entity\Activity") */ private Activity $activity; diff --git a/src/Bundle/ChillCalendarBundle/Entity/CalendarRange.php b/src/Bundle/ChillCalendarBundle/Entity/CalendarRange.php index 62c1e943f..6663d2ff9 100644 --- a/src/Bundle/ChillCalendarBundle/Entity/CalendarRange.php +++ b/src/Bundle/ChillCalendarBundle/Entity/CalendarRange.php @@ -20,7 +20,7 @@ class CalendarRange private $id; /** - * @ORM\ManyToOne(targetEntity="User") + * @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\User") */ private User $user; diff --git a/src/Bundle/ChillCalendarBundle/Entity/Invite.php b/src/Bundle/ChillCalendarBundle/Entity/Invite.php index b8ff4f1f5..c1f792d7d 100644 --- a/src/Bundle/ChillCalendarBundle/Entity/Invite.php +++ b/src/Bundle/ChillCalendarBundle/Entity/Invite.php @@ -20,7 +20,7 @@ class Invite private $id; /** - * @ORM\ManyToOne(targetEntity="User") + * @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\User") */ private User $user;