<?phpnamespace App\Entity;use App\Repository\TagRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=TagRepository::class) */class Tag{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255) */ private $name; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $label; /** * @ORM\ManyToOne(targetEntity=Theme::class, inversedBy="tags") */ private $theme; /** * @ORM\Column(type="string", length=255) */ private $idYouscribeTag; public function getId(): ?int { return $this->id; } public function getName(): ?string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function getLabel(): ?string { return $this->label; } public function setLabel(?string $label): self { $this->label = $label; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): self { $this->description = $description; return $this; } public function getTheme(): ?Theme { return $this->theme; } public function setTheme(?Theme $theme): self { $this->theme = $theme; return $this; } public function getIdYouscribeTag(): ?string { return $this->idYouscribeTag; } public function setIdYouscribeTag(string $idYouscribeTag): self { $this->idYouscribeTag = $idYouscribeTag; return $this; }}