src/Entity/Team.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TeamRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassTeamRepository::class)]
  7. class Team
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $name null;
  15.     #[ORM\Column(typeTypes::TEXT)]
  16.     private ?string $description null;
  17.     #[ORM\Column(length255)]
  18.     private ?string $illustration null;
  19.     #[ORM\Column]
  20.     private ?bool $header null;
  21.     #[ORM\Column(length255)]
  22.     private ?string $slug null;
  23.     #[ORM\Column(length255)]
  24.     private ?string $role null;
  25.     
  26.     
  27.     #[ORM\Column(length255nullabletrue)]
  28.     private ?string $gallery null;
  29.     #[ORM\Column(length255nullabletrue)]
  30.     private ?string $gallery2 null;
  31.     #[ORM\Column(length255nullabletrue)]
  32.     private ?string $gallery3 null;
  33.     #[ORM\Column(length255nullabletrue)]
  34.     private ?string $gallery4 null;
  35.     #[ORM\Column(length255nullabletrue)]
  36.     private ?string $gallery5 null;
  37.     #[ORM\Column(length255nullabletrue)]
  38.     private ?string $gallery6 null;
  39.     public function getId(): ?int
  40.     {
  41.         return $this->id;
  42.     }
  43.     public function getName(): ?string
  44.     {
  45.         return $this->name;
  46.     }
  47.     public function setName(string $name): self
  48.     {
  49.         $this->name $name;
  50.         return $this;
  51.     }
  52.     public function getDescription(): ?string
  53.     {
  54.         return $this->description;
  55.     }
  56.     public function setDescription(string $description): self
  57.     {
  58.         $this->description $description;
  59.         return $this;
  60.     }
  61.     public function getIllustration(): ?string
  62.     {
  63.         return $this->illustration;
  64.     }
  65.     public function setIllustration(string $illustration): self
  66.     {
  67.         $this->illustration $illustration;
  68.         return $this;
  69.     }
  70.     public function isHeader(): ?bool
  71.     {
  72.         return $this->header;
  73.     }
  74.     public function setHeader(bool $header): self
  75.     {
  76.         $this->header $header;
  77.         return $this;
  78.     }
  79.     public function getSlug(): ?string
  80.     {
  81.         return $this->slug;
  82.     }
  83.     public function setSlug(string $slug): self
  84.     {
  85.         $this->slug $slug;
  86.         return $this;
  87.     }
  88.     
  89.     public function getRole(): ?string
  90.     {
  91.         return $this->role;
  92.     }
  93.     public function setRole(string $role): self
  94.     {
  95.         $this->role $role;
  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.     }
  143.     public function getGallery6(): ?string
  144.     {
  145.         return $this->gallery6;
  146.     }
  147.     public function setGallery6(?string $gallery6): self
  148.     {
  149.         $this->gallery6 $gallery6;
  150.         return $this;
  151.     }
  152. }