src/Entity/Blacklist.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\BlacklistRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassBlacklistRepository::class)]
  6. class Blacklist
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(type'text'length65535nullable:true)]
  13.     private ?string $token null;
  14.     public function getId(): ?int
  15.     {
  16.         return $this->id;
  17.     }
  18.     public function getToken(): ?string
  19.     {
  20.         return $this->token;
  21.     }
  22.     public function setToken(?string $token): self
  23.     {
  24.         $this->token $token;
  25.         return $this;
  26.     }
  27. }