src/Entity/BusinessCategoryGroup.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\BusinessCategoryGroupRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassBusinessCategoryGroupRepository::class)]
  7. class BusinessCategoryGroup
  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(length50)]
  16.     private ?string $slug null;
  17.     #[ORM\Column(length255nullabletrue)]
  18.     private ?string $banner_v null;
  19.     #[ORM\Column(nullabletrue)]
  20.     private ?int $id_client_v null;
  21.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  22.     private ?string $article null;
  23.     public function getId(): ?int
  24.     {
  25.         return $this->id;
  26.     }
  27.     public function getName(): ?string
  28.     {
  29.         return $this->name;
  30.     }
  31.     public function setName(string $name): static
  32.     {
  33.         $this->name $name;
  34.         return $this;
  35.     }
  36.     public function getSlug(): ?string
  37.     {
  38.         return $this->slug;
  39.     }
  40.     public function setSlug(string $slug): static
  41.     {
  42.         $this->slug $slug;
  43.         return $this;
  44.     }
  45.     public function getBannerV(): ?string
  46.     {
  47.         return $this->banner_v;
  48.     }
  49.     public function setBannerV(?string $banner_v): static
  50.     {
  51.         $this->banner_v $banner_v;
  52.         return $this;
  53.     }
  54.     public function getIdClientV(): ?int
  55.     {
  56.         return $this->id_client_v;
  57.     }
  58.     public function setIdClientV(?int $id_client_v): static
  59.     {
  60.         $this->id_client_v $id_client_v;
  61.         return $this;
  62.     }
  63.     public function getArticle(): ?string
  64.     {
  65.         return $this->article;
  66.     }
  67.     public function setArticle(?string $article): static
  68.     {
  69.         $this->article $article;
  70.         return $this;
  71.     }
  72. }