<?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(strategy: 'IDENTITY')] #[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; #[ORM\Column(length: 255, nullable: true)] private ?string $firebaseId = null; #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] private ?\DateTimeInterface $firebaseStatusRecived = null; #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] private ?\DateTimeInterface $fireBaseStatusRead = 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; } public function getFirebaseId(): ?string { return $this->firebaseId; } public function setFirebaseId(?string $firebaseId): static { $this->firebaseId = $firebaseId; return $this; } public function getFirebaseStatusRecived(): ?\DateTimeInterface { return $this->firebaseStatusRecived; } public function setFirebaseStatusRecived(?\DateTimeInterface $firebaseStatusRecived): static { $this->firebaseStatusRecived = $firebaseStatusRecived; return $this; } public function getFireBaseStatusRead(): ?\DateTimeInterface { return $this->fireBaseStatusRead; } public function setFireBaseStatusRead(?\DateTimeInterface $fireBaseStatusRead): static { $this->fireBaseStatusRead = $fireBaseStatusRead; return $this; }}