UserCourseSessionGroup.php 727 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * CItemProperty
  6. *
  7. */
  8. class UserCourseSessionGroup
  9. {
  10. /**
  11. * @ORM\ManyToOne(targetEntity="Course", inversedBy="userCourseSessionGroup")
  12. * @ORM\JoinColumn(name="id", referencedColumnName="id", nullable=false)
  13. */
  14. private $course;
  15. /**
  16. * @ORM\@ManyToOne(targetEntity="User", inversedBy="userCourseSessionGroup")
  17. * @ORM\JoinColumn(name="user_id", referencedColumnName="user_id", nullable=false)
  18. */
  19. private $user;
  20. /**
  21. * @ORM\ManyToOne(targetEntity="Events", inversedBy="userCourseSessionGroup")
  22. * @ORM\JoinColumn(name="event_id", referencedColumnName="id", nullable=false)
  23. */
  24. //private $session;
  25. }