<?phpnamespace App\Entity;use App\Repository\PopularListRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=PopularListRepository::class) */class PopularList{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $name; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $nameEn; /** * @ORM\Column(type="datetime", nullable=true) */ private $created_at; /** * @ORM\Column(type="integer", nullable=true) */ private $position; /** * @ORM\Column(type="boolean", nullable=true) */ private $active; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $id_item; 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 getNameEn(): ?string { return $this->nameEn; } public function setNameEn(?string $nameEn): self { $this->nameEn = $nameEn; return $this; } public function getCreatedAt(): ?\DateTimeInterface { return $this->created_at; } public function setCreatedAt(?\DateTimeInterface $created_at): self { $this->created_at = $created_at; return $this; } public function getPosition(): ?int { return $this->position; } public function setPosition(?int $position): self { $this->position = $position; return $this; } public function getActive(): ?bool { return $this->active; } public function setActive(?bool $active): self { $this->active = $active; return $this; } public function getIdItem(): ?string { return $this->id_item; } public function setIdItem(?string $id_item): self { $this->id_item = $id_item; return $this; }}