src/Entity/Partner.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PartnerRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassPartnerRepository::class)]
  7. class Partner
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255nullabletrue)]
  14.     private ?string $name null;
  15.     #[ORM\Column(length255nullabletrue)]
  16.     private ?string $illustration null;
  17.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  18.     private ?string $description null;
  19.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  20.     private ?string $contact null;
  21.     
  22.     #[ORM\Column(length255)]
  23.     private ?string $btnTitle null;
  24.     #[ORM\Column(length255)]
  25.     private ?string $btnUrl null;
  26.     #[ORM\Column(length255nullabletrue)]
  27.     private ?string $gallery null;
  28.     #[ORM\Column(length255nullabletrue)]
  29.     private ?string $gallery2 null;
  30.     #[ORM\Column(length255nullabletrue)]
  31.     private ?string $gallery3 null;
  32.     #[ORM\Column(length255nullabletrue)]
  33.     private ?string $gallery4 null;
  34.     #[ORM\Column(length255nullabletrue)]
  35.     private ?string $gallery5 null;
  36.     #[ORM\Column(length255nullabletrue)]
  37.     private ?string $gallery6 null;
  38.     #[ORM\Column(length255)]
  39.     private ?string $slug null;
  40.     public function getId(): ?int
  41.     {
  42.         return $this->id;
  43.     }
  44.     public function getName(): ?string
  45.     {
  46.         return $this->name;
  47.     }
  48.     public function setName(?string $name): self
  49.     {
  50.         $this->name $name;
  51.         return $this;
  52.     }
  53.     public function getIllustration(): ?string
  54.     {
  55.         return $this->illustration;
  56.     }
  57.     public function setIllustration(?string $illustration): self
  58.     {
  59.         $this->illustration $illustration;
  60.         return $this;
  61.     }
  62.     public function getDescription(): ?string
  63.     {
  64.         return $this->description;
  65.     }
  66.     public function setDescription(?string $description): self
  67.     {
  68.         $this->description $description;
  69.         return $this;
  70.     }
  71.     public function getContact(): ?string
  72.     {
  73.         return $this->contact;
  74.     }
  75.     public function setContact(?string $contact): self
  76.     {
  77.         $this->contact $contact;
  78.         return $this;
  79.     }
  80.     public function getBtnTitle(): ?string
  81.     {
  82.         return $this->btnTitle;
  83.     }
  84.     public function setBtnTitle(string $btnTitle): self
  85.     {
  86.         $this->btnTitle $btnTitle;
  87.         return $this;
  88.     }
  89.     public function getBtnUrl(): ?string
  90.     {
  91.         return $this->btnUrl;
  92.     }
  93.     public function setBtnUrl(string $btnUrl): self
  94.     {
  95.         $this->btnUrl $btnUrl;
  96.         return $this;
  97.     }
  98.     public function getGallery(): ?string
  99.     {
  100.         return $this->gallery;
  101.     }
  102.     public function setGallery(?string $gallery): self
  103.     {
  104.         $this->gallery $gallery;
  105.         return $this;
  106.     }
  107.     public function getGallery2(): ?string
  108.     {
  109.         return $this->gallery2;
  110.     }
  111.     public function setGallery2(?string $gallery2): self
  112.     {
  113.         $this->gallery2 $gallery2;
  114.         return $this;
  115.     }
  116.     public function getGallery3(): ?string
  117.     {
  118.         return $this->gallery3;
  119.     }
  120.     public function setGallery3(?string $gallery3): self
  121.     {
  122.         $this->gallery3 $gallery3;
  123.         return $this;
  124.     }
  125.     public function getGallery4(): ?string
  126.     {
  127.         return $this->gallery4;
  128.     }
  129.     public function setGallery4(?string $gallery4): self
  130.     {
  131.         $this->gallery4 $gallery4;
  132.         return $this;
  133.     }
  134.     public function getGallery5(): ?string
  135.     {
  136.         return $this->gallery5;
  137.     }
  138.     public function setGallery5(?string $gallery5): self
  139.     {
  140.         $this->gallery5 $gallery5;
  141.         return $this;
  142.     }    public function getGallery6(): ?string
  143.     {
  144.         return $this->gallery6;
  145.     }
  146.     public function setGallery6(?string $gallery6): self
  147.     {
  148.         $this->gallery6 $gallery6;
  149.         return $this;
  150.     }
  151.     public function getSlug(): ?string
  152.     {
  153.         return $this->slug;
  154.     }
  155.     public function setSlug(string $slug): self
  156.     {
  157.         $this->slug $slug;
  158.         return $this;
  159.     }
  160. }