<?phpnamespace App\Entity;use ApiPlatform\Metadata\ApiResource;use App\Repository\NotificationTokensRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: NotificationTokensRepository::class)]#[ApiResource]class NotificationTokens{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\ManyToOne(inversedBy: 'notificationTokens')] private ?Notification $notification = null; #[ORM\ManyToOne(inversedBy: 'notificationTokens')] private ?UserToken $token = null; #[ORM\Column(length: 100, nullable: true)] private ?string $status = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $description = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $error = null; #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] private ?\DateTimeInterface $dateEntered = null; public function getId(): ?int { return $this->id; } public function getNotification(): ?Notification { return $this->notification; } public function setNotification(?Notification $notification): static { $this->notification = $notification; return $this; } public function getToken(): ?UserToken { return $this->token; } public function setToken(?UserToken $token): static { $this->token = $token; return $this; } public function getStatus(): ?string { return $this->status; } public function setStatus(?string $status): static { $this->status = $status; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): static { $this->description = $description; return $this; } public function getError(): ?string { return $this->error; } public function setError(?string $error): static { $this->error = $error; return $this; } public function getDateEntered(): ?\DateTimeInterface { return $this->dateEntered; } public function setDateEntered(?\DateTimeInterface $dateEntered): static { $this->dateEntered = $dateEntered; return $this; }}