src/Entity/NotifPodcast.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\NotifPodcastRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassNotifPodcastRepository::class)]
  6. class NotifPodcast
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length255)]
  13.     private $name;
  14.     #[ORM\Column(type'string'length255)]
  15.     private $email;
  16.     #[ORM\Column(type'string'length255nullabletrue)]
  17.     private $afid;
  18.     public function getId(): ?int
  19.     {
  20.         return $this->id;
  21.     }
  22.     public function getName(): ?string
  23.     {
  24.         return $this->name;
  25.     }
  26.     public function setName(string $name): self
  27.     {
  28.         $this->name $name;
  29.         return $this;
  30.     }
  31.     public function getEmail(): ?string
  32.     {
  33.         return $this->email;
  34.     }
  35.     public function setEmail(string $email): self
  36.     {
  37.         $this->email $email;
  38.         return $this;
  39.     }
  40.     public function getAfid(): ?string
  41.     {
  42.         return $this->afid;
  43.     }
  44.     public function setAfid(?string $afid): self
  45.     {
  46.         $this->afid $afid;
  47.         return $this;
  48.     }
  49. }