rdv: correct entities with FQCN

This commit is contained in:
nobohan 2021-07-15 16:16:08 +02:00
parent 3010df2016
commit 38ec2b5de9
3 changed files with 10 additions and 10 deletions

View File

@ -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;

View File

@ -20,7 +20,7 @@ class CalendarRange
private $id;
/**
* @ORM\ManyToOne(targetEntity="User")
* @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\User")
*/
private User $user;

View File

@ -20,7 +20,7 @@ class Invite
private $id;
/**
* @ORM\ManyToOne(targetEntity="User")
* @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\User")
*/
private User $user;