src/Entity/BusinessCategories.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\BusinessCategoriesRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassBusinessCategoriesRepository::class)]
  7. class BusinessCategories
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255nullabletrue)]
  14.     private ?string $business_category_name null;
  15.    
  16.     
  17.   #[ORM\Column(nullabletrue)]
  18.     private ?int $group_id null;
  19.     #[ORM\Column(nullabletrue)]
  20.     private ?int $statut null;
  21.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  22.     private ?string $seo null;
  23.     
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     public function getBusinessCategoryName(): ?string
  29.     {
  30.         return $this->business_category_name;
  31.     }
  32.     public function setBusinessCategoryName(?string $business_category_name): static
  33.     {
  34.         $this->business_category_name $business_category_name;
  35.         return $this;
  36.     }
  37.     public function getStatut(): ?int
  38.     {
  39.         return $this->statut;
  40.     }
  41.     public function setStatut(?int $statut): static
  42.     {
  43.         $this->statut $statut;
  44.         return $this;
  45.     }
  46.     
  47.     public function getGroupId(): ?int
  48.     {
  49.         return $this->group_id;
  50.     }
  51.     public function setGroupId(?int $group_id): static
  52.     {
  53.         $this->group_id $group_id;
  54.         return $this;
  55.     }
  56.     public function getSeo(): ?string
  57.     {
  58.         return $this->seo;
  59.     }
  60.     public function setSeo(?string $seo): static
  61.     {
  62.         $this->seo $seo;
  63.         return $this;
  64.     }
  65. }