src/Entity/LogoPA.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\LogoPARepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassLogoPARepository::class)]
  6. class LogoPA
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255)]
  13.     private ?string $name null;
  14.     #[ORM\Column(length255)]
  15.     private ?string $slug null;
  16.     #[ORM\Column(length255)]
  17.     private ?string $image null;
  18.     #[ORM\Column(length255)]
  19.     private ?string $description null;
  20.     #[ORM\Column]
  21.     private ?int $customerindex null;
  22.     #[ORM\Column]
  23.     private ?bool $active null;
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     public function getName(): ?string
  29.     {
  30.         return $this->name;
  31.     }
  32.     public function setName(string $name): static
  33.     {
  34.         $this->name $name;
  35.         return $this;
  36.     }
  37.     public function getSlug(): ?string
  38.     {
  39.         return $this->slug;
  40.     }
  41.     public function setSlug(string $slug): static
  42.     {
  43.         $this->slug $slug;
  44.         return $this;
  45.     }
  46.     public function getImage(): ?string
  47.     {
  48.         return $this->image;
  49.     }
  50.     public function setImage(string $image): static
  51.     {
  52.         $this->image $image;
  53.         return $this;
  54.     }
  55.     public function getDescription(): ?string
  56.     {
  57.         return $this->description;
  58.     }
  59.     public function setDescription(string $description): static
  60.     {
  61.         $this->description $description;
  62.         return $this;
  63.     }
  64.     public function getCustomerindex(): ?int
  65.     {
  66.         return $this->customerindex;
  67.     }
  68.     public function setCustomerindex(int $customerindex): static
  69.     {
  70.         $this->customerindex $customerindex;
  71.         return $this;
  72.     }
  73.     public function isActive(): ?bool
  74.     {
  75.         return $this->active;
  76.     }
  77.     public function setActive(bool $active): static
  78.     {
  79.         $this->active $active;
  80.         return $this;
  81.     }
  82. }