src/Entity/LicenseStatus.php line 13
<?phpnamespace App\Entity;use ApiPlatform\Metadata\ApiResource;use App\Repository\LicenseStatusRepository;use Doctrine\ORM\Mapping as ORM;use Symfony\UX\Turbo\Attribute\Broadcast;#[ORM\Entity(repositoryClass: LicenseStatusRepository::class)]#[ApiResource]#[Broadcast]class LicenseStatus{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(inversedBy: 'licenseStatuses')]private ?Attendee $attendee = null;#[ORM\Column]private ?bool $active = null;#[ORM\ManyToOne(inversedBy: 'licenseStatuses')]private ?CourseLicense $courseLicense = null;public function getId(): ?int{return $this->id;}public function getAttendee(): ?Attendee{return $this->attendee;}public function setAttendee(?Attendee $attendee): self{$this->attendee = $attendee;return $this;}public function isActive(): ?bool{return $this->active;}public function setActive(bool $active): self{$this->active = $active;return $this;}public function getCourseLicense(): ?CourseLicense{return $this->courseLicense;}public function setCourseLicense(?CourseLicense $courseLicense): self{$this->courseLicense = $courseLicense;return $this;}}