src/Entity/LiveParticipant.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\LiveParticipantRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=LiveParticipantRepository::class)
  7. */
  8. class LiveParticipant
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\GeneratedValue
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\ManyToOne(targetEntity=Live::class, inversedBy="liveParticipants")
  18. */
  19. private $live;
  20. /**
  21. * @ORM\ManyToOne(targetEntity=User::class, inversedBy="liveParticipants")
  22. */
  23. private $participant;
  24. /**
  25. * @ORM\Column(type="datetime")
  26. */
  27. private $startAt;
  28. /**
  29. * @ORM\Column(type="datetime", nullable=true)
  30. */
  31. private $endAt;
  32. /**
  33. * @ORM\Column(type="string", length=255)
  34. */
  35. private $jitsiId;
  36. /**
  37. * @ORM\Column(type="string", length=255, nullable=true)
  38. */
  39. private $jitsiDisplayName;
  40. /**
  41. * @ORM\Column(type="string", length=255, nullable=true)
  42. */
  43. private $jitsiFormattedDisplayName;
  44. public function getId(): ?int
  45. {
  46. return $this->id;
  47. }
  48. public function getLive(): ?Live
  49. {
  50. return $this->live;
  51. }
  52. public function setLive(?Live $live): self
  53. {
  54. $this->live = $live;
  55. return $this;
  56. }
  57. public function getParticipant(): ?User
  58. {
  59. return $this->participant;
  60. }
  61. public function setParticipant(?User $participant): self
  62. {
  63. $this->participant = $participant;
  64. return $this;
  65. }
  66. public function getStartAt(): ?\DateTimeInterface
  67. {
  68. return $this->startAt;
  69. }
  70. public function setStartAt(\DateTimeInterface $startAt): self
  71. {
  72. $this->startAt = $startAt;
  73. return $this;
  74. }
  75. public function getEndAt(): ?\DateTimeInterface
  76. {
  77. return $this->endAt;
  78. }
  79. public function setEndAt(?\DateTimeInterface $endAt): self
  80. {
  81. $this->endAt = $endAt;
  82. return $this;
  83. }
  84. public function getJitsiId(): ?string
  85. {
  86. return $this->jitsiId;
  87. }
  88. public function setJitsiId(string $jitsiId): self
  89. {
  90. $this->jitsiId = $jitsiId;
  91. return $this;
  92. }
  93. public function getJitsiDisplayName(): ?string
  94. {
  95. return $this->jitsiDisplayName;
  96. }
  97. public function setJitsiDisplayName(?string $jitsiDisplayName): self
  98. {
  99. $this->jitsiDisplayName = $jitsiDisplayName;
  100. return $this;
  101. }
  102. public function getJitsiFormattedDisplayName(): ?string
  103. {
  104. return $this->jitsiFormattedDisplayName;
  105. }
  106. public function setJitsiFormattedDisplayName(?string $jitsiFormattedDisplayName): self
  107. {
  108. $this->jitsiFormattedDisplayName = $jitsiFormattedDisplayName;
  109. return $this;
  110. }
  111. }